t.w.i.IOldNevowResource(Interface) : interface documentation

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

Known implementations: twisted.web2.compat.OldResourceAdapter

I am a web resource.
Method locateChild Locate another object which can be adapted to IResource Return a tuple of resource, path segments
Method renderHTTP Return a string or a deferred which will fire a string. This string will be written to the web browser which initiated this request.
def locateChild(ctx, segments): (source)
Locate another object which can be adapted to IResource Return a tuple of resource, path segments
def renderHTTP(ctx): (source)

Return a string or a deferred which will fire a string. This string will be written to the web browser which initiated this request.

Unlike iweb.IResource, this expects the incoming data to have already been read and parsed into request.args and request.content, and expects to return a string instead of a response object.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:07:41.