| Trees | Index | Help |
|---|
| Package flumotion :: Package twisted :: Module rtsp :: Class ErrorResource |
|
Loggable--+ |Resource--+ |RTSPResource--+ | ErrorResource
NoResource| Method Summary | |
|---|---|
__init__(self,
code,
*lines)
| |
getChild(self,
chname,
request)
| |
Render a given resource. | |
render_GET(self,
request)
| |
| Inherited from RTSPResource | |
Retrieve a static or dynamically generated child resource from me. | |
| |
| |
Set CSeq and Date on response to given request. | |
| Inherited from Resource | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Register a static child. | |
| |
Default handling of HEAD method. | |
| Inherited from Loggable | |
Log a debug message. | |
| dict |
Log a message at the given level, with the possibility of going higher up in the stack. |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. | |
| Instance Variable Summary | |
|---|---|
| Inherited from RTSPResource | |
| tuple | allowedMethods: a tuple of allowed methods that can be invoked on this resource. |
| Class Variable Summary | |
|---|---|
| Inherited from RTSPResource | |
str |
logCategory: Implementors can provide a category to log their messages under. |
| Inherited from Resource | |
Implements |
__implemented__ = <implementedBy twisted.web.resource.Re...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
MetaInterface |
entityType = <MetaInterface twisted.web.resource.IResour...
|
int |
isLeaf = 0 |
NoneType |
server = None |
| Method Details |
|---|
render(self, request)Render a given resource. See I delegate to methods of self with the form 'render_METHOD' where METHOD is the HTTP that was used to make the request. Examples: render_GET, render_HEAD, render_POST, and so on. Generally you should implement those methods instead of overriding this one. render_METHOD methods are expected to return a string which will be the rendered page, unless the return value is twisted.web.server.NOT_DONE_YET, in which case it is this class's responsibility to write the results to request.write(data), then call request.finish(). Old code that overrides render() directly is likewise expected to return a string or NOT_DONE_YET.
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Oct 26 16:39:16 2008 | http://epydoc.sf.net |