Package io.milton.servlet
Class ServletMappedPathResourceFactory
java.lang.Object
io.milton.servlet.ServletMappedPathResourceFactory
- All Implemented Interfaces:
ResourceFactory
For any requests which match the mapping path, the request is handled by
simply including a servlet resource at that path
- Author:
- brad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResource(String host, String path) voidsetBasePath(String basePath)
-
Constructor Details
-
ServletMappedPathResourceFactory
public ServletMappedPathResourceFactory()
-
-
Method Details
-
getResource
- Specified by:
getResourcein interfaceResourceFactory
-
getBasePath
-
setBasePath
-