| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
| 限定符和类型 | 类和说明 |
|---|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2023. All rights reserved.