|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.client.AbstractAuthenticationHandler
org.apache.http.impl.client.DefaultProxyAuthenticationHandler
ProxyAuthenticationStrategy
@Deprecated @Immutable public class DefaultProxyAuthenticationHandler
Default AuthenticationHandler implementation for proxy host
authentication.
| Constructor Summary | |
|---|---|
DefaultProxyAuthenticationHandler()
Deprecated. |
|
| Method Summary | |
|---|---|
protected List<String> |
getAuthPreferences(HttpResponse response,
HttpContext context)
Deprecated. Returns default list of auth scheme names in their order of preference based on the HTTP response and the current execution context. |
Map<String,Header> |
getChallenges(HttpResponse response,
HttpContext context)
Deprecated. Extracts from the given HTTP response a collection of authentication challenges, each of which represents an authentication scheme supported by the authentication host. |
boolean |
isAuthenticationRequested(HttpResponse response,
HttpContext context)
Deprecated. Determines if the given HTTP response response represents an authentication challenge that was sent back as a result of authentication failure |
| Methods inherited from class org.apache.http.impl.client.AbstractAuthenticationHandler |
|---|
getAuthPreferences, parseChallenges, selectScheme |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultProxyAuthenticationHandler()
| Method Detail |
|---|
public boolean isAuthenticationRequested(HttpResponse response,
HttpContext context)
AuthenticationHandler
response - HTTP response.context - HTTP context.
true if user authentication is required,
false otherwise.
public Map<String,Header> getChallenges(HttpResponse response,
HttpContext context)
throws MalformedChallengeException
AuthenticationHandler
response - HTTP response.context - HTTP context.
MalformedChallengeException - if one of the authentication
challenges is not valid or malformed.
protected List<String> getAuthPreferences(HttpResponse response,
HttpContext context)
AbstractAuthenticationHandler
getAuthPreferences in class AbstractAuthenticationHandlerresponse - HTTP response.context - HTTP execution context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||