AuthenticationStrategy
@Immutable @Deprecated public class ResponseAuthCache extends java.lang.Object implements 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.Constructor and Description |
---|
ResponseAuthCache()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
process(HttpResponse response,
HttpContext context)
Deprecated.
Processes a response.
|
public void process(HttpResponse response, HttpContext context) throws HttpException, java.io.IOException
HttpResponseInterceptor
process
in interface HttpResponseInterceptor
response
- the response to postprocesscontext
- the context for the requestHttpException
- in case of an HTTP protocol violationjava.io.IOException
- in case of an I/O error