Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
tornado.httpserver._ServerRequestAdapter Class Reference
Inheritance diagram for tornado.httpserver._ServerRequestAdapter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def data_received
def finish
def headers_received
def on_connection_close

Public Attributes

 connection
 delegate
 request
 server

Private Member Functions

def _cleanup

Private Attributes

 _chunks

Detailed Description

Adapts the `HTTPMessageDelegate` interface to the interface expected
by our clients.

Definition at line 244 of file httpserver.py.


Constructor & Destructor Documentation

def tornado.httpserver._ServerRequestAdapter.__init__ (   self,
  server,
  connection 
)

Definition at line 248 of file httpserver.py.


Member Function Documentation

Definition at line 292 of file httpserver.py.

Called when a chunk of data has been received.

May return a `.Future` for flow control.

Reimplemented from tornado.httputil.HTTPMessageDelegate.

Definition at line 270 of file httpserver.py.

Called after the last chunk of data has been received.

Reimplemented from tornado.httputil.HTTPMessageDelegate.

Definition at line 276 of file httpserver.py.

def tornado.httpserver._ServerRequestAdapter.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.

Definition at line 260 of file httpserver.py.

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.

Definition at line 285 of file httpserver.py.


Member Data Documentation

Definition at line 248 of file httpserver.py.

Definition at line 248 of file httpserver.py.

Definition at line 248 of file httpserver.py.

Definition at line 248 of file httpserver.py.

Definition at line 248 of file httpserver.py.


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


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Thu Aug 27 2015 14:50:40