Package org.apache.http.client.protocol
Class ResponseAuthCache
- java.lang.Object
-
- org.apache.http.client.protocol.ResponseAuthCache
-
- All Implemented Interfaces:
org.apache.http.HttpResponseInterceptor
@Contract(threading=IMMUTABLE) @Deprecated public class ResponseAuthCache extends java.lang.Object implements org.apache.http.HttpResponseInterceptorDeprecated.(4.2) useAuthenticationStrategyResponse interceptor that adds successfully completedAuthSchemes to the localAuthCacheinstance. CachedAuthSchemes can be re-used when executing requests against known hosts, thus avoiding additional authentication round-trips.- Since:
- 4.1
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.commons.logging.LoglogDeprecated.
-
Constructor Summary
Constructors Constructor Description ResponseAuthCache()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private voidcache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)Deprecated.private booleanisCachable(AuthState authState)Deprecated.voidprocess(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)Deprecated.private voiduncache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)Deprecated.
-
-
-
Method Detail
-
process
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOExceptionDeprecated.- Specified by:
processin interfaceorg.apache.http.HttpResponseInterceptor- Throws:
org.apache.http.HttpExceptionjava.io.IOException
-
isCachable
private boolean isCachable(AuthState authState)
Deprecated.
-
cache
private void cache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)
Deprecated.
-
uncache
private void uncache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)
Deprecated.
-
-