org.apache.http.client
Interface AuthenticationHandler

All Known Implementing Classes:
AbstractAuthenticationHandler, DefaultProxyAuthenticationHandler, DefaultTargetAuthenticationHandler

public interface AuthenticationHandler

Author:
Oleg Kalnichevski

Method Summary
 java.util.Map<java.lang.String,org.apache.http.Header> getChallenges(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
           
 boolean isAuthenticationRequested(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
           
 AuthScheme selectScheme(java.util.Map<java.lang.String,org.apache.http.Header> challenges, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
           
 

Method Detail

isAuthenticationRequested

boolean isAuthenticationRequested(org.apache.http.HttpResponse response,
                                  org.apache.http.protocol.HttpContext context)

getChallenges

java.util.Map<java.lang.String,org.apache.http.Header> getChallenges(org.apache.http.HttpResponse response,
                                                                     org.apache.http.protocol.HttpContext context)
                                                                     throws MalformedChallengeException
Throws:
MalformedChallengeException

selectScheme

AuthScheme selectScheme(java.util.Map<java.lang.String,org.apache.http.Header> challenges,
                        org.apache.http.HttpResponse response,
                        org.apache.http.protocol.HttpContext context)
                        throws AuthenticationException
Throws:
AuthenticationException


Copyright © 1999-2008 Apache Software Foundation. All Rights Reserved.