public class HttpCacheContext extends HttpClientContext
| Modifier and Type | Field and Description |
|---|---|
static 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. |
AUTH_CACHE, AUTHSCHEME_REGISTRY, COOKIE_ORIGIN, COOKIE_SPEC, COOKIE_STORE, COOKIESPEC_REGISTRY, CREDS_PROVIDER, HTTP_ROUTE, PROXY_AUTH_STATE, REDIRECT_LOCATIONS, REQUEST_CONFIG, TARGET_AUTH_STATE, USER_TOKENHTTP_CONNECTION, HTTP_REQ_SENT, HTTP_REQUEST, HTTP_RESPONSE, HTTP_TARGET_HOSTRESERVED_PREFIX| Constructor and Description |
|---|
HttpCacheContext() |
HttpCacheContext(HttpContext context) |
| Modifier and Type | Method and Description |
|---|---|
static HttpCacheContext |
adapt(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, setUserTokengetAttribute, getAttribute, getConnection, getConnection, getRequest, getResponse, getTargetHost, isRequestSent, removeAttribute, setAttribute, setTargetHostpublic static final 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(HttpContext context)
public HttpCacheContext()
public static HttpCacheContext adapt(HttpContext context)
public static HttpCacheContext create()
public CacheResponseStatus getCacheResponseStatus()
Copyright © 2010 - 2020 Adobe. All Rights Reserved