Uses of Interface
org.apache.hc.client5.http.async.AsyncExecCallback
Packages that use AsyncExecCallback
Package
Description
HTTP client APIs based on the asynchronous, event driven I/O model.
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
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 AsyncExecCallbackModifier and TypeMethodDescriptionvoid
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 AsyncExecCallbackModifier and TypeFieldDescription(package private) final AsyncExecCallback
InternalAbstractHttpAsyncClient.ScheduledRequestExecution.asyncExecCallback
Methods in org.apache.hc.client5.http.impl.async with parameters of type AsyncExecCallbackModifier and TypeMethodDescriptionprivate 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, String pathPrefix, AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, 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 AsyncExecCallbackModifierConstructorDescription(package private)
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 AsyncExecCallbackModifier and TypeClassDescription(package private) static class
(package private) class
Fields in org.apache.hc.client5.http.impl.cache declared as AsyncExecCallbackModifier and TypeFieldDescriptionprivate final AsyncExecCallback
AsyncCachingExec.AsyncExecCallbackWrapper.asyncExecCallback
private final AsyncExecCallback
AsyncCachingExec.BackendResponseHandler.asyncExecCallback
private final AsyncExecCallback
AsyncCachingExec.CachingAsyncDataConsumer.fallback
Methods in org.apache.hc.client5.http.impl.cache with parameters of type AsyncExecCallbackModifier and TypeMethodDescription(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, Map<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
(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 AsyncExecCallbackModifierConstructorDescription(package private)
AsyncExecCallbackWrapper
(AsyncExecCallback asyncExecCallback, Runnable command) (package private)
BackendResponseHandler
(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.HttpRequest request, Instant requestDate, Instant responseDate, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback) (package private)
CachingAsyncDataConsumer
(AsyncExecCallback fallback, org.apache.hc.core5.http.HttpResponse backendResponse, org.apache.hc.core5.http.EntityDetails entityDetails)