Package org.eclipse.jetty.server
Class ProxyCustomizer
- java.lang.Object
-
- org.eclipse.jetty.server.ProxyCustomizer
-
- All Implemented Interfaces:
HttpConfiguration.Customizer
@Deprecated(since="2021-05-27") public class ProxyCustomizer extends java.lang.Object implements HttpConfiguration.Customizer
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Customizer that extracts the real local and remote address:port pairs from a
ProxyConnectionFactoryand sets them on the request withServletRequest.setAttribute(String, Object).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringLOCAL_ADDRESS_ATTRIBUTE_NAMEDeprecated.The local address attribute name.static java.lang.StringLOCAL_PORT_ATTRIBUTE_NAMEDeprecated.The local port attribute name.static java.lang.StringREMOTE_ADDRESS_ATTRIBUTE_NAMEDeprecated.The remote address attribute name.static java.lang.StringREMOTE_PORT_ATTRIBUTE_NAMEDeprecated.The remote port attribute name.
-
Constructor Summary
Constructors Constructor Description ProxyCustomizer()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcustomize(Connector connector, HttpConfiguration channelConfig, Request request)Deprecated.
-
-
-
Field Detail
-
REMOTE_ADDRESS_ATTRIBUTE_NAME
public static final java.lang.String REMOTE_ADDRESS_ATTRIBUTE_NAME
Deprecated.The remote address attribute name.- See Also:
- Constant Field Values
-
REMOTE_PORT_ATTRIBUTE_NAME
public static final java.lang.String REMOTE_PORT_ATTRIBUTE_NAME
Deprecated.The remote port attribute name.- See Also:
- Constant Field Values
-
LOCAL_ADDRESS_ATTRIBUTE_NAME
public static final java.lang.String LOCAL_ADDRESS_ATTRIBUTE_NAME
Deprecated.The local address attribute name.- See Also:
- Constant Field Values
-
LOCAL_PORT_ATTRIBUTE_NAME
public static final java.lang.String LOCAL_PORT_ATTRIBUTE_NAME
Deprecated.The local port attribute name.- See Also:
- Constant Field Values
-
-
Method Detail
-
customize
public void customize(Connector connector, HttpConfiguration channelConfig, Request request)
Deprecated.- Specified by:
customizein interfaceHttpConfiguration.Customizer
-
-