| Package | Description |
|---|---|
| org.apache.hc.client5.http.impl.auth |
Default implementations of standard and common HTTP authentication
schemes.
|
| org.apache.hc.client5.http.impl.protocol | |
| org.apache.hc.client5.http.impl.sync |
Default HTTP client implementation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
HttpAuthenticator.prepareAuthResponse(org.apache.hc.core5.http.HttpHost host,
ChallengeType challengeType,
org.apache.hc.core5.http.HttpResponse response,
AuthenticationStrategy authStrategy,
AuthExchange authExchange,
org.apache.hc.core5.http.protocol.HttpContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultAuthenticationStrategy
Default implementation of
AuthenticationStrategy |
| Modifier and Type | Method and Description |
|---|---|
protected ClientExecChain |
HttpClientBuilder.createMainExec(org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExec,
HttpClientConnectionManager connManager,
org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
org.apache.hc.core5.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. |
HttpClientBuilder |
HttpClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
Assigns
AuthenticationStrategy instance for target
host authentication. |
| Constructor and Description |
|---|
MainClientExec(org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
MainClientExec(org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExecutor,
HttpClientConnectionManager connManager,
org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
ConnectionKeepAliveStrategy keepAliveStrategy,
org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
UserTokenHandler userTokenHandler) |
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.