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

List of all members.

Public Member Functions

def __init__
def close_all_connections
def handle_stream
def on_close
def start_request

Public Attributes

 conn_params
 no_keep_alive
 protocol
 request_callback
 xheaders

Private Attributes

 _connections

Detailed Description

Definition at line 42 of file httpserver.py.


Constructor & Destructor Documentation

def tornado.httpserver.HTTPServer.__init__ (   self,
  request_callback,
  no_keep_alive = False,
  io_loop = None,
  xheaders = False,
  ssl_options = None,
  protocol = None,
  decompress_request = False,
  chunk_size = None,
  max_header_size = None,
  idle_connection_timeout = None,
  body_timeout = None,
  max_body_size = None,
  max_buffer_size = None 
)

Definition at line 137 of file httpserver.py.


Member Function Documentation

Definition at line 160 of file httpserver.py.

def tornado.httpserver.HTTPServer.handle_stream (   self,
  stream,
  address 
)
Override to handle a new `.IOStream` from an incoming connection.

Reimplemented from tornado.tcpserver.TCPServer.

Definition at line 166 of file httpserver.py.

def tornado.httpserver.HTTPServer.on_close (   self,
  server_conn 
)
This method is called when a connection has been closed.

:arg server_conn: is a server connection that has previously been
    passed to ``start_request``.

Reimplemented from tornado.httputil.HTTPServerConnectionDelegate.

Definition at line 177 of file httpserver.py.

def tornado.httpserver.HTTPServer.start_request (   self,
  server_conn,
  request_conn 
)
This method is called by the server when a new request has started.

:arg server_conn: is an opaque object representing the long-lived
    (e.g. tcp-level) connection.
:arg request_conn: is a `.HTTPConnection` object for a single
    request/response exchange.

This method should return a `.HTTPMessageDelegate`.

Reimplemented from tornado.httputil.HTTPServerConnectionDelegate.

Definition at line 174 of file httpserver.py.


Member Data Documentation

Definition at line 137 of file httpserver.py.

Definition at line 137 of file httpserver.py.

Definition at line 137 of file httpserver.py.

Definition at line 137 of file httpserver.py.

Definition at line 137 of file httpserver.py.

Definition at line 137 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