Package org.eclipse.jetty.server
Interface HttpConfiguration.Customizer
-
- All Known Implementing Classes:
ForwardedRequestCustomizer
,HostHeaderCustomizer
,ProxyCustomizer
,RewriteCustomizer
,SecureRequestCustomizer
- Enclosing class:
- HttpConfiguration
public static interface HttpConfiguration.Customizer
An interface that allows a request object to be customized for a particular HTTP connector configuration. Unlike Filters, customizer are applied before the request is submitted for processing and can be specific to the connector on which the request was received.
Typically Customizers perform tasks such as:
- process header fields that may be injected by a proxy or load balancer.
- setup attributes that may come from the connection/connector such as SSL Session IDs
- Allow a request to be marked as secure or authenticated if those have been offloaded and communicated by header, cookie or other out-of-band mechanism
- Set request attributes/fields that are determined by the connector on which the request was received
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
customize(Connector connector, HttpConfiguration channelConfig, Request request)
-
-
-
Method Detail
-
customize
void customize(Connector connector, HttpConfiguration channelConfig, Request request)
-
-