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

Class LateParamPageHandler

source code

 object --+    
          |    
PageHandler --+
              |
             LateParamPageHandler

When passing cherrypy.request.params to the page handler, we do not want to capture that dict too early; we want to give tools like the decoding tool a chance to modify the params dict in-between the lookup of the handler and the actual calling of the handler. This subclass takes that into account, and allows request.params to be 'bound late' (it's more complicated than that, but that's the effect).

Instance Methods [hide private]
 
_get_kwargs(self) source code
 
_set_kwargs(self, kwargs) source code

Inherited from PageHandler: __call__, __init__, get_args, get_kwargs, set_args, set_kwargs

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

Properties [hide private]
  kwargs
page handler kwargs (with cherrypy.request.params copied in)

Inherited from PageHandler: args

Inherited from object: __class__

Property Details [hide private]

kwargs

page handler kwargs (with cherrypy.request.params copied in)

Get Method:
_get_kwargs(self)
Set Method:
_set_kwargs(self, kwargs)