Class InternalAbstractHttpAsyncClient.ScheduledRequestExecution
java.lang.Object
org.apache.hc.client5.http.impl.async.InternalAbstractHttpAsyncClient.ScheduledRequestExecution
- All Implemented Interfaces:
Runnable, org.apache.hc.core5.concurrent.Cancellable
- Enclosing class:
InternalAbstractHttpAsyncClient
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final AsyncExecCallback(package private) final AsyncExecChain(package private) final org.apache.hc.core5.util.TimeValue(package private) final org.apache.hc.core5.http.nio.AsyncEntityProducer(package private) final org.apache.hc.core5.http.HttpRequest(package private) final AsyncExecChain.Scope -
Constructor Summary
ConstructorsConstructorDescriptionScheduledRequestExecution(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 Summary
-
Field Details
-
request
final org.apache.hc.core5.http.HttpRequest request -
entityProducer
final org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer -
scope
-
chain
-
asyncExecCallback
-
delay
final org.apache.hc.core5.util.TimeValue delay
-
-
Constructor Details
-
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 Details
-
run
-
cancel
public boolean cancel()- Specified by:
cancelin interfaceorg.apache.hc.core5.concurrent.Cancellable
-