org.apache.http.client.cache
Class HttpCacheContext
java.lang.Object
org.apache.http.protocol.HttpCoreContext
org.apache.http.client.protocol.HttpClientContext
org.apache.http.client.cache.HttpCacheContext
- All Implemented Interfaces:
- HttpContext
@NotThreadSafe
public class HttpCacheContext
- extends HttpClientContext
- Since:
- 4.3
Fields inherited from class org.apache.http.client.protocol.HttpClientContext |
AUTH_CACHE, AUTHSCHEME_REGISTRY, COOKIE_ORIGIN, COOKIE_SPEC, COOKIE_STORE, COOKIESPEC_REGISTRY, CREDS_PROVIDER, HTTP_ROUTE, PROXY_AUTH_STATE, REQUEST_CONFIG, SOCKET_FACTORY_REGISTRY, TARGET_AUTH_STATE, USER_TOKEN |
Methods inherited from class org.apache.http.client.protocol.HttpClientContext |
getAuthCache, getAuthSchemeRegistry, getCookieOrigin, getCookieSpec, getCookieSpecRegistry, getCookieStore, getCredentialsProvider, getHttpRoute, getLookup, getProxyAuthState, getRequestConfig, getSocketFactoryRegistry, getTargetAuthState, getUserToken, getUserToken, setAuthCache, setAuthSchemeRegistry, setCookieSpecRegistry, setCookieStore, setCredentialsProvider, setRequestConfig, setSocketFactoryRegistry, setUserToken |
Methods inherited from class org.apache.http.protocol.HttpCoreContext |
getAttribute, getAttribute, getConnection, getConnection, getRequest, getResponse, getTargetHost, isRequestSent, removeAttribute, setAttribute, setTargetHost |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_RESPONSE_STATUS
public static final 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.
- See Also:
- Constant Field Values
HttpCacheContext
public HttpCacheContext(HttpContext context)
HttpCacheContext
public HttpCacheContext()
adapt
public static HttpCacheContext adapt(HttpContext context)
create
public static HttpCacheContext create()
getCacheResponseStatus
public CacheResponseStatus getCacheResponseStatus()
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.