Package cherrypy :: Module _cpdispatch :: Class RoutesDispatcher
[hide private]
[frames] | no frames]

Class RoutesDispatcher

source code

object --+
         |
        RoutesDispatcher

A Routes based dispatcher for CherryPy.

Instance Methods [hide private]
 
__init__(self, full_result=False, **mapper_options)
Routes dispatcher
source code
 
connect(self, name, route, controller, **kwargs) source code
 
redirect(self, url) source code
 
__call__(self, path_info)
Set handler and config for the current request.
source code
 
find_handler(self, path_info)
Find the right page handler, and set request.config.
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, full_result=False, **mapper_options)
(Constructor)

source code 

Routes dispatcher

Set full_result to True if you wish the controller and the action to be passed on to the page handler parameters. By default they won't be.

Overrides: object.__init__