| java.lang.Object seda.sandStorm.lib.http.httpResponder
Constructor Summary | |
public | httpResponder(httpResponse resp, httpConnection conn, boolean closeConnection, boolean sendHeader) Create an httpResponder with the given response and connection. | public | httpResponder(httpResponse resp, httpConnection conn, boolean closeConnection) Create an httpResponder with the given response and connection. | public | httpResponder(httpResponse resp, httpConnection conn) Create an httpResponder with the given response and connection. | public | httpResponder(httpResponse resp, httpRequest req, boolean closeConnection, boolean sendHeader) Create an httpResponder with the given response, with the
connection being derived from the given request. | public | httpResponder(httpResponse resp, httpRequest req, boolean closeConnection) Create an httpResponder with the given response, with the
connection being derived from the given request. | public | httpResponder(httpResponse resp, httpRequest req) Create an httpResponder with the given response, with the
connection being derived from the given request. |
httpResponder | public httpResponder(httpResponse resp, httpConnection conn, boolean closeConnection, boolean sendHeader)(Code) | | Create an httpResponder with the given response and connection.
Parameters: closeConnection - Indicate that the connection should beclosed after sending this response. Parameters: sendHeader - Indicate that the header of the response shouldbe sent along with the payload. |
httpResponder | public httpResponder(httpResponse resp, httpConnection conn, boolean closeConnection)(Code) | | Create an httpResponder with the given response and connection.
Parameters: closeConnection - Indicate that the connection should beclosed after sending this response. |
httpResponder | public httpResponder(httpResponse resp, httpRequest req, boolean closeConnection, boolean sendHeader)(Code) | | Create an httpResponder with the given response, with the
connection being derived from the given request.
Parameters: closeConnection - Indicate that the connection should beclosed after sending this response. Parameters: sendHeader - Indicate that the header of the response shouldbe sent along with the payload. |
httpResponder | public httpResponder(httpResponse resp, httpRequest req, boolean closeConnection)(Code) | | Create an httpResponder with the given response, with the
connection being derived from the given request.
Parameters: closeConnection - Indicate that the connection should beclosed after sending this response. |
httpResponder | public httpResponder(httpResponse resp, httpRequest req)(Code) | | Create an httpResponder with the given response, with the
connection being derived from the given request.
|
getResponse | public httpResponse getResponse()(Code) | | Return the response for this responder.
|
sendHeader | public boolean sendHeader()(Code) | | Returns whether the response header should be sent.
|
shouldClose | public boolean shouldClose()(Code) | | Returns whether the connection should be closed after sending this
response.
|
|
|