class documentation

class HttpResponder(object):

View In Hierarchy

Undocumented

Method __call__ Handles a request.
Method __init__ Initializes this class.
Static Method _Finalize Undocumented
Static Method _SetError Sets the response code and body from a HttpException.
Instance Variable _handler Undocumented
def __call__(self, fn):

Handles a request.

Parameters
fn:callableCallback for retrieving HTTP request, must return a tuple containing request message (http.HttpMessage) and None or the message reader (_HttpClientToServerMessageReader)
def __init__(self, handler):

Initializes this class.

@staticmethod
def _Finalize(responses, msg):

Undocumented

@staticmethod
def _SetError(responses, handler, response_msg, err):

Sets the response code and body from a HttpException.

Parameters
responsesUndocumented
handlerUndocumented
response_msgUndocumented
err:HttpExceptionException instance
_handler =

Undocumented