AuthenticationStrategy
@Contract(threading=IMMUTABLE)
@Deprecated
public class ResponseAuthCache
extends java.lang.Object
implements org.apache.http.HttpResponseInterceptor
AuthScheme
s
to the local AuthCache
instance. Cached AuthScheme
s can be
re-used when executing requests against known hosts, thus avoiding
additional authentication round-trips.Modifier and Type | Field and Description |
---|---|
private org.apache.commons.logging.Log |
log
Deprecated.
|
Constructor and Description |
---|
ResponseAuthCache()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private void |
cache(AuthCache authCache,
org.apache.http.HttpHost host,
AuthScheme authScheme)
Deprecated.
|
private boolean |
isCachable(AuthState authState)
Deprecated.
|
void |
process(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
private void |
uncache(AuthCache authCache,
org.apache.http.HttpHost host,
AuthScheme authScheme)
Deprecated.
|
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
process
in interface org.apache.http.HttpResponseInterceptor
org.apache.http.HttpException
java.io.IOException
private boolean isCachable(AuthState authState)
private void cache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)
private void uncache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)