Example usage for Java org.apache.http.nio.protocol HttpAsyncExchange fields, constructors, methods, implement or subclass
The text is from its open source code.
HttpResponse | getResponse() Returns the default HTTP response message. |
void | setCallback(Cancellable cancellable) Sets Cancellable callback to be invoked in case the underlying connection times out or gets terminated prematurely by the client. |
void | setTimeout(int timeout) Sets timeout for this message exchange. |
void | submitResponse(HttpAsyncResponseProducer responseProducer) Submits an HTTP response using a custom HttpAsyncResponseProducer . |