Package org.apache.http.impl.client
Class AbstractAuthenticationHandler
- java.lang.Object
 - 
- org.apache.http.impl.client.AbstractAuthenticationHandler
 
 
- 
- All Implemented Interfaces:
 AuthenticationHandler
- Direct Known Subclasses:
 DefaultProxyAuthenticationHandler,DefaultTargetAuthenticationHandler
@Deprecated @Contract(threading=IMMUTABLE) public abstract class AbstractAuthenticationHandler extends java.lang.Object implements AuthenticationHandler
Deprecated.(4.2) useAuthenticationStrategyBase class forAuthenticationHandlerimplementations.- Since:
 - 4.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AbstractAuthenticationHandler()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthSchemeselectScheme(java.util.Map<java.lang.String,Header> challenges, HttpResponse response, HttpContext context)Deprecated.Selects one authentication challenge out of all available and creates and generatesAuthSchemeinstance capable of processing that challenge.- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.apache.http.client.AuthenticationHandler
getChallenges, isAuthenticationRequested 
 - 
 
 - 
 
- 
- 
Method Detail
- 
selectScheme
public AuthScheme selectScheme(java.util.Map<java.lang.String,Header> challenges, HttpResponse response, HttpContext context) throws AuthenticationException
Deprecated.Description copied from interface:AuthenticationHandlerSelects one authentication challenge out of all available and creates and generatesAuthSchemeinstance capable of processing that challenge.- Specified by:
 selectSchemein interfaceAuthenticationHandler- Parameters:
 challenges- collection of challenges.response- HTTP response.context- HTTP context.- Returns:
 - authentication scheme to use for authentication.
 - Throws:
 AuthenticationException- if an authentication scheme could not be selected.
 
 - 
 
 -