Package | Description |
---|---|
org.apache.http.impl.auth |
Default implementations of standard and common HTTP authentication
schemes.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.impl.execchain |
HTTP request execution chain APIs.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HttpAuthenticator.handleAuthChallenge(org.apache.http.HttpHost host,
org.apache.http.HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
org.apache.http.protocol.HttpContext context) |
boolean |
HttpAuthenticator.isAuthenticationRequested(org.apache.http.HttpHost host,
org.apache.http.HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
org.apache.http.protocol.HttpContext context) |
Modifier and Type | Class and Description |
---|---|
class |
ProxyAuthenticationStrategy
Default
AuthenticationStrategy implementation
for proxy host authentication. |
class |
TargetAuthenticationStrategy
Default
AuthenticationStrategy implementation
for proxy host authentication. |
Modifier and Type | Field and Description |
---|---|
protected AuthenticationStrategy |
DefaultRequestDirector.proxyAuthStrategy
Deprecated.
The proxy authentication handler.
|
protected AuthenticationStrategy |
DefaultRequestDirector.targetAuthStrategy
Deprecated.
The target authentication handler.
|
Modifier and Type | Method and Description |
---|---|
protected AuthenticationStrategy |
AbstractHttpClient.createProxyAuthenticationStrategy()
Deprecated.
|
protected AuthenticationStrategy |
AbstractHttpClient.createTargetAuthenticationStrategy()
Deprecated.
|
AuthenticationStrategy |
AbstractHttpClient.getProxyAuthenticationStrategy()
Deprecated.
|
AuthenticationStrategy |
AbstractHttpClient.getTargetAuthenticationStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HttpAuthenticator.authenticate(org.apache.http.HttpHost host,
org.apache.http.HttpResponse response,
AuthenticationStrategy authStrategy,
AuthState authState,
org.apache.http.protocol.HttpContext context)
Deprecated.
|
protected RequestDirector |
AbstractHttpClient.createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec,
ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
ConnectionKeepAliveStrategy kastrat,
HttpRoutePlanner rouplan,
org.apache.http.protocol.HttpProcessor httpProcessor,
HttpRequestRetryHandler retryHandler,
RedirectStrategy redirectStrategy,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler,
org.apache.http.params.HttpParams params)
Deprecated.
|
protected ClientExecChain |
HttpClientBuilder.createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec,
HttpClientConnectionManager connManager,
org.apache.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler)
Produces an instance of
ClientExecChain to be used as a main exec. |
HttpClientBuilder |
HttpClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
Assigns
AuthenticationStrategy instance for proxy
authentication. |
void |
AbstractHttpClient.setProxyAuthenticationStrategy(AuthenticationStrategy strategy)
Deprecated.
|
HttpClientBuilder |
HttpClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
Assigns
AuthenticationStrategy instance for target
host authentication. |
void |
AbstractHttpClient.setTargetAuthenticationStrategy(AuthenticationStrategy strategy)
Deprecated.
|
Constructor and Description |
---|
DefaultRequestDirector(org.apache.commons.logging.Log log,
org.apache.http.protocol.HttpRequestExecutor requestExec,
ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
ConnectionKeepAliveStrategy kastrat,
HttpRoutePlanner rouplan,
org.apache.http.protocol.HttpProcessor httpProcessor,
HttpRequestRetryHandler retryHandler,
RedirectStrategy redirectStrategy,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler,
org.apache.http.params.HttpParams params)
Deprecated.
|
Constructor and Description |
---|
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
MainClientExec(org.apache.http.protocol.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.