| Modifier and Type | Method and Description |
|---|---|
| public void | receiveRequestEntity(ClassicHttpRequest
the request to attach the entity to. request)Receives the next request entity available from this connection and attaches it to an existing request. |
| public ClassicHttpRequest | Returns: a new HttpRequest object whose request line and headers are initialized ornull if the connection has been closed
by the opposite endpoint.Receives the request line and all headers available from this connection. |
| public void | sendResponseEntity(ClassicHttpResponse
the response whose entity to send. response)Sends the response entity of a response over this connection. |
| public void | sendResponseHeader(ClassicHttpResponse
the response whose headers to send. response)Sends the response line and headers of a response over this connection. |
| receiveRequestEntity | back to summary |
|---|---|
| public void receiveRequestEntity(ClassicHttpRequest request) throws HttpException, IOException Receives the next request entity available from this connection and attaches it to an existing request.
| |
| receiveRequestHeader | back to summary |
|---|---|
| public ClassicHttpRequest receiveRequestHeader() throws HttpException, IOException Receives the request line and all headers available from this connection. The caller should examine the returned request and decide if to receive a request entity as well.
| |
| sendResponseEntity | back to summary |
|---|---|
| public void sendResponseEntity(ClassicHttpResponse response) throws HttpException, IOException Sends the response entity of a response over this connection.
| |
| sendResponseHeader | back to summary |
|---|---|
| public void sendResponseHeader(ClassicHttpResponse response) throws HttpException, IOException Sends the response line and headers of a response over this connection.
| |