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

List of all members.

Public Member Functions

def __init__
def data_received
def finish
def headers_received
def on_connection_close

Private Attributes

 _chunk_size
 _decompressor
 _delegate

Detailed Description

Wraps an `HTTPMessageDelegate` to decode ``Content-Encoding: gzip``.

Definition at line 576 of file http1connection.py.


Constructor & Destructor Documentation

def tornado.http1connection._GzipMessageDelegate.__init__ (   self,
  delegate,
  chunk_size 
)

Definition at line 579 of file http1connection.py.


Member Function Documentation

Called when a chunk of data has been received.

May return a `.Future` for flow control.

Reimplemented from tornado.httputil.HTTPMessageDelegate.

Definition at line 596 of file http1connection.py.

Called after the last chunk of data has been received.

Reimplemented from tornado.httputil.HTTPMessageDelegate.

Definition at line 609 of file http1connection.py.

def tornado.http1connection._GzipMessageDelegate.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 584 of file http1connection.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 621 of file http1connection.py.


Member Data Documentation

Definition at line 579 of file http1connection.py.

Definition at line 579 of file http1connection.py.

Definition at line 579 of file http1connection.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