Class t.w.d.DirectoryLister(resource.Resource):

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

Undocumented
Line # Kind Name Docs
26 Method __init__ Undocumented
38 Method data_listing Undocumented
80 Method __repr__ Undocumented
86 Method render Subclasses should implement this method to do page rendering.

Inherited from Resource:

Line # Kind Name Docs
148 Method locateChild Locates a child resource of this resource.
173 Method child_ This method locates a child with a trailing "/" in the URL.
182 Method putChild Register a static child.
197 Method http_GET Undocumented

Inherited from RenderMixin (via Resource):

Line # Kind Name Docs
19 Method allowedMethods
27 Method checkPreconditions Checks all preconditions imposed by this resource upon a request made
53 Method renderHTTP See iweb.IResource.renderHTTP.
89 Method http_OPTIONS Respond to a OPTIONS request.
99 Method http_TRACE Respond to a TRACE request.
107 Method http_HEAD Respond to a HEAD request.
def __init__(self, pathname, dirs=None, contentTypes={}, contentEncodings={}, defaultType='text/html'):
Undocumented
def data_listing(self, request, data):
Undocumented
def __repr__(self):
Undocumented
def render(self, request):
Subclasses should implement this method to do page rendering. See http_GET.
Parametersrequestthe request to process.
Returnsan object adaptable to iweb.IResponse.