| 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.cache | Caching API implementation for both the classic and
 the asynchronous HTTP transports. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | InternalH2AsyncClientInternal implementation of HTTP/2 only  CloseableHttpAsyncClient. | 
| class  | InternalHttpAsyncClientInternal implementation of  CloseableHttpAsyncClientthat can negotiate
 the most optimal HTTP protocol version during during theTLShandshake
 withALPNextension if supported by the Java runtime. | 
| class  | MinimalH2AsyncClientMinimal implementation of HTTP/2 only  CloseableHttpAsyncClient. | 
| class  | MinimalHttpAsyncClientMinimal implementation of  CloseableHttpAsyncClient. | 
| Modifier and Type | Method and Description | 
|---|---|
| CloseableHttpAsyncClient | HttpAsyncClientBuilder. build() | 
| CloseableHttpAsyncClient | H2AsyncClientBuilder. build() | 
| static CloseableHttpAsyncClient | HttpAsyncClients. createDefault()Creates  CloseableHttpAsyncClientinstance with default configuration. | 
| static CloseableHttpAsyncClient | HttpAsyncClients. createHttp2Default()Creates HTTP/2  CloseableHttpAsyncClientinstance with default configuration
 optimized for HTTP/2 protocol and message multiplexing. | 
| static CloseableHttpAsyncClient | HttpAsyncClients. createHttp2System()Creates HTTP/2  CloseableHttpAsyncClientinstance with default configuration and
 system properties optimized for HTTP/2 protocol and message multiplexing. | 
| static CloseableHttpAsyncClient | HttpAsyncClients. createSystem()Creates  CloseableHttpAsyncClientinstance with default
 configuration and system properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CloseableHttpAsyncClient | CachingHttpAsyncClients. createFileBound(File cacheDir)Creates  CloseableHttpAsyncClientinstance that uses a file system
 bound response cache. | 
| static CloseableHttpAsyncClient | CachingHttpAsyncClients. createHttp2FileBound(File cacheDir)Creates HTTP/2  CloseableHttpAsyncClientinstance that uses a file system
 bound response cache. | 
| static CloseableHttpAsyncClient | CachingHttpAsyncClients. createHttp2MemoryBound()Creates HTTP/2  CloseableHttpAsyncClientinstance that uses a memory bound
 response cache. | 
| static CloseableHttpAsyncClient | CachingHttpAsyncClients. createMemoryBound()Creates  CloseableHttpAsyncClientinstance that uses a memory bound
 response cache. | 
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.