@Contract(threading=IMMUTABLE)
public class RequestAuthCache
extends java.lang.Object
implements org.apache.http.HttpRequestInterceptor
AuthScheme
instance in the local
AuthCache
associated with the given target or proxy host.Modifier and Type | Field and Description |
---|---|
private org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
RequestAuthCache() |
Modifier and Type | Method and Description |
---|---|
private void |
doPreemptiveAuth(org.apache.http.HttpHost host,
AuthScheme authScheme,
AuthState authState,
CredentialsProvider credsProvider) |
void |
process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
java.io.IOException
private void doPreemptiveAuth(org.apache.http.HttpHost host, AuthScheme authScheme, AuthState authState, CredentialsProvider credsProvider)