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) classfinal classInternal implementation of HTTP/2 onlyCloseableHttpAsyncClient.final classInternal implementation ofCloseableHttpAsyncClientthat can negotiate the most optimal HTTP protocol version during during theTLShandshake withALPNextension if supported by the Java runtime.final classMinimal implementation of HTTP/2 onlyCloseableHttpAsyncClient.final classMinimal implementation ofCloseableHttpAsyncClient.Methods in org.apache.hc.client5.http.impl.async that return CloseableHttpAsyncClientModifier and TypeMethodDescriptionH2AsyncClientBuilder.build()HttpAsyncClientBuilder.build()static CloseableHttpAsyncClientHttpAsyncClients.createDefault()CreatesCloseableHttpAsyncClientinstance with default configuration.static CloseableHttpAsyncClientHttpAsyncClients.createHttp2Default()Creates HTTP/2CloseableHttpAsyncClientinstance with default configuration optimized for HTTP/2 protocol and message multiplexing.static CloseableHttpAsyncClientHttpAsyncClients.createHttp2System()Creates HTTP/2CloseableHttpAsyncClientinstance with default configuration and system properties optimized for HTTP/2 protocol and message multiplexing.static CloseableHttpAsyncClientHttpAsyncClients.createSystem()CreatesCloseableHttpAsyncClientinstance 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 CloseableHttpAsyncClientCachingHttpAsyncClients.createFileBound(File cacheDir) CreatesCloseableHttpAsyncClientinstance that uses a file system bound response cache.static CloseableHttpAsyncClientCachingHttpAsyncClients.createHttp2FileBound(File cacheDir) Creates HTTP/2CloseableHttpAsyncClientinstance that uses a file system bound response cache.static CloseableHttpAsyncClientCachingHttpAsyncClients.createHttp2MemoryBound()Creates HTTP/2CloseableHttpAsyncClientinstance that uses a memory bound response cache.static CloseableHttpAsyncClientCachingHttpAsyncClients.createMemoryBound()CreatesCloseableHttpAsyncClientinstance that uses a memory bound response cache.