Package org.eclipse.equinox.http.jetty
Class JettyCustomizer
java.lang.Object
org.eclipse.equinox.http.jetty.JettyCustomizer
Jetty Customizer allows one to customize Jetty contexts and connectors.
 
This abstract class must be extended by clients which wish to customize the created Jetty contexts or connectors further.
- Since:
- 1.1
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncustomizeContext(Object context, Dictionary<String, ?> settings) Called by the framework when the Jetty context has been created and initialized.customizeHttpConnector(Object connector, Dictionary<String, ?> settings) Called by the framework when the Jetty Http Connector has been created and initialized.customizeHttpsConnector(Object connector, Dictionary<String, ?> settings) Called by the framework when the Jetty Https Connector has been created and initialized.
- 
Constructor Details- 
JettyCustomizerpublic JettyCustomizer()
 
- 
- 
Method Details- 
customizeContextCalled by the framework when the Jetty context has been created and initialized.Implementors may perform additional configuration of the Jetty context. However, they must be aware that changing certain central functionalities of the context such as class loading are already configured by the framework. Changing those may cause breakage and thus must be avoided. - Parameters:
- context- the Jetty context; in case of Jetty 7 the context is of type- org.eclipse.jetty.servlet.ServletContextHandler
- settings- the settings as passed to- JettyConfigurator.startServer(String, Dictionary)
- Returns:
- context the customized context; in case of Jetty 7 the context is of
         type org.eclipse.jetty.servlet.ServletContextHandler
 
- 
customizeHttpConnectorCalled by the framework when the Jetty Http Connector has been created and initialized.Implementors may perform additional configuration of the Jetty Connector. - Parameters:
- connector- the Jetty connector; in case of Jetty 7 the context is of type- org.eclipse.jetty.server.Connector
- settings- the settings as passed to- JettyConfigurator.startServer(String, Dictionary)
- Returns:
- connector the customized connector; in case of Jetty 6 the connector
         is of type org.eclipse.jetty.server.Connector
 
- 
customizeHttpsConnectorCalled by the framework when the Jetty Https Connector has been created and initialized.Implementors may perform additional configuration of the Jetty Connector. - Parameters:
- connector- the Jetty connector; in case of Jetty 7 the connector is of type- oorg.eclipse.jetty.server.Connector
- settings- the settings as passed to- JettyConfigurator.startServer(String, Dictionary)
- Returns:
- connector the customized connector; in case of Jetty 7 the connector
         is of type org.eclipse.jetty.server.Connector
 
 
-