org.apache.http.client
Interface AuthenticationHandler
- All Known Implementing Classes:
- DefaultAuthenticationHandler
public interface AuthenticationHandler
- Author:
- Oleg Kalnichevski
Method Summary |
java.util.Map |
getProxyChallenges(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
|
java.util.Map |
getTargetChallenges(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
|
boolean |
isProxyAuthenticationRequested(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
|
boolean |
isTargetAuthenticationRequested(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
|
AuthScheme |
selectScheme(java.util.Map challenges,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
|
isTargetAuthenticationRequested
boolean isTargetAuthenticationRequested(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
isProxyAuthenticationRequested
boolean isProxyAuthenticationRequested(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
getTargetChallenges
java.util.Map getTargetChallenges(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws MalformedChallengeException
- Throws:
MalformedChallengeException
getProxyChallenges
java.util.Map getProxyChallenges(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws MalformedChallengeException
- Throws:
MalformedChallengeException
selectScheme
AuthScheme selectScheme(java.util.Map challenges,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws AuthenticationException
- Throws:
AuthenticationException
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.