@Contract(threading=STATELESS)
public interface AsyncExecChain
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AsyncExecChain.Scheduler
Request execution scheduler
|
static class |
AsyncExecChain.Scope
Request execution scope that includes the unique message exchange ID,
the connection route, the original request message, the execution
context and the internal execution runtime.
|
| Modifier and Type | Method and Description |
|---|---|
void |
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 proceed(org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer,
AsyncExecChain.Scope scope,
AsyncExecCallback asyncExecCallback)
throws org.apache.hc.core5.http.HttpException,
IOException
request - the actual request.entityProducer - the request entity producer or null if the request
does not enclose an entity.scope - the execution scope .asyncExecCallback - the execution callback.org.apache.hc.core5.http.HttpExceptionIOExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.