Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes
MoinMoin.support.werkzeug.serving.BaseWSGIServer Class Reference
Inheritance diagram for MoinMoin.support.werkzeug.serving.BaseWSGIServer:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.werkzeug.serving.BaseWSGIServer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def log
def serve_forever
def handle_error

Public Attributes

 app
 passthrough_errors

Static Public Attributes

 multithread = False
 multiprocess = False

Detailed Description

Definition at line 199 of file serving.py.


Constructor & Destructor Documentation

def MoinMoin.support.werkzeug.serving.BaseWSGIServer.__init__ (   self,
  host,
  port,
  app,
  handler = None,
  passthrough_errors = False 
)

Definition at line 204 of file serving.py.

00204 
00205                  passthrough_errors=False):
00206         if handler is None:
00207             handler = BaseRequestHandler
00208         HTTPServer.__init__(self, (host, int(port)), handler)
00209         self.app = app
00210         self.passthrough_errors = passthrough_errors


Member Function Documentation

def MoinMoin.support.werkzeug.serving.BaseWSGIServer.handle_error (   self,
  request,
  client_address 
)

Definition at line 220 of file serving.py.

00220 
00221     def handle_error(self, request, client_address):
00222         if self.passthrough_errors:
00223             raise
00224         else:
00225             return HTTPServer.handle_error(self, request, client_address)
00226 

def MoinMoin.support.werkzeug.serving.BaseWSGIServer.log (   self,
  type,
  message,
  args 
)

Definition at line 211 of file serving.py.

00211 
00212     def log(self, type, message, *args):
00213         _log(type, message, *args)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 214 of file serving.py.

00214 
00215     def serve_forever(self):
00216         try:
00217             HTTPServer.serve_forever(self)
00218         except KeyboardInterrupt:
00219             pass


Member Data Documentation

Definition at line 208 of file serving.py.

Reimplemented in MoinMoin.support.werkzeug.serving.ForkingWSGIServer.

Definition at line 201 of file serving.py.

Reimplemented in MoinMoin.support.werkzeug.serving.ThreadedWSGIServer.

Definition at line 200 of file serving.py.

Definition at line 209 of file serving.py.


The documentation for this class was generated from the following file: