Package org.apache.http.client
Interface AuthenticationHandler
- All Known Implementing Classes:
AbstractAuthenticationHandler,DefaultProxyAuthenticationHandler,DefaultTargetAuthenticationHandler
public interface AuthenticationHandler
- Author:
- Oleg Kalnichevski
-
Method Summary
Modifier and Type Method Description Map<String,Header>getChallenges(HttpResponse response, HttpContext context)booleanisAuthenticationRequested(HttpResponse response, HttpContext context)AuthSchemeselectScheme(Map<String,Header> challenges, HttpResponse response, HttpContext context)
-
Method Details
-
isAuthenticationRequested
-
getChallenges
Map<String,Header> getChallenges(HttpResponse response, HttpContext context) throws MalformedChallengeException- Throws:
MalformedChallengeException
-
selectScheme
AuthScheme selectScheme(Map<String,Header> challenges, HttpResponse response, HttpContext context) throws AuthenticationException- Throws:
AuthenticationException
-