Package org.apache.hc.client5.http.async
Class AsyncExecChain.Scope
- java.lang.Object
-
- org.apache.hc.client5.http.async.AsyncExecChain.Scope
-
- Enclosing interface:
- AsyncExecChain
public static final class AsyncExecChain.Scope extends java.lang.Object
Request execution scope that includes the unique message exchange ID, the connection route, the original request message, the execution context and the internal execution runtime.
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.hc.core5.concurrent.CancellableDependency
cancellableDependency
HttpClientContext
clientContext
java.lang.String
exchangeId
java.util.concurrent.atomic.AtomicInteger
execCount
AsyncExecRuntime
execRuntime
org.apache.hc.core5.http.HttpRequest
originalRequest
HttpRoute
route
AsyncExecChain.Scheduler
scheduler
-
Constructor Summary
Constructors Constructor Description Scope(java.lang.String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest originalRequest, org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency, HttpClientContext clientContext, AsyncExecRuntime execRuntime)
Scope(java.lang.String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest originalRequest, org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency, HttpClientContext clientContext, AsyncExecRuntime execRuntime, AsyncExecChain.Scheduler scheduler, java.util.concurrent.atomic.AtomicInteger execCount)
-
-
-
Field Detail
-
exchangeId
public final java.lang.String exchangeId
-
route
public final HttpRoute route
-
originalRequest
public final org.apache.hc.core5.http.HttpRequest originalRequest
-
cancellableDependency
public final org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency
-
clientContext
public final HttpClientContext clientContext
-
execRuntime
public final AsyncExecRuntime execRuntime
-
scheduler
public final AsyncExecChain.Scheduler scheduler
-
execCount
public final java.util.concurrent.atomic.AtomicInteger execCount
-
-
Constructor Detail
-
Scope
public Scope(java.lang.String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest originalRequest, org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency, HttpClientContext clientContext, AsyncExecRuntime execRuntime, AsyncExecChain.Scheduler scheduler, java.util.concurrent.atomic.AtomicInteger execCount)
- Since:
- 5.1
-
Scope
@Deprecated public Scope(java.lang.String exchangeId, HttpRoute route, org.apache.hc.core5.http.HttpRequest originalRequest, org.apache.hc.core5.concurrent.CancellableDependency cancellableDependency, HttpClientContext clientContext, AsyncExecRuntime execRuntime)
-
-