Class InternalAbstractHttpAsyncClient.ScheduledRequestExecution

  • All Implemented Interfaces:
    java.lang.Runnable, org.apache.hc.core5.concurrent.Cancellable
    Enclosing class:
    InternalAbstractHttpAsyncClient

    class InternalAbstractHttpAsyncClient.ScheduledRequestExecution
    extends java.lang.Object
    implements java.lang.Runnable, org.apache.hc.core5.concurrent.Cancellable
    • Constructor Summary

      Constructors 
      Constructor Description
      ScheduledRequestExecution​(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback, org.apache.hc.core5.util.TimeValue delay)  
    • Method Summary

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

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

      • request

        final org.apache.hc.core5.http.HttpRequest request
      • entityProducer

        final org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer
      • delay

        final org.apache.hc.core5.util.TimeValue delay
    • Constructor Detail

      • ScheduledRequestExecution

        ScheduledRequestExecution​(org.apache.hc.core5.http.HttpRequest request,
                                  org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer,
                                  AsyncExecChain.Scope scope,
                                  AsyncExecCallback asyncExecCallback,
                                  org.apache.hc.core5.util.TimeValue delay)
    • Method Detail

      • run

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

        public boolean cancel()
        Specified by:
        cancel in interface org.apache.hc.core5.concurrent.Cancellable