Example usage for Java org.apache.http.nio.protocol HttpAsyncResponseConsumer fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | cancel() |
void | close() Closes this stream and releases any system resources associated with it. |
void | consumeContent(ContentDecoder decoder, IOControl ioctrl) Invoked to process a chunk of content from the ContentDecoder . |
void | failed(Exception ex) Invoked to signal that the response processing terminated abnormally. |
Exception | getException() Returns an exception in case of an abnormal termination. |
T | getResult() Returns a result of the response processing, when available. |
void | responseCompleted(HttpContext context) Invoked to signal that the response has been fully processed. |
void | responseReceived(HttpResponse response) Invoked when a HTTP response message is received. |