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.nio |
Client connection management functions based the asynchronous
connection management APIs.
|
Modifier and Type | Method and Description |
---|---|
static MinimalHttpAsyncClient |
HttpAsyncClients.createMinimal(AsyncClientConnectionManager connManager)
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static MinimalHttpAsyncClient |
HttpAsyncClients.createMinimal(org.apache.hc.core5.http2.config.H2Config h2Config,
org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.reactor.IOReactorConfig ioReactorConfig,
AsyncClientConnectionManager connmgr)
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static MinimalHttpAsyncClient |
HttpAsyncClients.createMinimal(org.apache.hc.core5.http2.HttpVersionPolicy versionPolicy,
org.apache.hc.core5.http2.config.H2Config h2Config,
org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.reactor.IOReactorConfig ioReactorConfig,
AsyncClientConnectionManager connmgr)
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setConnectionManager(AsyncClientConnectionManager connManager)
Sets
AsyncClientConnectionManager instance. |
Modifier and Type | Class and Description |
---|---|
class |
PoolingAsyncClientConnectionManager
PoolingAsyncClientConnectionManager maintains a pool of non-blocking
HttpConnection s and is able to service
connection requests from multiple execution threads. |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.