Represents a HTTP response as sent from the server side.
|Finalizes the response. This is usually called automatically by the server.
|Determines if the response does not need a body.
|Sends a redirect request to the client.
|Deprecated - use |
|Sets the specified cookie value.
|Initiates a new session.
|Special method sending a SWITCHING_PROTOCOLS response to the client.
|Terminates the current session (if any).
|Determines if the response is sent over an encrypted connection.
|Waits until either the connection closes or until the given timeout is
|Writes the entire response body at once.
|Writes a JSON message with the specified status
|Writes the whole response body at once, without doing any further encoding.
|Writes the response with no body.
|Compatibility alias - use |