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,
java.nio.ByteBuffer buffer,
Callback callback)
Method to be invoked when response HTTP content is available.
|
protected boolean |
responseFailure(java.lang.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, isFailed, reset, storeCookie, toStringpublic HttpReceiverOverFCGI(HttpChannel channel)
protected boolean responseBegin(HttpExchange exchange)
HttpReceiver
Subclasses must have set the response status code on the Response 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)
HttpReceiver
Subclasses must not have added the header to the Response 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)
HttpReceiver
This method takes case of notifying Response.HeadersListeners.
responseHeaders in class HttpReceiverexchange - the HTTP exchangeprotected boolean responseContent(HttpExchange exchange, java.nio.ByteBuffer buffer, Callback callback)
HttpReceiver
This method takes case of decoding the content, if necessary, and notifying Response.ContentListeners.
responseContent in class HttpReceiverexchange - the HTTP exchangebuffer - the response HTTP content buffercallback - the callbackprotected boolean responseSuccess(HttpExchange exchange)
HttpReceiver
This method takes case of notifying Response.SuccessListeners and possibly
Response.CompleteListeners (if the exchange is completed).
responseSuccess in class HttpReceiverexchange - the HTTP exchangeprotected boolean responseFailure(java.lang.Throwable failure)
HttpReceiver
This method takes care of notifying Response.FailureListeners.
responseFailure in class HttpReceiverfailure - the response failureCopyright © 1995–2018 Webtide. All rights reserved.