|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpServerConnection
An HTTP connection for use on the server side. Requests are received, responses are sent.
| Method Summary | |
|---|---|
void |
flush()
Sends all pending buffered data over this connection. |
void |
receiveRequestEntity(HttpEntityEnclosingRequest request)
Receives the next request entity available from this connection and attaches it to an existing request. |
HttpRequest |
receiveRequestHeader()
Receives the request line and all headers available from this connection. |
void |
sendResponseEntity(HttpResponse response)
Sends the response entity of a response over this connection. |
void |
sendResponseHeader(HttpResponse response)
Sends the response line and headers of a response over this connection. |
| Methods inherited from interface org.apache.http.HttpConnection |
|---|
close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout, shutdown |
| Method Detail |
|---|
HttpRequest receiveRequestHeader()
throws HttpException,
IOException
HttpException
IOException
void receiveRequestEntity(HttpEntityEnclosingRequest request)
throws HttpException,
IOException
request - the request to attach the entity to.
HttpException
IOException
void sendResponseHeader(HttpResponse response)
throws HttpException,
IOException
response - the response whose headers to send.
HttpException
IOException
void sendResponseEntity(HttpResponse response)
throws HttpException,
IOException
response - the response whose entity to send.
HttpException
IOException
void flush()
throws IOException
IOException
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||