Java org.apache.http.nio.protocol HttpAsyncExchange fields, constructors, methods, implement or subclass

Example usage for Java org.apache.http.nio.protocol HttpAsyncExchange fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.http.nio.protocol HttpAsyncExchange.

The text is from its open source code.

Method

HttpResponsegetResponse()
Returns the default HTTP response message.
voidsetCallback(Cancellable cancellable)
Sets Cancellable callback to be invoked in case the underlying connection times out or gets terminated prematurely by the client.
voidsetTimeout(int timeout)
Sets timeout for this message exchange.
voidsubmitResponse(HttpAsyncResponseProducer responseProducer)
Submits an HTTP response using a custom HttpAsyncResponseProducer .