Package web2py :: Package gluon :: Module rocket :: Class WSGIWorker
[hide private]
[frames] | no frames]

Class WSGIWorker

source code

        object --+            
                 |            
threading._Verbose --+        
                     |        
      threading.Thread --+    
                         |    
                    Worker --+
                             |
                            WSGIWorker

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Builds some instance variables that will last the life of the thread.
source code
 
build_environ(self, sock_file, conn)
Build the execution environment.
source code
 
send_headers(self, data, sections) source code
 
write_warning(self, data, sections=1) source code
 
write(self, data, sections=1)
Write the data to the output socket.
source code
 
start_response(self, status, response_headers, exc_info=1)
Store the HTTP status and headers to be sent when self.write is called.
source code
 
run_app(self, conn) source code

Inherited from Worker: kill, read_headers, read_request_line, run, send_response

Inherited from Worker (private): _handleError, _read_request_line_jython

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, join, setDaemon, setName, start

Inherited from threading.Thread (private): _set_daemon

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 
Builds some instance variables that will last the life of the thread.
Overrides: Worker.__init__

run_app(self, conn)

source code 
Overrides: Worker.run_app