| Package | Description |
|---|---|
| io.milton.servlet |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultMiltonConfigurator
The default means of configuring milton's HttpManager.
|
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
|
| Modifier and Type | Field and Description |
|---|---|
protected MiltonConfigurator |
MiltonFilter.configurator |
protected MiltonConfigurator |
MiltonServlet.configurator |
protected MiltonConfigurator |
MiltonServlet.configurator |
protected MiltonConfigurator |
MiltonFilter.configurator |
Copyright © 2021 McEvoy Software Ltd. All rights reserved.