TaskHttpConnectionHandler.handleHttpServerException

Handles HTTP server exception e which was thrown while parsing the request message or from handleRequest() or request_msg_body_length() and is not a HttpException. A subclass may override this method to be notified when an exception is thrown and decide whether the connection may stay persistent or should be closed after the response has been sent. The default behaviour is allowing the connection to stay persistent.

class TaskHttpConnectionHandler
protected
bool
handleHttpServerException

Parameters

e HttpServerException

HTTP server exception e which was thrown while parsing the request message or from handleRequest() or request_msg_body_length() and is not a HttpException.

Return Value

Type: bool

true if the connection may stay persistent or false if it must be closed after the response has been sent.

Meta