An HTTP connection for use on the server side.
Requests are received, responses are sent.
author: Oleg Kalnichevski version: $Revision: 542199 $ since: 4.0
Method Summary
void
flush() Sends all pending buffered data over this connection.
Receives the next request entity available from this connection and attaches it to
an existing request.
Parameters: request - the request to attach the entity to. throws: HttpException - throws: 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.
a new HttpRequest object whose request line and headers areinitialized. throws: HttpException - throws: IOException -
Sends the response entity of a response over this connection.
Parameters: response - the response whose entity to send. throws: HttpException - throws: IOException -
Sends the response line and headers of a response over this connection.
Parameters: response - the response whose headers to send. throws: HttpException - throws: IOException -