| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
MethodSwitch
Class for switching callables by request method.
In wsgiwapi.make_application, instances of this class can be substituted for callables, e.g.:
make_application({'foo': MethodSwitch(foo_get, foo_post, default=foo_other)})
If the default handler is supplied, it will be called for any request method not explicitly specified.
| Instance Methods | |||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun May 10 00:22:20 2009 | http://epydoc.sourceforge.net |