Package buildbot :: Package status :: Package web :: Module base :: Class StaticFile
[frames] | no frames]

Class StaticFile

source code

          twisted.web.resource.Resource --+    
                                          |    
     twisted.persisted.styles.Versioned --+    
                                          |    
twisted.python.filepath._PathHelper --+   |    
                                      |   |    
       twisted.python.filepath.FilePath --+    
                                          |    
                    twisted.web.static.File --+
                                              |
                                             StaticFile

This class adds support for templated directory views.

Nested Classes

Inherited from twisted.web.resource.Resource: entityType

Inherited from twisted.python.filepath.FilePath: clonePath

Instance Methods
 
directoryListing(self) source code

Inherited from twisted.web.static.File: __init__, createSimilarFile, getChild, getFileSize, ignoreExt, listEntities, listNames, makeProducer, openForReading, redirect, render_GET, render_HEAD, upgradeToVersion1, upgradeToVersion2, upgradeToVersion3, upgradeToVersion4, upgradeToVersion5, upgradeToVersion6

Inherited from twisted.web.resource.Resource: __providedBy__, __provides__, delEntity, getChildForRequest, getChildWithDefault, getDynamicEntity, getStaticEntity, listDynamicEntities, listDynamicNames, listStaticEntities, listStaticNames, putChild, reallyPutEntity, render

Inherited from twisted.persisted.styles.Versioned: __getstate__, __setstate__, versionUpgrade

Inherited from twisted.python.filepath.FilePath: __cmp__, __repr__, basename, changed, child, childSearchPreauth, chmod, copyTo, create, createDirectory, dirname, exists, getAccessTime, getDevice, getGroupID, getInodeNumber, getModificationTime, getNumberOfHardLinks, getPermissions, getStatusChangeTime, getUserID, getsize, globChildren, isBlockDevice, isSocket, isabs, isdir, isfile, islink, linkTo, listdir, makedirs, moveTo, open, parent, preauthChild, realpath, remove, requireCreate, restat, setContent, siblingExtension, siblingExtensionSearch, splitext, temporarySibling, touch

Inherited from twisted.python.filepath._PathHelper: __hash__, children, descendant, getContent, getatime, getctime, getmtime, parents, segmentsFrom, sibling, walk

Class Variables

Inherited from twisted.web.static.File: childNotFound, contentEncodings, contentTypes, indexNames, persistenceVersion, processors, type

Inherited from twisted.web.resource.Resource: __implemented__, isLeaf, server

Inherited from twisted.persisted.styles.Versioned: persistenceForgets

Instance Variables

Inherited from twisted.python.filepath.FilePath: alwaysCreate, path, statinfo

Method Details

directoryListing(self)

source code 
Overrides: twisted.web.static.File.directoryListing