Package io.milton.servlet
package io.milton.servlet
-
ClassDescriptionProvides a common interface for servlet and filter configurationSubclasses DispatcherServlet to override logic which filters out requests for webdav methods such as PROPFIND I don't know what the spring guys were thinking when they decided to do that, but at least they made it easy to override.The default means of configuring milton's HttpManager.Implement this to customise how the HttpManager is created in the servletIMPORTANT !!!!!!!!!!!MiltonServlet is a thin wrapper around HttpManager.For any requests which match the mapping path, the request is handled by simply including a servlet resource at that pathUsed to provide access to servlet resources via milton.Provides access to servlet resources (ie files defined within the folder which contains WEB-INF) in a milton friendly resource factoryMiltonServlet is a thin wrapper around HttpManager.Loads the spring context either from a spring configuration XML file or a spring @Configuration class.Specify this class name in your init parameter: resource.factory.factory.class This will load applicationContext.xml from the classpath and use that to load the ResourceFactory from bean id: milton.resource.factory Example web.xmlUsed to provide access to static files via Milton For a full implementation of webdav on a filesystem use the milton-filesysten projectUsed for providing simple readonly access to resources which are files in a conventional file system.Provides access to resources exposed by the servlet context.