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 voidAsyncExecChainHandler. 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 AsyncExecCallback Modifier and Type Field Description (package private) AsyncExecCallbackInternalAbstractHttpAsyncClient.ScheduledRequestExecution. asyncExecCallbackMethods in org.apache.hc.client5.http.impl.async with parameters of type AsyncExecCallback Modifier and Type Method Description private 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, 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 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 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 classAsyncCachingExec.AsyncExecCallbackWrapper(package private) classAsyncCachingExec.BackendResponseHandlerFields in org.apache.hc.client5.http.impl.cache declared as AsyncExecCallback Modifier and Type Field Description private AsyncExecCallbackAsyncCachingExec.AsyncExecCallbackWrapper. asyncExecCallbackprivate AsyncExecCallbackAsyncCachingExec.BackendResponseHandler. asyncExecCallbackprivate AsyncExecCallbackAsyncCachingExec.CachingAsyncDataConsumer. fallbackMethods in org.apache.hc.client5.http.impl.cache with parameters of type AsyncExecCallback Modifier and Type Method Description (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, java.util.Map<java.lang.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(java.lang.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 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)
-