For information regarding the handler chain behaviour in case of a request re-execution,
please refer to the AsyncHttpRequestRetryExec javadoc.
Well known request execution handlers could be referred to by name using one of the
ChainElement enum values.
ChainElement, HttpAsyncClientBuilder#addExecInterceptorFirst(String, AsyncExecChainHandler), HttpAsyncClientBuilder#addExecInterceptorBefore(String, String, AsyncExecChainHandler), HttpAsyncClientBuilder#addExecInterceptorAfter(String, String, AsyncExecChainHandler), HttpAsyncClientBuilder#addExecInterceptorLast(String, AsyncExecChainHandler)
| Modifier and Type | Method and Description |
|---|---|
| public void | execute(HttpRequest
the actual request. request, AsyncEntityProducer the request entity producer or entityProducer, AsyncExecChain.null if the request
does not enclose an entity.the execution scope . scope,the next element in the request execution chain. chain, AsyncExecCallback the execution callback. asyncExecCallback)Executes the actual HTTP request. |
| execute | back to summary |
|---|---|
| public void execute(HttpRequest request, AsyncEntityProducer entityProducer, AsyncExecChain. Executes the actual HTTP request. The handler can choose to return a response message immediately inside the call or asynchronously at some later point or delegate request execution to the next element in the execution chain.
| |