| 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.classic | Classic HTTP client API implementation that supports HTTP/1.1 transport
 only. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultConnectionKeepAliveStrategyDefault implementation of a strategy deciding duration
 that a connection can remain idle. | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)Assigns  ConnectionKeepAliveStrategyinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpClientBuilder | HttpClientBuilder. setKeepAliveStrategy(ConnectionKeepAliveStrategy keepAliveStrategy)Assigns  ConnectionKeepAliveStrategyinstance. | 
| Constructor and Description | 
|---|
| MainClientExec(HttpClientConnectionManager connectionManager,
              org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy,
              ConnectionKeepAliveStrategy keepAliveStrategy,
              UserTokenHandler userTokenHandler) | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.