Uses of Class
org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient
Packages that use CloseableHttpAsyncClient
Package
Description
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Caching API implementation for both the classic and
the asynchronous HTTP transports.
-
Uses of CloseableHttpAsyncClient in org.apache.hc.client5.http.impl.async
Subclasses of CloseableHttpAsyncClient in org.apache.hc.client5.http.impl.asyncModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
final class
Internal implementation of HTTP/2 onlyCloseableHttpAsyncClient
.final class
Internal implementation ofCloseableHttpAsyncClient
that can negotiate the most optimal HTTP protocol version during during theTLS
handshake withALPN
extension if supported by the Java runtime.final class
Minimal implementation of HTTP/2 onlyCloseableHttpAsyncClient
.final class
Minimal implementation ofCloseableHttpAsyncClient
.Methods in org.apache.hc.client5.http.impl.async that return CloseableHttpAsyncClientModifier and TypeMethodDescriptionH2AsyncClientBuilder.build()
HttpAsyncClientBuilder.build()
static CloseableHttpAsyncClient
HttpAsyncClients.createDefault()
CreatesCloseableHttpAsyncClient
instance with default configuration.static CloseableHttpAsyncClient
HttpAsyncClients.createHttp2Default()
Creates HTTP/2CloseableHttpAsyncClient
instance with default configuration optimized for HTTP/2 protocol and message multiplexing.static CloseableHttpAsyncClient
HttpAsyncClients.createHttp2System()
Creates HTTP/2CloseableHttpAsyncClient
instance with default configuration and system properties optimized for HTTP/2 protocol and message multiplexing.static CloseableHttpAsyncClient
HttpAsyncClients.createSystem()
CreatesCloseableHttpAsyncClient
instance with default configuration and system properties. -
Uses of CloseableHttpAsyncClient in org.apache.hc.client5.http.impl.cache
Methods in org.apache.hc.client5.http.impl.cache that return CloseableHttpAsyncClientModifier and TypeMethodDescriptionstatic CloseableHttpAsyncClient
CachingHttpAsyncClients.createFileBound
(File cacheDir) CreatesCloseableHttpAsyncClient
instance that uses a file system bound response cache.static CloseableHttpAsyncClient
CachingHttpAsyncClients.createHttp2FileBound
(File cacheDir) Creates HTTP/2CloseableHttpAsyncClient
instance that uses a file system bound response cache.static CloseableHttpAsyncClient
CachingHttpAsyncClients.createHttp2MemoryBound()
Creates HTTP/2CloseableHttpAsyncClient
instance that uses a memory bound response cache.static CloseableHttpAsyncClient
CachingHttpAsyncClients.createMemoryBound()
CreatesCloseableHttpAsyncClient
instance that uses a memory bound response cache.