public class HttpReceiverOverFCGI extends HttpReceiver
LOG
Constructor and Description |
---|
HttpReceiverOverFCGI(HttpChannel channel) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
responseBegin(HttpExchange exchange)
Method to be invoked when the response status code is available.
|
protected boolean |
responseContent(HttpExchange exchange,
ByteBuffer buffer,
Callback callback)
Method to be invoked when response HTTP content is available.
|
protected boolean |
responseFailure(Throwable failure)
Method to be invoked when the response is failed.
|
protected boolean |
responseHeader(HttpExchange exchange,
HttpField field)
Method to be invoked when a response HTTP header is available.
|
protected boolean |
responseHeaders(HttpExchange exchange)
Method to be invoked after all response HTTP headers are available.
|
protected boolean |
responseSuccess(HttpExchange exchange)
Method to be invoked when the response is successful.
|
abort, dispose, getHttpChannel, getHttpDestination, getHttpExchange, reset, storeCookie, toString
public HttpReceiverOverFCGI(HttpChannel channel)
protected boolean responseBegin(HttpExchange exchange)
HttpReceiver
Response
object of the HttpExchange
prior invoking this method.
This method takes case of notifying Response.BeginListener
s.responseBegin
in class HttpReceiver
exchange
- the HTTP exchangeprotected boolean responseHeader(HttpExchange exchange, HttpField field)
HttpReceiver
Response
object of the HttpExchange
prior invoking this method.
This method takes case of notifying Response.HeaderListener
s and storing cookies.responseHeader
in class HttpReceiver
exchange
- the HTTP exchangefield
- the response HTTP fieldprotected boolean responseHeaders(HttpExchange exchange)
HttpReceiver
Response.HeadersListener
s.responseHeaders
in class HttpReceiver
exchange
- the HTTP exchangeprotected boolean responseContent(HttpExchange exchange, ByteBuffer buffer, Callback callback)
HttpReceiver
Response.ContentListener
s.responseContent
in class HttpReceiver
exchange
- the HTTP exchangebuffer
- the response HTTP content bufferprotected boolean responseSuccess(HttpExchange exchange)
HttpReceiver
Response.SuccessListener
s and possibly
Response.CompleteListener
s (if the exchange is completed).responseSuccess
in class HttpReceiver
exchange
- the HTTP exchangeprotected boolean responseFailure(Throwable failure)
HttpReceiver
Response.FailureListener
s.responseFailure
in class HttpReceiver
failure
- the response failureCopyright © 1995-2015 Webtide. All Rights Reserved.