Build 1.0_r1(from source)

org.apache.http.impl.client
Class AbstractAuthenticationHandler

java.lang.Object
  extended by org.apache.http.impl.client.AbstractAuthenticationHandler
All Implemented Interfaces:
AuthenticationHandler
Direct Known Subclasses:
DefaultProxyAuthenticationHandler, DefaultTargetAuthenticationHandler

public abstract class AbstractAuthenticationHandler
extends Object
implements AuthenticationHandler


Constructor Summary
AbstractAuthenticationHandler()
           
 
Method Summary
protected  List<String> getAuthPreferences()
           
protected  Map<String,Header> parseChallenges(Header[] headers)
           
 AuthScheme selectScheme(Map<String,Header> challenges, HttpResponse response, HttpContext context)
           
 
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

AbstractAuthenticationHandler

public AbstractAuthenticationHandler()
Method Detail

parseChallenges

protected Map<String,Header> parseChallenges(Header[] headers)
                                      throws MalformedChallengeException
Throws:
MalformedChallengeException

getAuthPreferences

protected List<String> getAuthPreferences()

selectScheme

public AuthScheme selectScheme(Map<String,Header> challenges,
                               HttpResponse response,
                               HttpContext context)
                        throws AuthenticationException
Specified by:
selectScheme in interface AuthenticationHandler
Throws:
AuthenticationException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature