Package cherrypy :: Module _cpwsgi_server :: Class CPWSGIServer
[hide private]
[frames] | no frames]

Class CPWSGIServer

source code

                           object --+        
                                    |        
    wsgiserver.wsgiserver2.HTTPServer --+    
                                        |    
wsgiserver.wsgiserver2.CherryPyWSGIServer --+
                                            |
                                           CPWSGIServer

Wrapper for wsgiserver.CherryPyWSGIServer.

wsgiserver has been designed to not reference CherryPy in any way, so that it can be used in other frameworks and applications. Therefore, we wrap it here, so we can set our own mount points from cherrypy.tree and apply some attributes from config -> cherrypy.server -> wsgiserver.

Nested Classes [hide private]

Inherited from wsgiserver.wsgiserver2.HTTPServer: ConnectionClass

Instance Methods [hide private]
 
__init__(self, server_adapter=cherrypy.server)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
error_log(self, msg='', level=20, traceback=False) source code

Inherited from wsgiserver.wsgiserver2.HTTPServer: __str__, bind, clear_stats, runtime, start, stop, tick

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from wsgiserver.wsgiserver2.CherryPyWSGIServer: wsgi_version

Inherited from wsgiserver.wsgiserver2.HTTPServer: gateway, max_request_body_size, max_request_header_size, maxthreads, minthreads, nodelay, protocol, ready, request_queue_size, server_name, shutdown_timeout, software, ssl_adapter, timeout, version

Properties [hide private]

Inherited from wsgiserver.wsgiserver2.CherryPyWSGIServer: numthreads

Inherited from wsgiserver.wsgiserver2.HTTPServer: bind_addr, interrupt

Inherited from object: __class__

Method Details [hide private]

__init__(self, server_adapter=cherrypy.server)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

error_log(self, msg='', level=20, traceback=False)

source code 
Overrides: wsgiserver.wsgiserver2.HTTPServer.error_log