| Interface | Description |
|---|---|
| Initable | |
| MiltonConfigurator |
Implement this to customise how the HttpManager is created in the servlet
|
| Class | Description |
|---|---|
| Config |
Provides a common interface for servlet and filter configuration
|
| DavEnabledDispatcherServlet |
Subclasses 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.
|
| DefaultMiltonConfigurator |
The default means of configuring milton's HttpManager.
|
| FileItemWrapper | |
| FilterConfigWrapper | |
| InitableMultipleResourceFactory | |
| MiltonController |
IMPORTANT !!!!!!!!!!!
|
| MiltonFilter | |
| MiltonServlet |
MiltonServlet is a thin wrapper around HttpManager.
|
| MiltonUtils | |
| OutputStreamWrappingHttpServletResponse | |
| ServletConfigWrapper | |
| ServletMappedPathResourceFactory |
For any requests which match the mapping path, the request is handled by
simply including a servlet resource at that path
|
| ServletRequest | |
| ServletResource |
Used to provide access to servlet resources via milton.
|
| ServletResourceFactory |
Provides access to servlet resources (ie files defined within the folder
which contains WEB-INF) in a milton friendly resource factory
|
| ServletResponse | |
| SpringAwareMiltonServlet |
MiltonServlet is a thin wrapper around HttpManager.
|
| SpringMiltonFilter |
Loads the spring context either from a spring configuration XML file or a
spring @Configuration class.
|
| SpringResourceFactoryFactory |
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.xml
<servlet>
<servlet-name>milton</servlet-name>
<servlet-class>io.milton.http.MiltonServlet</servlet-class>
<init-param>
<param-name>resource.factory.factory.class</param-name>
<param-value>io.milton.http.SpringResourceFactoryFactory</param-value>
</init-param>
</servlet>
Example applicationContext.xml
{@code
|
| StaticResource |
Used to provide access to static files via Milton
For a full implementation of webdav on a filesystem use the milton-filesysten
project
|
| StaticResourceFactory |
Used for providing simple readonly access to resources which are files in a
conventional file system.
|
| StaticResourceFilter | |
| UrlResource | |
| WebResourceFactory |
Provides access to resources exposed by the servlet context.
|
Copyright © 2021 McEvoy Software Ltd. All rights reserved.