Uses of Class
org.apache.hc.client5.http.async.AsyncExecChain.Scope
-
Packages that use AsyncExecChain.Scope Package Description org.apache.hc.client5.http.async HTTP client APIs based on the asynchronous, event driven I/O model.org.apache.hc.client5.http.impl.async Asynchronous HTTP client API implementation that supports both HTTP/2 and HTTP/1.1 transport.org.apache.hc.client5.http.impl.cache Caching API implementation for both the classic and the asynchronous HTTP transports. -
-
Uses of AsyncExecChain.Scope in org.apache.hc.client5.http.async
Methods in org.apache.hc.client5.http.async with parameters of type AsyncExecChain.Scope Modifier and Type Method Description void
AsyncExecChainHandler. execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
Executes the actual HTTP request.void
AsyncExecChain. proceed(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback)
Proceeds to the next element in the request execution chain.void
AsyncExecChain.Scheduler. scheduleExecution(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)
Schedules request re-execution immediately or after a delay.default void
AsyncExecChain.Scheduler. scheduleExecution(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)
Schedules request re-execution of the given execution chain immediately or after a delay. -
Uses of AsyncExecChain.Scope in org.apache.hc.client5.http.impl.async
Fields in org.apache.hc.client5.http.impl.async declared as AsyncExecChain.Scope Modifier and Type Field Description (package private) AsyncExecChain.Scope
AsyncRedirectExec.State. currentScope
(package private) AsyncExecChain.Scope
InternalAbstractHttpAsyncClient.ScheduledRequestExecution. scope
Methods in org.apache.hc.client5.http.impl.async with parameters of type AsyncExecChain.Scope Modifier and Type Method Description private void
AsyncConnectExec. createTunnel(AsyncConnectExec.State state, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost nextHop, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback)
void
AsyncConnectExec. execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
void
AsyncExecChainElement. execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback)
void
AsyncHttpRequestRetryExec. execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
void
AsyncProtocolExec. execute(org.apache.hc.core5.http.HttpRequest userRequest, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
void
AsyncRedirectExec. execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
void
H2AsyncMainClientExec. execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
void
HttpAsyncMainClientExec. execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
(package private) void
InternalAbstractHttpAsyncClient. executeImmediate(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
(package private) void
InternalAbstractHttpAsyncClient. executeScheduled(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)
private void
AsyncHttpRequestRetryExec. internalExecute(AsyncHttpRequestRetryExec.State state, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
private void
AsyncProtocolExec. internalExecute(org.apache.hc.core5.http.HttpHost target, java.lang.String pathPrefix, AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, java.util.concurrent.atomic.AtomicBoolean challenged, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
private void
AsyncConnectExec. proceedToNextHop(AsyncConnectExec.State state, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
Constructors in org.apache.hc.client5.http.impl.async with parameters of type AsyncExecChain.Scope Constructor Description 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)
-
Uses of AsyncExecChain.Scope in org.apache.hc.client5.http.impl.cache
Fields in org.apache.hc.client5.http.impl.cache declared as AsyncExecChain.Scope Modifier and Type Field Description private AsyncExecChain.Scope
AsyncCachingExec.BackendResponseHandler. scope
Methods in org.apache.hc.client5.http.impl.cache with parameters of type AsyncExecChain.Scope Modifier and Type Method Description (package private) void
AsyncCachingExec. callBackend(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
(package private) void
AsyncCachingExec. chainProceed(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
void
AsyncCachingExec. execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
private void
AsyncCachingExec. handleCacheHit(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback, HttpCacheEntry entry)
private void
AsyncCachingExec. handleCacheMiss(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback)
(package private) void
AsyncCachingExec. negotiateResponseFromVariants(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback, java.util.Map<java.lang.String,Variant> variants)
(package private) void
AsyncCachingExec. revalidateCacheEntry(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback, HttpCacheEntry cacheEntry)
private void
AsyncCachingExec. triggerResponse(SimpleHttpResponse cacheResponse, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback)
Constructors in org.apache.hc.client5.http.impl.cache with parameters of type AsyncExecChain.Scope Constructor Description BackendResponseHandler(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, java.time.Instant requestDate, java.time.Instant responseDate, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback)
-