Package circuits :: Package web :: Module core :: Class BaseController

Class BaseController

    object --+        
             |        
  core.Manager --+    
                 |    
core.BaseComponent --+
                     |
                    BaseController
Known Subclasses:

Instance Methods
 
forbidden(self, message=None)
 
notfound(self, message=None)
 
redirect(self, urls, status=None)
 
serve_file(self, path, type=None, disposition=None, name=None)
 
serve_download(self, path, name=None)
 
expires(self, secs=0, force=False)

Inherited from core.BaseComponent: __init__, __repr__, register, unregister

Inherited from core.Manager: __add__, __iadd__, __isub__, __len__, __sub__, flush, join, push, run, send, start, stop

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

Static Methods

Inherited from core.BaseComponent: __new__

Class Variables
  channel = '/'
The Component's Channel
Instance Variables

Inherited from core.Manager: manager

Properties

Inherited from core.Manager: name, running, state

Inherited from object: __class__