Uses of Interface
org.apache.hc.client5.http.async.AsyncExecCallback
-
Packages that use AsyncExecCallback 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 AsyncExecCallback in org.apache.hc.client5.http.async
Methods in org.apache.hc.client5.http.async with parameters of type AsyncExecCallback 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 AsyncExecCallback in org.apache.hc.client5.http.impl.async
Fields in org.apache.hc.client5.http.impl.async declared as AsyncExecCallback Modifier and Type Field Description (package private) AsyncExecCallback
InternalAbstractHttpAsyncClient.ScheduledRequestExecution. asyncExecCallback
Methods in org.apache.hc.client5.http.impl.async with parameters of type AsyncExecCallback 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
AsyncRedirectExec. internalExecute(AsyncRedirectExec.State state, 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 AsyncExecCallback 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 AsyncExecCallback in org.apache.hc.client5.http.impl.cache
Classes in org.apache.hc.client5.http.impl.cache that implement AsyncExecCallback Modifier and Type Class Description (package private) static class
AsyncCachingExec.AsyncExecCallbackWrapper
(package private) class
AsyncCachingExec.BackendResponseHandler
Fields in org.apache.hc.client5.http.impl.cache declared as AsyncExecCallback Modifier and Type Field Description private AsyncExecCallback
AsyncCachingExec.AsyncExecCallbackWrapper. asyncExecCallback
private AsyncExecCallback
AsyncCachingExec.BackendResponseHandler. asyncExecCallback
private AsyncExecCallback
AsyncCachingExec.CachingAsyncDataConsumer. fallback
Methods in org.apache.hc.client5.http.impl.cache with parameters of type AsyncExecCallback 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)
void
DefaultAsyncCacheRevalidator.RevalidationCall. execute(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)
void
DefaultAsyncCacheRevalidator. revalidateCacheEntry(java.lang.String cacheKey, AsyncExecCallback asyncExecCallback, DefaultAsyncCacheRevalidator.RevalidationCall call)
Schedules an asynchronous re-validationprivate void
AsyncCachingExec. triggerResponse(SimpleHttpResponse cacheResponse, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback)
Constructors in org.apache.hc.client5.http.impl.cache with parameters of type AsyncExecCallback Constructor Description AsyncExecCallbackWrapper(AsyncExecCallback asyncExecCallback, java.lang.Runnable command)
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)
CachingAsyncDataConsumer(AsyncExecCallback fallback, org.apache.hc.core5.http.HttpResponse backendResponse, org.apache.hc.core5.http.EntityDetails entityDetails)
-