| Modifier and Type | Method and Description |
|---|---|
| public < the result type of request execution. T> Future | Returns: future representing pending completion of the operation.request producer callback. requestProducer, AsyncResponseConsumer<T> response consumer callback. responseConsumer, HandlerFactory<AsyncPushConsumer> the push handler factory. Optional and may be pushHandlerFactory, HttpContext null.HTTP context. Optional and may be context, FutureCallback<T> null.future callback. Optional and may be callback)null.Initiates asynchronous HTTP request execution using the given context. |
| execute | back to summary |
|---|---|
| public <T> Future Initiates asynchronous HTTP request execution using the given context. The request producer passed to this method will be used to generate a request message and stream out its content without buffering it in memory. The response consumer passed to this method will be used to process a response message without buffering its content in memory. Please note it may be unsafe to interact with the context instance while the request is still being executed.
| |