Trees | Index | Help |
---|
Package flumotion :: Package twisted :: Module rtsp :: Class RTSPResource |
|
Loggable
--+ |Resource
--+ | RTSPResource
ErrorResource
Method Summary | |
---|---|
Retrieve a 'child' resource from me. | |
Retrieve a static or dynamically generated child resource from me. | |
noputChild(self,
path,
r)
| |
render_GET(self,
request)
| |
render_start(self,
request,
method)
| |
Set CSeq and Date on response to given request. | |
Inherited from Resource | |
Initialize. | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Register a static child. | |
| |
Render a given resource. | |
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 | |
---|---|
tuple | allowedMethods : a tuple of allowed methods that can be invoked on this resource. |
Class Variable Summary | |
---|---|
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...
|
InterfaceClass |
entityType = <InterfaceClass twisted.web.resource.IResou...
|
int |
isLeaf = 0 |
NoneType |
server = None |
Method Details |
---|
getChild(self, path, request)Retrieve a 'child' resource from me. Implement this to create dynamic resource generation -- resources which are always available may be registered with self.putChild(). This will not be called if the class-level variable 'isLeaf' is set in your subclass; instead, the 'postpath' attribute of the request will be left as a list of the remaining path elements. For example, the URL /foo/bar/baz will normally be:| site.resource.getChild('foo').getChild('bar').getChild('baz').However, if the resource returned by 'bar' has isLeaf set to true, then the getChild call will never be made on it.
|
getChildWithDefault(self, path, request)Retrieve a static or dynamically generated child resource from me. First checks if a resource was added manually by putChild, and then call getChild to check for dynamic resources. Only override if you want to affect behaviour of all child lookups, rather than just dynamic ones. This will check to see if I have a pre-registered child resource of the given name, and call getChild if I do not.
|
render_startCSeqDate(self, request, method)Set CSeq and Date on response to given request. This should be done even for errors. |
Instance Variable Details |
---|
allowedMethodsa tuple of allowed methods that can be invoked on this resource.
|
Class Variable Details |
---|
logCategoryImplementors can provide a category to log their messages under.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Fri Apr 6 10:13:42 2007 | http://epydoc.sf.net |