@Contract(threading=IMMUTABLE) public class RequestAuthCache extends Object implements 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(HttpHost host,
AuthScheme authScheme,
AuthState authState,
CredentialsProvider credsProvider) |
void |
process(HttpRequest request,
HttpContext context)
Processes a request.
|
private final org.apache.commons.logging.Log log
public RequestAuthCache()
public void process(HttpRequest request, HttpContext context) throws HttpException, IOException
HttpRequestInterceptor
process
in interface HttpRequestInterceptor
request
- the request to preprocesscontext
- the context for the requestHttpException
- in case of an HTTP protocol violationIOException
- in case of an I/O errorprivate void doPreemptiveAuth(HttpHost host, AuthScheme authScheme, AuthState authState, CredentialsProvider credsProvider)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses