Package myproxy :: Package ws :: Package test :: Module server_utils :: Class PasteDeployAppServer
[hide private]

Class PasteDeployAppServer

source code


Wrapper to paste.httpserver to enable background threading

Instance Methods [hide private]
 
__init__(self, app=None, cfgFilePath=None, port=7443, host='0.0.0.0', ssl_context=None, withLoggingConfig=True)
Load an application configuration from cfgFilePath ini file and instantiate Paste server object
source code
 
pasteServer(self) source code
 
thread(self) source code
 
start(self)
Start server
source code
 
startThread(self)
Start server in a separate thread
source code
 
terminateThread(self) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, app=None, cfgFilePath=None, port=7443, host='0.0.0.0', ssl_context=None, withLoggingConfig=True)
(Constructor)

source code 

Load an application configuration from cfgFilePath ini file and instantiate Paste server object

Overrides: object.__init__

pasteServer(self)

source code 
Decorators:
  • @property

thread(self)

source code 
Decorators:
  • @property