CloseableHttpAsyncClient. This client
is optimized for HTTP/2 multiplexing message transport and does not support advanced
HTTP protocol functionality such as request execution via a proxy, state management,
authentication and request redirects.
Concurrent message exchanges with the same connection route executed by this client will get automatically multiplexed over a single physical HTTP/2 connection.
| Modifier and Type | Field and Description |
|---|---|
| private final ConnectionInitiator | |
| private final InternalH2ConnPool | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| pack-priv | MinimalH2AsyncClient(final IOEventHandlerFactory eventHandlerFactory, final AsyncPushConsumerRegistry pushConsumerRegistry, final IOReactorConfig reactorConfig, final ThreadFactory threadFactory, final ThreadFactory workerThreadFactory, final DnsResolver dnsResolver, final TlsStrategy tlsStrategy)
|
| Modifier and Type | Method and Description |
|---|---|
| public Cancellable | execute(final AsyncClientExchangeHandler exchangeHandler, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory, final HttpContext context)
Implements abstract org. |
| public void | setConnectionConfigResolver(final Resolver<HttpHost, ConnectionConfig> connectionConfigResolver)
Sets |
| connectionInitiator | back to summary |
|---|---|
| private final ConnectionInitiator connectionInitiator | |
| connPool | back to summary |
|---|---|
| private final InternalH2ConnPool connPool | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| MinimalH2AsyncClient | back to summary |
|---|---|
| pack-priv MinimalH2AsyncClient(final IOEventHandlerFactory eventHandlerFactory, final AsyncPushConsumerRegistry pushConsumerRegistry, final IOReactorConfig reactorConfig, final ThreadFactory threadFactory, final ThreadFactory workerThreadFactory, final DnsResolver dnsResolver, final TlsStrategy tlsStrategy) | |
| execute | back to summary |
|---|---|
| public Cancellable execute(final AsyncClientExchangeHandler exchangeHandler, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory, final HttpContext context) Implements abstract org.
| |
| setConnectionConfigResolver | back to summary |
|---|---|
| public void setConnectionConfigResolver(final Resolver<HttpHost, ConnectionConfig> connectionConfigResolver) Sets
| |