t.w.d.DirectoryLister(resource.Resource) : class documentation

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

Undocumented
Method __init__ Undocumented
Method data_listing Undocumented
Method __repr__ 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, pathname, dirs=None, contentTypes={}, contentEncodings={}, defaultType='text/html'): (source)
Undocumented
def data_listing(self, request, data): (source)
Undocumented
def __repr__(self): (source)
Undocumented
def render(self, request): (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 15:57:47.