Package org.eclipse.jetty.server
Class ProxyCustomizer
java.lang.Object
org.eclipse.jetty.server.ProxyCustomizer
- All Implemented Interfaces:
HttpConfiguration.Customizer
Customizer that extracts the real local and remote address:port pairs from a ProxyConnectionFactory
and sets them on the request with Attributes.setAttribute(String, Object)
.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
REMOTE_ADDRESS_ATTRIBUTE_NAME
The remote address attribute name.- See Also:
-
REMOTE_PORT_ATTRIBUTE_NAME
The remote port attribute name.- See Also:
-
LOCAL_ADDRESS_ATTRIBUTE_NAME
The local address attribute name.- See Also:
-
LOCAL_PORT_ATTRIBUTE_NAME
The local port attribute name.- See Also:
-
-
Constructor Details
-
ProxyCustomizer
public ProxyCustomizer()
-
-
Method Details
-
customize
- Specified by:
customize
in interfaceHttpConfiguration.Customizer
-