Top Constructors Methods
org.apache.hc.client5.http.impl.async

pack-priv abstract Class AbstractMinimalHttpAsyncClientBase

extends AbstractHttpAsyncClientBase
Class Inheritance
Known Direct Subclasses
org.apache.hc.client5.http.impl.async.MinimalH2AsyncClient, org.apache.hc.client5.http.impl.async.MinimalHttpAsyncClient
Imports
java.util.concurrent.Future, .ThreadFactory, org.apache.hc.client5.http.protocol.HttpClientContext, org.apache.hc.core5.concurrent.Cancellable, .ComplexFuture, .FutureCallback, org.apache.hc.core5.http.HttpHost, org.apache.hc.core5.http.nio.AsyncClientExchangeHandler, .AsyncPushConsumer, .AsyncRequestProducer, .AsyncResponseConsumer, .HandlerFactory, org.apache.hc.core5.http.nio.support.BasicClientExchangeHandler, org.apache.hc.core5.http.protocol.HttpContext, org.apache.hc.core5.reactor.DefaultConnectingIOReactor

Constructor Summary

AccessConstructor and Description
pack-priv
AbstractMinimalHttpAsyncClientBase(final DefaultConnectingIOReactor ioReactor, final AsyncPushConsumerRegistry pushConsumerRegistry, final ThreadFactory threadFactory)

Method Summary

Modifier and TypeMethod and Description
protected <T> Future<T>
doExecute(final HttpHost httpHost, final AsyncRequestProducer requestProducer, final AsyncResponseConsumer<T> responseConsumer, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory, final HttpContext context, final FutureCallback<T> callback)

Implements abstract org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient.doExecute.

public final Cancellable
execute(final AsyncClientExchangeHandler exchangeHandler)

public abstract Cancellable
execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)

Inherited from org.apache.hc.client5.http.impl.async.AbstractHttpAsyncClientBase:
awaitShutdowncloseclosegetConnectionInitiatorgetStatusinitiateShutdowninternalCloseisRunningregisterstart

Constructor Detail

AbstractMinimalHttpAsyncClientBaseback to summary
pack-priv AbstractMinimalHttpAsyncClientBase(final DefaultConnectingIOReactor ioReactor, final AsyncPushConsumerRegistry pushConsumerRegistry, final ThreadFactory threadFactory)

Method Detail

doExecuteback to summary
protected <T> Future<T> doExecute(final HttpHost httpHost, final AsyncRequestProducer requestProducer, final AsyncResponseConsumer<T> responseConsumer, final HandlerFactory<AsyncPushConsumer> pushHandlerFactory, final HttpContext context, final FutureCallback<T> callback)

Implements abstract org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient.doExecute.

Annotations
@Override
executeback to summary
public final Cancellable execute(final AsyncClientExchangeHandler exchangeHandler)
executeback to summary
public abstract Cancellable execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, HttpContext context)