| 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(org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
                AuthenticationStrategy proxyAuthStrategy) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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)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(org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
           org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor,
           AuthenticationStrategy proxyAuthStrategy) | 
| ProtocolExec(org.apache.hc.core5.http.protocol.HttpProcessor httpProcessor,
            AuthenticationStrategy targetAuthStrategy,
            AuthenticationStrategy proxyAuthStrategy) | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.