Package | Description |
---|---|
org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
Modifier and Type | Class and Description |
---|---|
class |
InternalH2AsyncClient
Internal implementation of HTTP/2 only
CloseableHttpAsyncClient . |
class |
InternalHttpAsyncClient
Internal implementation of
CloseableHttpAsyncClient that can negotiate
the most optimal HTTP protocol version during during the TLS handshake
with ALPN extension if supported by the Java runtime. |
class |
MinimalH2AsyncClient
Minimal implementation of HTTP/2 only
CloseableHttpAsyncClient . |
class |
MinimalHttpAsyncClient
Minimal implementation of
CloseableHttpAsyncClient . |
Modifier and Type | Method and Description |
---|---|
CloseableHttpAsyncClient |
HttpAsyncClientBuilder.build() |
CloseableHttpAsyncClient |
H2AsyncClientBuilder.build() |
static CloseableHttpAsyncClient |
HttpAsyncClients.createDefault()
Creates
CloseableHttpAsyncClient instance with default configuration. |
static CloseableHttpAsyncClient |
HttpAsyncClients.createHttp2Default()
Creates HTTP/2
CloseableHttpAsyncClient instance with default configuration
optimized for HTTP/2 protocol and message multiplexing. |
static CloseableHttpAsyncClient |
HttpAsyncClients.createHttp2System()
Creates HTTP/2
CloseableHttpAsyncClient instance with default configuration and
system properties optimized for HTTP/2 protocol and message multiplexing. |
static CloseableHttpAsyncClient |
HttpAsyncClients.createSystem()
Creates
CloseableHttpAsyncClient instance with default
configuration and system properties. |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.