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, storeCookiepublic HttpReceiverOverFCGI(HttpChannel channel)
protected boolean responseBegin(HttpExchange exchange)
HttpReceiverResponse object of the HttpExchange
prior invoking this method.
This method takes case of notifying Response.BeginListeners.responseBegin in class HttpReceiverexchange - the HTTP exchangeprotected boolean responseHeader(HttpExchange exchange, HttpField field)
HttpReceiverResponse object of the HttpExchange
prior invoking this method.
This method takes case of notifying Response.HeaderListeners and storing cookies.responseHeader in class HttpReceiverexchange - the HTTP exchangefield - the response HTTP fieldprotected boolean responseHeaders(HttpExchange exchange)
HttpReceiverResponse.HeadersListeners.responseHeaders in class HttpReceiverexchange - the HTTP exchangeprotected boolean responseContent(HttpExchange exchange, ByteBuffer buffer, Callback callback)
HttpReceiverResponse.ContentListeners.responseContent in class HttpReceiverexchange - the HTTP exchangebuffer - the response HTTP content bufferprotected boolean responseSuccess(HttpExchange exchange)
HttpReceiverResponse.SuccessListeners and possibly
Response.CompleteListeners (if the exchange is completed).responseSuccess in class HttpReceiverexchange - the HTTP exchangeprotected boolean responseFailure(Throwable failure)
HttpReceiverResponse.FailureListeners.responseFailure in class HttpReceiverfailure - the response failureCopyright © 1995-2015 Webtide. All Rights Reserved.