| org.apache.http.nio.NHttpClientConnection
NHttpClientConnection | public interface NHttpClientConnection extends NHttpConnection(Code) | | Abstract non-blocking client-side HTTP connection. It can be used to
submit HTTP requests and asynchronously receive HTTP responses.
author: Oleg Kalnichevski |
Method Summary | |
boolean | isRequestSubmitted() Returns true if an HTTP request has been submitted to the
target server.
true if an HTTP request has been submitted, false otherwise. | void | resetInput() Resets output state. | void | resetOutput() Resets input state. | void | submitRequest(HttpRequest request) Submits the HTTP request to the target server. |
isRequestSubmitted | boolean isRequestSubmitted()(Code) | | Returns true if an HTTP request has been submitted to the
target server.
true if an HTTP request has been submitted, false otherwise. |
resetInput | void resetInput()(Code) | | Resets output state. This method can be used to prematurely terminate
processing of the incoming HTTP response.
|
resetOutput | void resetOutput()(Code) | | Resets input state. This method can be used to prematurely terminate
processing of the outgoing HTTP request.
|
|
|