public class HttpCacheContext
extends org.apache.http.client.protocol.HttpClientContext
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CACHE_RESPONSE_STATUS |
This is the name under which the
CacheResponseStatus of a request
(for example, whether it resulted in a cache hit) will be recorded if an
HttpContext is provided during execution. |
| Constructor | Description |
|---|---|
HttpCacheContext() |
|
HttpCacheContext(org.apache.http.protocol.HttpContext context) |
| Modifier and Type | Method | Description |
|---|---|---|
static HttpCacheContext |
adapt(org.apache.http.protocol.HttpContext context) |
|
static HttpCacheContext |
create() |
|
CacheResponseStatus |
getCacheResponseStatus() |
getAuthCache, getAuthSchemeRegistry, getCookieOrigin, getCookieSpec, getCookieSpecRegistry, getCookieStore, getCredentialsProvider, getHttpRoute, getProxyAuthState, getRedirectLocations, getRequestConfig, getTargetAuthState, getUserToken, getUserToken, setAuthCache, setAuthSchemeRegistry, setCookieSpecRegistry, setCookieStore, setCredentialsProvider, setRequestConfig, setUserTokenpublic static final java.lang.String CACHE_RESPONSE_STATUS
CacheResponseStatus of a request
(for example, whether it resulted in a cache hit) will be recorded if an
HttpContext is provided during execution.public HttpCacheContext(org.apache.http.protocol.HttpContext context)
public HttpCacheContext()
public static HttpCacheContext adapt(org.apache.http.protocol.HttpContext context)
public static HttpCacheContext create()
public CacheResponseStatus getCacheResponseStatus()