t.w.s.Data(resource.Resource) : class documentation

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

This is a static, in-memory resource.
Method __init__ Undocumented
Method etag Undocumented
Method lastModified Undocumented
Method creationDate Undocumented
Method contentLength Undocumented
Method contentType Undocumented
Method render No summary

Inherited from Resource:

Method locateChild No summary
Method child_ This method locates a child with a trailing "/" in the URL. @param request: the request to process.
Method putChild Register a static child.
Method http_GET Respond to a GET request.

Inherited from RenderMixin (via Resource):

Method allowedMethods
Method checkPreconditions No summary
Method renderHTTP See iweb.IResource.renderHTTP.
Method http_OPTIONS Respond to a OPTIONS request. @param request: the request to process. @return: an object adaptable to iweb.IResponse.
Method http_TRACE Respond to a TRACE request. @param request: the request to process. @return: an object adaptable to iweb.IResponse.
Method http_HEAD Respond to a HEAD request. @param request: the request to process. @return: an object adaptable to iweb.IResponse.
def __init__(self, data, type): (source)
Undocumented
def etag(self): (source)
Undocumented
def lastModified(self): (source)
Undocumented
def creationDate(self): (source)
Undocumented
def contentLength(self): (source)
Undocumented
def contentType(self): (source)
Undocumented
def render(self, req): (source)
Subclasses should implement this method to do page rendering. See http_GET.
Parametersrequestthe request to process.
Returnsan object adaptable to iweb.IResponse.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:02:37.