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