| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.client.AbstractAuthenticationHandler
AuthenticationStrategy
@Deprecated @Contract(threading=IMMUTABLE) public abstract class AbstractAuthenticationHandler
Base class for AuthenticationHandler implementations.
| Constructor Summary | |
|---|---|
| AbstractAuthenticationHandler()Deprecated. | |
| Method Summary | |
|---|---|
| protected  List<String> | getAuthPreferences()Deprecated. Returns default list of auth scheme names in their order of preference. | 
| protected  List<String> | getAuthPreferences(org.apache.http.HttpResponse response,
                   org.apache.http.protocol.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. | 
| protected  Map<String,org.apache.http.Header> | parseChallenges(org.apache.http.Header[] headers)Deprecated. | 
|  AuthScheme | selectScheme(Map<String,org.apache.http.Header> challenges,
             org.apache.http.HttpResponse response,
             org.apache.http.protocol.HttpContext context)Deprecated. Selects one authentication challenge out of all available and creates and generates AuthSchemeinstance capable of
 processing that challenge. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.http.client.AuthenticationHandler | 
|---|
| getChallenges, isAuthenticationRequested | 
| Constructor Detail | 
|---|
public AbstractAuthenticationHandler()
| Method Detail | 
|---|
protected Map<String,org.apache.http.Header> parseChallenges(org.apache.http.Header[] headers)
                                                      throws MalformedChallengeException
MalformedChallengeExceptionprotected List<String> getAuthPreferences()
protected List<String> getAuthPreferences(org.apache.http.HttpResponse response,
                                          org.apache.http.protocol.HttpContext context)
response - HTTP response.context - HTTP execution context.
public AuthScheme selectScheme(Map<String,org.apache.http.Header> challenges,
                               org.apache.http.HttpResponse response,
                               org.apache.http.protocol.HttpContext context)
                        throws AuthenticationException
AuthenticationHandlerAuthScheme instance capable of
 processing that challenge.
selectScheme in interface AuthenticationHandlerchallenges - collection of challenges.response - HTTP response.context - HTTP context.
AuthenticationException - if an authentication scheme
  could not be selected.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||