org.apache.http.HttpServerConnection |
Known Indirect Subclasses |
A server-side HTTP connection, which can be used for receiving requests and sending responses.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sends all pending buffered data over this connection.
| |||||||||||
Receives the next request entity available from this connection and attaches it to
an existing request.
| |||||||||||
Receives the request line and all headers available from this connection.
| |||||||||||
Sends the response entity of a response over this connection.
| |||||||||||
Sends the response line and headers of a response over this connection.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.http.HttpConnection
|
Sends all pending buffered data over this connection.
IOException | in case of an I/O error |
---|
Receives the next request entity available from this connection and attaches it to an existing request.
request | the request to attach the entity to. |
---|
HttpException | in case of HTTP protocol violation |
---|---|
IOException | in case of an I/O error |
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.
HttpException | in case of HTTP protocol violation |
---|---|
IOException | in case of an I/O error |
Sends the response entity of a response over this connection.
response | the response whose entity to send. |
---|
HttpException | in case of HTTP protocol violation |
---|---|
IOException | in case of an I/O error |
Sends the response line and headers of a response over this connection.
response | the response whose headers to send. |
---|
HttpException | in case of HTTP protocol violation |
---|---|
IOException | in case of an I/O error |