Package org.apache.http.impl.auth
Class HttpAuthenticator
- java.lang.Object
-
- org.apache.http.impl.auth.HttpAuthenticator
-
- Direct Known Subclasses:
HttpAuthenticator
public class HttpAuthenticator extends java.lang.Object
- Since:
- 4.3
-
-
Constructor Summary
Constructors Constructor Description HttpAuthenticator()
HttpAuthenticator(Log log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateAuthResponse(HttpRequest request, AuthState authState, HttpContext context)
boolean
handleAuthChallenge(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)
boolean
isAuthenticationRequested(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)
-
-
-
Constructor Detail
-
HttpAuthenticator
public HttpAuthenticator(Log log)
-
HttpAuthenticator
public HttpAuthenticator()
-
-
Method Detail
-
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, java.io.IOException
- Throws:
HttpException
java.io.IOException
-
-