Package org.apache.http.impl.auth
Class HttpAuthenticator
java.lang.Object
org.apache.http.impl.auth.HttpAuthenticator
- Direct Known Subclasses:
HttpAuthenticator
- Since:
- 4.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateAuthResponse(HttpRequest request, AuthState authState, HttpContext context) booleanhandleAuthChallenge(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context) booleanisAuthenticationRequested(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)
-
Constructor Details
-
HttpAuthenticator
-
HttpAuthenticator
public HttpAuthenticator()
-
-
Method Details
-
isAuthenticationRequested
public boolean isAuthenticationRequested(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context) -
handleAuthChallenge
public boolean handleAuthChallenge(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context) -
generateAuthResponse
public void generateAuthResponse(HttpRequest request, AuthState authState, HttpContext context) throws HttpException, IOException - Throws:
HttpExceptionIOException
-