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 TypeMethodDescriptionvoidAsyncExecChainHandler.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.voidAsyncExecChain.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.voidAsyncExecChain.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 voidAsyncExecChain.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 AsyncExecCallbackInternalAbstractHttpAsyncClient.ScheduledRequestExecution.asyncExecCallbackMethods in org.apache.hc.client5.http.impl.async with parameters of type AsyncExecCallbackModifier and TypeMethodDescriptionprivate voidAsyncConnectExec.createTunnel(AsyncConnectExec.State state, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost nextHop, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback) voidAsyncConnectExec.execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) voidAsyncExecChainElement.execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecCallback asyncExecCallback) voidAsyncHttpRequestRetryExec.execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) voidAsyncProtocolExec.execute(org.apache.hc.core5.http.HttpRequest userRequest, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) voidAsyncRedirectExec.execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) voidH2AsyncMainClientExec.execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) voidHttpAsyncMainClientExec.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) voidInternalAbstractHttpAsyncClient.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) voidInternalAbstractHttpAsyncClient.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 voidAsyncHttpRequestRetryExec.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 voidAsyncProtocolExec.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 voidAsyncRedirectExec.internalExecute(AsyncRedirectExec.State state, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) private voidAsyncConnectExec.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) classFields in org.apache.hc.client5.http.impl.cache declared as AsyncExecCallbackModifier and TypeFieldDescriptionprivate final AsyncExecCallbackAsyncCachingExec.AsyncExecCallbackWrapper.asyncExecCallbackprivate final AsyncExecCallbackAsyncCachingExec.BackendResponseHandler.asyncExecCallbackprivate final AsyncExecCallbackAsyncCachingExec.CachingAsyncDataConsumer.fallbackMethods in org.apache.hc.client5.http.impl.cache with parameters of type AsyncExecCallbackModifier and TypeMethodDescription(package private) voidAsyncCachingExec.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) voidAsyncCachingExec.chainProceed(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) voidAsyncCachingExec.execute(org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) voidDefaultAsyncCacheRevalidator.RevalidationCall.execute(AsyncExecCallback asyncExecCallback) private voidAsyncCachingExec.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 voidAsyncCachingExec.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) voidAsyncCachingExec.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) voidAsyncCachingExec.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) voidDefaultAsyncCacheRevalidator.revalidateCacheEntry(String cacheKey, AsyncExecCallback asyncExecCallback, DefaultAsyncCacheRevalidator.RevalidationCall call) Schedules an asynchronous re-validationprivate voidAsyncCachingExec.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)