Public Member Functions | |
def | __init__ |
def | data_received |
def | execute |
def | finish |
def | headers_received |
def | on_connection_close |
def | set_request |
Public Attributes | |
application | |
chunks | |
connection | |
handler | |
handler_class | |
handler_kwargs | |
path_args | |
path_kwargs | |
request | |
stream_request_body | |
Private Member Functions | |
def | _find_handler |
def tornado.web._RequestDispatcher.__init__ | ( | self, | |
application, | |||
connection | |||
) |
def tornado.web._RequestDispatcher._find_handler | ( | self | ) | [private] |
def tornado.web._RequestDispatcher.data_received | ( | self, | |
chunk | |||
) |
Called when a chunk of data has been received. May return a `.Future` for flow control.
Reimplemented from tornado.httputil.HTTPMessageDelegate.
def tornado.web._RequestDispatcher.execute | ( | self | ) |
def tornado.web._RequestDispatcher.finish | ( | self | ) |
Called after the last chunk of data has been received.
Reimplemented from tornado.httputil.HTTPMessageDelegate.
def tornado.web._RequestDispatcher.headers_received | ( | self, | |
start_line, | |||
headers | |||
) |
Called when the HTTP headers have been received and parsed. :arg start_line: a `.RequestStartLine` or `.ResponseStartLine` depending on whether this is a client or server message. :arg headers: a `.HTTPHeaders` instance. Some `.HTTPConnection` methods can only be called during ``headers_received``. May return a `.Future`; if it does the body will not be read until it is done.
Reimplemented from tornado.httputil.HTTPMessageDelegate.
Called if the connection is closed without finishing the request. If ``headers_received`` is called, either ``finish`` or ``on_connection_close`` will be called, but not both.
Reimplemented from tornado.httputil.HTTPMessageDelegate.
def tornado.web._RequestDispatcher.set_request | ( | self, | |
request | |||
) |