Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
tornado.simple_httpclient._HTTPConnection Class Reference
Inheritance diagram for tornado.simple_httpclient._HTTPConnection:
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

 chunks
 client
 code
 connection
 final_callback
 headers
 io_loop
 max_buffer_size
 max_header_size
 parsed
 parsed_hostname
 reason
 release_callback
 request
 start_time
 stream
 tcp_client

Private Member Functions

def _get_ssl_options
def _handle_exception
def _on_connect
def _on_end_request
def _on_timeout
def _read_response
def _release
def _remove_timeout
def _run_callback
def _write_body

Private Attributes

 _decompressor
 _sockaddr
 _timeout

Static Private Attributes

tuple _SUPPORTED_METHODS = set(["GET", "HEAD", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"])

Detailed Description

Definition at line 167 of file simple_httpclient.py.


Constructor & Destructor Documentation

def tornado.simple_httpclient._HTTPConnection.__init__ (   self,
  io_loop,
  client,
  request,
  release_callback,
  final_callback,
  max_buffer_size,
  tcp_client,
  max_header_size 
)

Definition at line 170 of file simple_httpclient.py.


Member Function Documentation

def tornado.simple_httpclient._HTTPConnection._get_ssl_options (   self,
  scheme 
) [private]

Definition at line 228 of file simple_httpclient.py.

def tornado.simple_httpclient._HTTPConnection._handle_exception (   self,
  typ,
  value,
  tb 
) [private]

Definition at line 400 of file simple_httpclient.py.

def tornado.simple_httpclient._HTTPConnection._on_connect (   self,
  stream 
) [private]

Definition at line 275 of file simple_httpclient.py.

Definition at line 497 of file simple_httpclient.py.

Definition at line 265 of file simple_httpclient.py.

Definition at line 380 of file simple_httpclient.py.

Definition at line 387 of file simple_httpclient.py.

Definition at line 270 of file simple_httpclient.py.

def tornado.simple_httpclient._HTTPConnection._run_callback (   self,
  response 
) [private]

Definition at line 393 of file simple_httpclient.py.

def tornado.simple_httpclient._HTTPConnection._write_body (   self,
  start_read 
) [private]

Definition at line 362 of file simple_httpclient.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 500 of file simple_httpclient.py.

Called after the last chunk of data has been received.

Reimplemented from tornado.httputil.HTTPMessageDelegate.

Definition at line 447 of file simple_httpclient.py.

def tornado.simple_httpclient._HTTPConnection.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.

Reimplemented in tornado.websocket.WebSocketClientConnection.

Definition at line 432 of file simple_httpclient.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.

Reimplemented in tornado.websocket.WebSocketClientConnection.

Definition at line 422 of file simple_httpclient.py.


Member Data Documentation

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

tuple tornado::simple_httpclient._HTTPConnection::_SUPPORTED_METHODS = set(["GET", "HEAD", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"]) [static, private]

Definition at line 168 of file simple_httpclient.py.

Reimplemented in tornado.websocket.WebSocketClientConnection.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 275 of file simple_httpclient.py.

Reimplemented in tornado.websocket.WebSocketClientConnection.

Definition at line 170 of file simple_httpclient.py.

Reimplemented in tornado.websocket.WebSocketClientConnection.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 432 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Definition at line 170 of file simple_httpclient.py.

Reimplemented in tornado.websocket.WebSocketClientConnection.

Definition at line 275 of file simple_httpclient.py.

Reimplemented in tornado.websocket.WebSocketClientConnection.

Definition at line 170 of file simple_httpclient.py.


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


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Thu Jun 6 2019 21:51:51