Deprecated
(4.2) use ProxyAuthenticationStrategy
org.apache.http.client.AuthenticationHandler implementation
for proxy host authentication.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected List | getAuthPreferences(final HttpResponse
HTTP response. response, final HttpContext HTTP execution context. context)Overrides org. |
| public Map | getChallenges(final HttpResponse
HTTP response. response, final HttpContext HTTP context. context)Implements org. |
| public boolean | isAuthenticationRequested(final HttpResponse
HTTP response. response, final HttpContext HTTP context. context)Implements org. |
| DefaultProxyAuthenticationHandler | back to summary |
|---|---|
| public DefaultProxyAuthenticationHandler() | |
| getAuthPreferences | back to summary |
|---|---|
| protected List Overrides org. Doc from org. Returns default list of auth scheme names in their order of preference based on the HTTP response and the current execution context.
| |
| getChallenges | back to summary |
|---|---|
| public Map Implements org. Doc from org. Extracts from the given HTTP response a collection of authentication challenges, each of which represents an authentication scheme supported by the authentication host.
| |
| isAuthenticationRequested | back to summary |
|---|---|
| public boolean isAuthenticationRequested(final HttpResponse response, final HttpContext context) Implements org. Doc from org. Determines if the given HTTP response response represents an authentication challenge that was sent back as a result of authentication failure
| |