Public Member Functions | Private Attributes
rosbridge_tools.tornado.http1connection._GzipMessageDelegate Class Reference
Inheritance diagram for rosbridge_tools.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 rosbridge_tools.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 rosbridge_tools.tornado.httputil.HTTPMessageDelegate.

Definition at line 596 of file http1connection.py.

Called after the last chunk of data has been received.

Reimplemented from rosbridge_tools.tornado.httputil.HTTPMessageDelegate.

Definition at line 609 of file http1connection.py.

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 rosbridge_tools.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 rosbridge_tools.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_tools
Author(s): Jonathan Mace
autogenerated on Sat Dec 27 2014 11:25:59