public final class HttpContextKeys
extends Object
ContextMap.Key(s) defined for HTTP.| Modifier and Type | Field and Description |
|---|---|
static ContextMap.Key<HttpExecutionStrategy> |
HTTP_EXECUTION_STRATEGY_KEY
Allows using a custom
HttpExecutionStrategy for the HTTP message execution, when present in the meta-data
context. |
static ContextMap.Key<Object> |
HTTP_TARGET_ADDRESS_BEHIND_PROXY
When opening a connection to a proxy, this key tells what is the actual (unresolved) target address behind the
proxy this connection will be established to.
|
public static final ContextMap.Key<HttpExecutionStrategy> HTTP_EXECUTION_STRATEGY_KEY
HttpExecutionStrategy for the HTTP message execution, when present in the meta-data
context. Otherwise, an automatically inferred strategy will be used by a client
or server.public static final ContextMap.Key<Object> HTTP_TARGET_ADDRESS_BEHIND_PROXY
To distinguish between a
secure
HTTP proxy tunneling and a clear text HTTP proxy, check presence of ConnectionInfo.sslConfig().