Public Member Functions | |
def | __init__ |
def | finish |
def | write |
Public Attributes | |
address | |
no_keep_alive | |
request_callback | |
stream | |
xheaders | |
Private Member Functions | |
def | _finish_request |
def | _on_headers |
def | _on_request_body |
def | _on_write_complete |
Private Attributes | |
_header_callback | |
_request | |
_request_finished | |
_write_callback |
Handles a connection to an HTTP client, executing HTTP requests. We parse HTTP headers and bodies, and execute the request callback until the HTTP conection is closed.
Definition at line 154 of file httpserver.py.
def tornado.httpserver.HTTPConnection.__init__ | ( | self, | |
stream, | |||
address, | |||
request_callback, | |||
no_keep_alive = False , |
|||
xheaders = False |
|||
) |
Definition at line 160 of file httpserver.py.
def tornado.httpserver.HTTPConnection._finish_request | ( | self | ) | [private] |
Definition at line 204 of file httpserver.py.
def tornado.httpserver.HTTPConnection._on_headers | ( | self, | |
data | |||
) | [private] |
Definition at line 225 of file httpserver.py.
def tornado.httpserver.HTTPConnection._on_request_body | ( | self, | |
data | |||
) | [private] |
Definition at line 269 of file httpserver.py.
def tornado.httpserver.HTTPConnection._on_write_complete | ( | self | ) | [private] |
Definition at line 189 of file httpserver.py.
def tornado.httpserver.HTTPConnection.finish | ( | self | ) |
Finishes the request.
Definition at line 182 of file httpserver.py.
def tornado.httpserver.HTTPConnection.write | ( | self, | |
chunk, | |||
callback = None |
|||
) |
Writes a chunk of output to the stream.
Definition at line 175 of file httpserver.py.
Definition at line 160 of file httpserver.py.
Definition at line 160 of file httpserver.py.
Definition at line 160 of file httpserver.py.
Definition at line 160 of file httpserver.py.
Definition at line 160 of file httpserver.py.
Definition at line 160 of file httpserver.py.
Definition at line 160 of file httpserver.py.
Definition at line 160 of file httpserver.py.
Definition at line 160 of file httpserver.py.