Example usage for Java org.apache.http.nio.protocol HttpAsyncRequestProducer fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes this stream and releases any system resources associated with it. |
void | failed(Exception ex) Invoked to signal that the response processing terminated abnormally. |
HttpRequest | generateRequest() Invoked to generate a HTTP request message head. |
HttpHost | getTarget() Invoked to obtain the request target host. |
boolean | isRepeatable() Determines whether or not this producer is capable of producing HTTP request messages more than once. |
void | produceContent(ContentEncoder encoder, IOControl ioctrl) Invoked to write out a chunk of content to the ContentEncoder . |
void | requestCompleted(HttpContext context) Invoked to signal that the request has been fully written out. |
void | resetRequest() Invoked to reset the producer to its initial state. |