Package flumotion :: Package component :: Package consumers :: Package httpstreamer :: Module resources :: Class HTTPRoot
[hide private]

Class HTTPRoot

source code

twisted.web.resource.Resource --+
                                |
          common.log.Loggable --+
                                |
                               HTTPRoot

Nested Classes [hide private]

Inherited from twisted.web.resource.Resource: entityType

Instance Methods [hide private]
 
getChildWithDefault(self, path, request)
Retrieve a static or dynamically generated child resource from me.
source code

Inherited from twisted.web.resource.Resource: __init__, __providedBy__, delEntity, getChild, getChildForRequest, getDynamicEntity, getStaticEntity, listDynamicEntities, listDynamicNames, listEntities, listNames, listStaticEntities, listStaticNames, putChild, reallyPutEntity, render, render_HEAD

Inherited from common.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  logCategory = 'httproot'
Implementors can provide a category to log their messages under.

Inherited from twisted.web.resource.Resource: __implemented__, __provides__, isLeaf, server

Method Details [hide private]

getChildWithDefault(self, path, request)

source code 

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.

Overrides: twisted.web.resource.Resource.getChildWithDefault
(inherited documentation)