| Trees | Index | Help |
|---|
| Package WebStack :: Package Resources :: Module ResourceMap :: Class MapResource |
|
| Method Summary | |
|---|---|
Initialise the resource with a 'mapping' of names to resources. | |
Using the path information from the given transaction 'trans', invoke mapped resources. | |
Send the error using the given 'trans'. | |
| Method Details |
|---|
__init__(self,
mapping)
Initialise the resource with a 'mapping' of names to resources. The
'mapping' should be a dictionary-like object employing simple names
without "/" characters; the special value None is used where
no name is found in the request path.
|
respond(self, trans)Using the path information from the given transaction 'trans', invoke mapped resources. Otherwise return an error condition. |
send_error(self, trans)Send the error using the given 'trans'. |
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun May 1 20:27:34 2005 | http://epydoc.sf.net |