public class ProfileProxyAuthenticator extends Object implements ProxyAuthenticator
Constructor and Description |
---|
ProfileProxyAuthenticator(ProxyConfig proxyConfig) |
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 ProfileProxyAuthenticator(ProxyConfig proxyConfig) throws org.apache.http.auth.MalformedChallengeException
org.apache.http.auth.MalformedChallengeException
public void authenticatePreemptively(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.auth.AuthenticationException
authenticatePreemptively
in interface ProxyAuthenticator
request
- outgoing http requestcontext
- http contextorg.apache.http.auth.AuthenticationException
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.