Class Async.ExecRunnable<T>

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    Async

    static class Async.ExecRunnable<T>
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Executor executor  
      private org.apache.hc.core5.concurrent.BasicFuture<T> future  
      private org.apache.hc.core5.http.io.HttpClientResponseHandler<T> handler  
      private Request request  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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 Detail

      • ExecRunnable

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

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable