Class Async.ExecRunnable<T>

java.lang.Object
org.apache.hc.client5.http.fluent.Async.ExecRunnable<T>
All Implemented Interfaces:
Runnable
Enclosing class:
Async

static class Async.ExecRunnable<T> extends Object implements Runnable
  • Field Details

    • future

      private final org.apache.hc.core5.concurrent.BasicFuture<T> future
    • request

      private final Request request
    • executor

      private final Executor executor
    • handler

      private final org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler
  • Constructor Details

    • ExecRunnable

      ExecRunnable(org.apache.hc.core5.concurrent.BasicFuture<T> future, Request request, Executor executor, org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable