Package cobra :: Module http :: Class CobraHttpRequestHandler
[hide private]
[frames] | no frames]

Class CobraHttpRequestHandler

source code


Request handler for HTTP cobra

Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code
 
do_POST(self) source code
 
do_GET(self) source code
 
setup(self) source code
 
handleClient(self, body=None) source code
 
handleLogin(self, objname, authinfo) source code
 
handleHello(self, objname)
Hello messages are used to get the initial cache of method names for the newly connected object.
source code
 
handleGetAttr(self, objname, attr) source code
 
handleSetAttr(self, objname, name, value) source code

Inherited from BaseHTTPServer.BaseHTTPRequestHandler: address_string, date_time_string, end_headers, handle, handle_one_request, log_date_time_string, log_error, log_message, log_request, parse_request, send_error, send_header, send_response, version_string

Inherited from SocketServer.StreamRequestHandler: finish

Class Variables [hide private]

Inherited from BaseHTTPServer.BaseHTTPRequestHandler: MessageClass, default_request_version, error_content_type, error_message_format, monthname, protocol_version, responses, server_version, sys_version, weekdayname

Inherited from SocketServer.StreamRequestHandler: disable_nagle_algorithm, rbufsize, timeout, wbufsize

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Overrides: SocketServer.BaseRequestHandler.__init__

setup(self)

source code 
Overrides: SocketServer.BaseRequestHandler.setup