|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.protocol.HttpCoreContext org.apache.http.client.protocol.HttpClientContext org.apache.http.client.cache.HttpCacheContext
public class HttpCacheContext
Field Summary | |
---|---|
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. |
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, REDIRECT_LOCATIONS, REQUEST_CONFIG, TARGET_AUTH_STATE, USER_TOKEN |
Fields inherited from class org.apache.http.protocol.HttpCoreContext |
---|
HTTP_CONNECTION, HTTP_REQ_SENT, HTTP_REQUEST, HTTP_RESPONSE, HTTP_TARGET_HOST |
Fields inherited from interface org.apache.http.protocol.HttpContext |
---|
RESERVED_PREFIX |
Constructor Summary | |
---|---|
HttpCacheContext()
|
|
HttpCacheContext(org.apache.http.protocol.HttpContext context)
|
Method Summary | |
---|---|
static HttpCacheContext |
adapt(org.apache.http.protocol.HttpContext context)
|
static HttpCacheContext |
create()
|
CacheResponseStatus |
getCacheResponseStatus()
|
Methods inherited from class org.apache.http.client.protocol.HttpClientContext |
---|
getAuthCache, getAuthSchemeRegistry, getCookieOrigin, getCookieSpec, getCookieSpecRegistry, getCookieStore, getCredentialsProvider, getHttpRoute, getProxyAuthState, getRedirectLocations, getRequestConfig, getTargetAuthState, getUserToken, getUserToken, setAuthCache, setAuthSchemeRegistry, setCookieSpecRegistry, setCookieStore, setCredentialsProvider, setRequestConfig, 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 |
Field Detail |
---|
public 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.
Constructor Detail |
---|
public HttpCacheContext(org.apache.http.protocol.HttpContext context)
public HttpCacheContext()
Method Detail |
---|
public static HttpCacheContext adapt(org.apache.http.protocol.HttpContext context)
public static HttpCacheContext create()
public CacheResponseStatus getCacheResponseStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |