Example usage for Java org.apache.http.nio NHttpServerConnection fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
HttpContext | getContext() Returns an HTTP execution context associated with this connection. |
HttpRequest | getHttpRequest() Returns the current HTTP request if one is being received / transmitted. |
HttpResponse | getHttpResponse() Returns the current HTTP response if one is being received / transmitted. |
HttpConnectionMetrics | getMetrics() |
int | getSocketTimeout() |
boolean | isResponseSubmitted() Returns true if an HTTP response has been submitted to the client. |
void | requestInput() Requests event notifications to be triggered when the underlying channel is ready for input operations. |
void | requestOutput() Requests event notifications to be triggered when the underlying channel is ready for output operations. |
void | shutdown() |
void | submitResponse(HttpResponse response) Submits {link @HttpResponse} to be sent to the client. |
void | suspendInput() Suspends event notifications about the underlying channel being ready for input operations. |