public interface HttpServerConnection extends BHttpConnection
| Modifier and Type | Method and Description | 
|---|---|
| void | receiveRequestEntity(ClassicHttpRequest request)Receives the next request entity available from this connection and attaches it to
 an existing request. | 
| ClassicHttpRequest | receiveRequestHeader()Receives the request line and all headers available from this connection. | 
| void | sendResponseEntity(ClassicHttpResponse response)Sends the response entity of a response over this connection. | 
| void | sendResponseHeader(ClassicHttpResponse response)Sends the response line and headers of a response over this connection. | 
flush, isDataAvailable, isStaleclose, getEndpointDetails, getLocalAddress, getProtocolVersion, getRemoteAddress, getSSLSession, isOpengetSocketTimeout, setSocketTimeoutcloseClassicHttpRequest receiveRequestHeader() throws HttpException, IOException
HttpException - in case of HTTP protocol violationIOException - in case of an I/O errorvoid receiveRequestEntity(ClassicHttpRequest request) throws HttpException, IOException
request - the request to attach the entity to.HttpException - in case of HTTP protocol violationIOException - in case of an I/O errorvoid sendResponseHeader(ClassicHttpResponse response) throws HttpException, IOException
response - the response whose headers to send.HttpException - in case of HTTP protocol violationIOException - in case of an I/O errorvoid sendResponseEntity(ClassicHttpResponse response) throws HttpException, IOException
response - the response whose entity to send.HttpException - in case of HTTP protocol violationIOException - in case of an I/O errorCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.