Class InternalAbstractHttpAsyncClient

All Implemented Interfaces:
Closeable, AutoCloseable, HttpAsyncClient, org.apache.hc.core5.io.ModalCloseable
Direct Known Subclasses:
InternalH2AsyncClient, InternalHttpAsyncClient

abstract class InternalAbstractHttpAsyncClient extends AbstractHttpAsyncClientBase
  • Field Details

  • Constructor Details

  • Method Details

    • internalClose

      void internalClose(org.apache.hc.core5.io.CloseMode closeMode)
      Overrides:
      internalClose in class AbstractHttpAsyncClientBase
    • setupContext

      private void setupContext(HttpClientContext context)
    • createAsyncExecRuntime

      abstract AsyncExecRuntime createAsyncExecRuntime(org.apache.hc.core5.http.nio.HandlerFactory<org.apache.hc.core5.http.nio.AsyncPushConsumer> pushHandlerFactory)
    • determineRoute

      abstract HttpRoute determineRoute(org.apache.hc.core5.http.HttpHost httpHost, HttpClientContext clientContext) throws org.apache.hc.core5.http.HttpException
      Throws:
      org.apache.hc.core5.http.HttpException
    • doExecute

      protected <T> Future<T> doExecute(org.apache.hc.core5.http.HttpHost httpHost, org.apache.hc.core5.http.nio.AsyncRequestProducer requestProducer, org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> responseConsumer, org.apache.hc.core5.http.nio.HandlerFactory<org.apache.hc.core5.http.nio.AsyncPushConsumer> pushHandlerFactory, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.concurrent.FutureCallback<T> callback)
      Specified by:
      doExecute in class CloseableHttpAsyncClient
    • executeImmediate

      void executeImmediate(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) throws org.apache.hc.core5.http.HttpException, IOException
      Throws:
      org.apache.hc.core5.http.HttpException
      IOException
    • executeScheduled

      void executeScheduled(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback, org.apache.hc.core5.util.TimeValue delay)