Package com.vaadin.flow.server
Interface StaticFileHandlerFactory
public interface StaticFileHandlerFactory
A factory to create a
StaticFileHandler
.- Since:
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptioncreateHandler
(VaadinService service) Creates a new instance ofStaticFileHandler
for the givenservice
.
-
Method Details
-
createHandler
Creates a new instance ofStaticFileHandler
for the givenservice
.- Parameters:
service
- aVaadinServletService
instance- Returns:
- a new
StaticFileHandler
instance for theservice
-