public class DefaultProxyAuthenticator extends Object implements ProxyAuthenticator
| Constructor and Description |
|---|
DefaultProxyAuthenticator(org.apache.http.auth.Credentials credentials) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticatePreemptively(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
this will add authentication header to the request
|
public DefaultProxyAuthenticator(org.apache.http.auth.Credentials credentials)
throws org.apache.http.auth.MalformedChallengeException
org.apache.http.auth.MalformedChallengeExceptionpublic void authenticatePreemptively(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.auth.AuthenticationException
authenticatePreemptively in interface ProxyAuthenticatorrequest - outgoing http requestcontext - http contextorg.apache.http.auth.AuthenticationExceptionCopyright © 2005–2019 Apache Software Foundation. All rights reserved.