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(org.apache.http.HttpRequest request, AuthState authState, org.apache.http.protocol.HttpContext context) booleanhandleAuthChallenge(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, org.apache.http.protocol.HttpContext context) booleanisAuthenticationRequested(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, org.apache.http.protocol.HttpContext context)
-
Constructor Details
-
HttpAuthenticator
public HttpAuthenticator(org.apache.commons.logging.Log log) -
HttpAuthenticator
public HttpAuthenticator()
-
-
Method Details
-
isAuthenticationRequested
public boolean isAuthenticationRequested(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, org.apache.http.protocol.HttpContext context) -
handleAuthChallenge
public boolean handleAuthChallenge(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, org.apache.http.protocol.HttpContext context) -
generateAuthResponse
public void generateAuthResponse(org.apache.http.HttpRequest request, AuthState authState, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException - Throws:
org.apache.http.HttpExceptionIOException
-