Package iceprod :: Package server :: Module rpc :: Class MyXMLRpcRequestHandler
[hide private]
[frames] | no frames]

Class MyXMLRpcRequestHandler

source code

  SocketServer.BaseRequestHandler --+            
                                    |            
    SocketServer.StreamRequestHandler --+        
                                        |        
    BaseHTTPServer.BaseHTTPRequestHandler --+    
                                            |    
SimpleXMLRPCServer.SimpleXMLRPCRequestHandler --+
                                                |
                                               MyXMLRpcRequestHandler

Nested Classes [hide private]

Inherited from BaseHTTPServer.BaseHTTPRequestHandler: MessageClass

Instance Methods [hide private]
 
log_message(self, format, *args)
Log an arbitrary message.
source code
 
handle_one_request(self)
Handle a single HTTP request.
source code
 
do_GET(self)
Handles the HTTPS GET request.
source code

Inherited from SimpleXMLRPCServer.SimpleXMLRPCRequestHandler: accept_encodings, decode_request_content, do_POST, is_rpc_path_valid, log_request, report_404

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

Inherited from SocketServer.StreamRequestHandler: finish, setup

Inherited from SocketServer.BaseRequestHandler: __init__

Class Variables [hide private]

Inherited from SimpleXMLRPCServer.SimpleXMLRPCRequestHandler: aepattern, disable_nagle_algorithm, encode_threshold, rpc_paths, wbufsize

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

Inherited from SocketServer.StreamRequestHandler: rbufsize, timeout

Method Details [hide private]

log_message(self, format, *args)

source code 

Log an arbitrary message.

This is used by all other logging functions. Override it if you have specific logging wishes.

The first argument, FORMAT, is a format string for the message to be logged. If the format string contains any % escapes requiring parameters, they should be specified as subsequent arguments (it's just like printf!).

The client host and current date/time are prefixed to every message.

Overrides: BaseHTTPServer.BaseHTTPRequestHandler.log_message
(inherited documentation)

handle_one_request(self)

source code 

Handle a single HTTP request.

Overrides default method to handle broken pipes and other socket errors

Overrides: BaseHTTPServer.BaseHTTPRequestHandler.handle_one_request

do_GET(self)

source code 

Handles the HTTPS GET request. only allow a request for the crossdomain file this can be changed to support GETs of any file if needed