| Package | Description | 
|---|---|
| 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.nio | Client connection management functions based the asynchronous
 connection management APIs. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MinimalHttpAsyncClient | HttpAsyncClients. createMinimal(AsyncClientConnectionManager connManager)Creates  MinimalHttpAsyncClientinstance optimized for
 HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
 functionality. | 
| static MinimalHttpAsyncClient | HttpAsyncClients. createMinimal(org.apache.hc.core5.http2.HttpVersionPolicy versionPolicy,
             org.apache.hc.core5.http2.config.H2Config h2Config,
             org.apache.hc.core5.http.config.Http1Config h1Config,
             org.apache.hc.core5.reactor.IOReactorConfig ioReactorConfig,
             AsyncClientConnectionManager connmgr)Creates  MinimalHttpAsyncClientinstance optimized for
 HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
 functionality. | 
| HttpAsyncClientBuilder | HttpAsyncClientBuilder. setConnectionManager(AsyncClientConnectionManager connManager)Assigns  AsyncClientConnectionManagerinstance. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PoolingAsyncClientConnectionManagerPoolingAsyncClientConnectionManagermaintains a pool of non-blockingHttpConnections and is able to service
 connection requests from multiple execution threads. | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.