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

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

Implements interfaces: twisted.web2.iweb.IOldNevowResource

Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
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.
Method _handle_NOT_DONE_YET Undocumented
def __init__(self, original): (source)
Undocumented
def __repr__(self): (source)
Undocumented
def locateChild(self, req, segments): (source)
Locate another object which can be adapted to IResource Return a tuple of resource, path segments
def _handle_NOT_DONE_YET(self, data, request): (source)
Undocumented
def renderHTTP(self, req): (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:17:34.