Package | Description |
---|---|
org.apache.hc.client5.http.impl | |
org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
org.apache.hc.client5.http.impl.auth |
Standard and common HTTP authentication schemes.
|
org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultAuthenticationStrategy
Default implementation of
AuthenticationStrategy |
Modifier and Type | Method and Description |
---|---|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
Sets
AuthenticationStrategy instance for proxy
authentication. |
H2AsyncClientBuilder |
H2AsyncClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
Sets
AuthenticationStrategy instance for proxy
authentication. |
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
Sets
AuthenticationStrategy instance for target
host authentication. |
H2AsyncClientBuilder |
H2AsyncClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
Sets
AuthenticationStrategy instance for target
host authentication. |
Constructor and Description |
---|
AsyncConnectExec(org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy proxyAuthStrategy,
SchemePortResolver schemePortResolver,
boolean authCachingDisabled) |
Modifier and Type | Method and Description |
---|---|
boolean |
AuthenticationHandler.handleResponse(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)
Handles the response from the opposite endpoint and updates the
AuthExchange
state based on the challenge presented in the response message using the given
AuthenticationStrategy . |
boolean |
HttpAuthenticator.updateAuthState(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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
Sets
AuthenticationStrategy instance for proxy
authentication. |
HttpClientBuilder |
HttpClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
Sets
AuthenticationStrategy instance for target
host authentication. |
Constructor and Description |
---|
ConnectExec(org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
AuthenticationStrategy proxyAuthStrategy,
SchemePortResolver schemePortResolver,
boolean authCachingDisabled) |
ProtocolExec(AuthenticationStrategy targetAuthStrategy,
AuthenticationStrategy proxyAuthStrategy,
SchemePortResolver schemePortResolver,
boolean authCachingDisabled) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.