org.eclipse.equinox.http.jetty
public abstract class JettyCustomizer extends Object
This abstract class must be extended by clients which wish to customize the created Jetty contexts or connectors further.
| Constructor and Description |
|---|
JettyCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
customizeContext(Object context,
Dictionary settings)
Called by the framework when the Jetty context has been created
and initialized.
|
Object |
customizeHttpConnector(Object connector,
Dictionary settings)
Called by the framework when the Jetty Http Connector has been created
and initialized.
|
Object |
customizeHttpsConnector(Object connector,
Dictionary settings)
Called by the framework when the Jetty Https Connector has been created
and initialized.
|
public Object customizeContext(Object context, Dictionary settings)
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.
context - the Jetty context; in case of Jetty 6 the context is of
type org.mortbay.jetty.servlet.Contextsettings - the settings as passed to JettyConfigurator.startServer(String, Dictionary)org.mortbay.jetty.servlet.Contextpublic Object customizeHttpConnector(Object connector, Dictionary settings)
Implementors may perform additional configuration of the Jetty Connector.
connector - the Jetty connector; in case of Jetty 6 the context is of
type org.mortbay.jetty.Connectorsettings - the settings as passed to JettyConfigurator.startServer(String, Dictionary)org.mortbay.jetty.Connectorpublic Object customizeHttpsConnector(Object connector, Dictionary settings)
Implementors may perform additional configuration of the Jetty Connector.
connector - the Jetty connector; in case of Jetty 6 the connector is of
type org.mortbay.jetty.Connectorsettings - the settings as passed to JettyConfigurator.startServer(String, Dictionary)org.mortbay.jetty.ConnectorGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.