| 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  | DefaultAuthenticationStrategyDefault implementation of  AuthenticationStrategy | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)Assigns  AuthenticationStrategyinstance for proxy
 authentication. | 
| H2AsyncClientBuilder | H2AsyncClientBuilder. setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)Assigns  AuthenticationStrategyinstance for proxy
 authentication. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)Assigns  AuthenticationStrategyinstance for target
 host authentication. | 
| H2AsyncClientBuilder | H2AsyncClientBuilder. setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)Assigns  AuthenticationStrategyinstance for target
 host authentication. | 
| Constructor and Description | 
|---|
| AsyncConnectExec(HttpProcessor proxyHttpProcessor,
                AuthenticationStrategy proxyAuthStrategy,
                SchemePortResolver schemePortResolver,
                boolean authCachingDisabled) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | HttpAuthenticator. updateAuthState(HttpHost host,
               ChallengeType challengeType,
               HttpResponse response,
               AuthenticationStrategy authStrategy,
               AuthExchange authExchange,
               HttpContext context)Updates the  AuthExchangestate based on the challenge presented in the response message
 using the givenAuthenticationStrategy. | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpClientBuilder | HttpClientBuilder. setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)Assigns  AuthenticationStrategyinstance for proxy
 authentication. | 
| HttpClientBuilder | HttpClientBuilder. setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)Assigns  AuthenticationStrategyinstance for target
 host authentication. | 
| Constructor and Description | 
|---|
| ConnectExec(ConnectionReuseStrategy reuseStrategy,
           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.