| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | receiveRequestEntity(HttpEntityEnclosingRequest
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 HttpRequest | Returns: a new HttpRequest object whose request line and headers are initialized.Receives the request line and all headers available from this connection. |
| public void | sendResponseEntity(HttpResponse
the response whose entity to send. response)Sends the response entity of a response over this connection. |
| public void | sendResponseHeader(HttpResponse
the response whose headers to send. response)Sends the response line and headers of a response over this connection. |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Sends all pending buffered data over this connection.
| |
| receiveRequestEntity | back to summary |
|---|---|
| public void receiveRequestEntity(HttpEntityEnclosingRequest 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 HttpRequest 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(HttpResponse response) throws HttpException, IOException Sends the response entity of a response over this connection.
| |
| sendResponseHeader | back to summary |
|---|---|
| public void sendResponseHeader(HttpResponse response) throws HttpException, IOException Sends the response line and headers of a response over this connection.
| |