org.apache.http.impl.execchain
Class HttpAuthenticator
java.lang.Object
org.apache.http.impl.execchain.HttpAuthenticator
- Direct Known Subclasses:
- HttpAuthenticator
public class HttpAuthenticator
- extends Object
Method Summary |
boolean |
authenticate(HttpHost host,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
HttpContext context)
Deprecated. (4.3) use handleAuthChallenge(
HttpHost, HttpResponse, AuthenticationStrategy, AuthState, HttpContext) . |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpAuthenticator
public HttpAuthenticator(org.apache.commons.logging.Log log)
HttpAuthenticator
public HttpAuthenticator()
isAuthenticationRequested
public boolean isAuthenticationRequested(HttpHost host,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
HttpContext context)
authenticate
@Deprecated
public boolean authenticate(HttpHost host,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
HttpContext context)
- Deprecated. (4.3) use
handleAuthChallenge(
HttpHost, HttpResponse, AuthenticationStrategy, AuthState, HttpContext)
.
handleAuthChallenge
public boolean handleAuthChallenge(HttpHost host,
HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
HttpContext context)
- Since:
- 4.3
generateAuthResponse
public void generateAuthResponse(HttpRequest request,
AuthState authState,
HttpContext context)
throws HttpException,
IOException
- Throws:
HttpException
IOException
- Since:
- 4.3
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.