t.w.c.OldNevowResourceAdapter(object) : class documentation

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

Implements interfaces: twisted.web2.iweb.IResource

Undocumented
Method __init__ Undocumented
Method __getattr__ Undocumented
Method __setattr__ Undocumented
Method __delattr__ 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.
Method __reallyRender Undocumented
Method __finish Undocumented
def __init__(self, original): (source)
Undocumented
def __getattr__(self, name): (source)
Undocumented
def __setattr__(self, name, value): (source)
Undocumented
def __delattr__(self, name): (source)
Undocumented
def locateChild(self, ctx, segments): (source)
Locate another object which can be adapted to IResource.
Returns

A 2-tuple of (resource, remaining-path-segments), or a deferred which will fire the above.

Causes the object publishing machinery to continue on with specified resource and segments, calling the appropriate method on the specified resource.

If you return (self, server.StopTraversal), this instructs web2 to immediately stop the lookup stage, and switch to the rendering stage, leaving the remaining path alone for your render function to handle.
def renderHTTP(self, ctx): (source)
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 __reallyRender(self, ignored, ctx): (source)
Undocumented
def __finish(self, data, ctx): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.