Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
tornado.httpserver.HTTPConnection Class Reference

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

def tornado.httpserver.HTTPConnection.__init__ (   self,
  stream,
  address,
  request_callback,
  no_keep_alive = False,
  xheaders = False 
)

Definition at line 160 of file httpserver.py.


Member Function Documentation

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.

Definition at line 189 of file httpserver.py.

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


roswww
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:30