public class ProxyCustomizer extends Object implements HttpConfiguration.Customizer
Customizer that extracts the real local and remote address:port pairs from a ProxyConnectionFactory
and sets them on the request with ServletRequest.setAttribute(String, Object).
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCAL_ADDRESS_ATTRIBUTE_NAME
The local address attribute name.
|
static String |
LOCAL_PORT_ATTRIBUTE_NAME
The local port attribute name.
|
static String |
REMOTE_ADDRESS_ATTRIBUTE_NAME
The remote address attribute name.
|
static String |
REMOTE_PORT_ATTRIBUTE_NAME
The remote port attribute name.
|
| Constructor and Description |
|---|
ProxyCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
customize(Connector connector,
HttpConfiguration channelConfig,
Request request) |
public static final String REMOTE_ADDRESS_ATTRIBUTE_NAME
public static final String REMOTE_PORT_ATTRIBUTE_NAME
public static final String LOCAL_ADDRESS_ATTRIBUTE_NAME
public static final String LOCAL_PORT_ATTRIBUTE_NAME
public void customize(Connector connector, HttpConfiguration channelConfig, Request request)
customize in interface HttpConfiguration.CustomizerCopyright © 2010 - 2020 Adobe. All Rights Reserved