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
    • 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,
                                  AsyncExecChain chain,
                                  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