t.w.l.LogWrapperResource(resource.WrapperResource) : class documentation

Part of twisted.web2.log View Source View In Hierarchy

Undocumented
Method hook No summary

Inherited from WrapperResource:

Method __init__ Undocumented
Method locateChild Locate another object which can be adapted to IResource.
Method renderHTTP Return an IResponse or a deferred which will fire an IResponse. This response will be written to the web browser which initiated the request.
def hook(self, request): (source)
Override this method in order to do something before passing control on to the wrapped resource's renderHTTP and locateChild methods.
ReturnsNone or a Deferred. If a deferred object is returned, it's value is ignored, but renderHTTP and locateChild are chained onto the deferred as callbacks.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:02:37.