public interface NHttpServerConnection extends NHttpConnection
NHttpConnectionACTIVE, CLOSED, CLOSING| Modifier and Type | Method and Description |
|---|---|
boolean |
isResponseSubmitted()
Returns
true if an HTTP response has been submitted to the
client. |
void |
resetInput()
Resets output state.
|
void |
resetOutput()
Resets input state.
|
void |
submitResponse(HttpResponse response)
Submits {link @HttpResponse} to be sent to the client.
|
getContext, getHttpRequest, getHttpResponse, getStatusclose, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdownrequestInput, requestOutput, shutdown, suspendInput, suspendOutputvoid submitResponse(HttpResponse response) throws IOException, HttpException
response - HTTP responseIOException - if I/O error occurs while submitting the responseHttpException - if the HTTP response violates the HTTP protocol.boolean isResponseSubmitted()
true if an HTTP response has been submitted to the
client.true if an HTTP response has been submitted,
false otherwise.void resetInput()
void resetOutput()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.