Class t.w.d.r.DAVResource(DAVPropertyMixIn, StaticRenderMixin):

Part of twisted.web2.dav.resource View Source View In Hierarchy

Known subclasses: twisted.web2.dav.resource.DAVLeafResource, twisted.web2.dav.static.DAVFile

Implements interfaces: twisted.web2.dav.idav.IDAVResource
No class docstring
Method davComplianceClasses This implementation raises NotImplementedError.
Method isCollection See IDAVResource.isCollection.
Method findChildren See IDAVResource.findChildren.
Method principalCollections See IDAVResource.principalCollections.
Method accessControlList See IDAVResource.accessControlList.
Method supportedPrivileges See IDAVResource.supportedPrivileges.
Method renderHTTP See resource.RenderMixIn.renderHTTP.

Inherited from DAVPropertyMixIn:

Method deadProperties Provides internal access to the WebDAV dead property store. You
Method hasProperty See IDAVResource.hasProperty.
Method readProperty See IDAVResource.readProperty.
Method writeProperty See IDAVResource.writeProperty.
Method removeProperty See IDAVResource.removeProperty.
Method listProperties See IDAVResource.listProperties.
Method listAllprop Some DAV properties should not be returned to a DAV:allprop query.
Method hasDeadProperty Same as hasProperty, but bypasses the live property store and checks
Method readDeadProperty Same as readProperty, but bypasses the live property store and reads
Method writeDeadProperty Same as writeProperty, but bypasses the live property store and
Method removeDeadProperty Same as removeProperty, but bypasses the live property store and acts
Method contentType
Method displayName

Inherited from MetaDataMixin (via DAVPropertyMixIn):

Method etag
Method lastModified
Method creationDate
Method contentLength
Method contentEncoding
Method exists

Inherited from StaticRenderMixin:

Method checkPreconditions Checks all preconditions imposed by this resource upon a request made

Inherited from RenderMixin (via StaticRenderMixin):

Method allowedMethods
Method http_OPTIONS Respond to a OPTIONS request.
Method http_TRACE Respond to a TRACE request.
Method http_HEAD Respond to a HEAD request.
Method http_GET Respond to a GET request.
Method render Subclasses should implement this method to do page rendering.

Inherited from MetaDataMixin (via StaticRenderMixin):

Method etag
Method lastModified
Method creationDate
Method contentLength
Method contentType
Method contentEncoding
Method displayName
Method exists
def davComplianceClasses(self): (source)
This implementation raises NotImplementedError.
Returnsa sequence of strings denoting WebDAV compliance classes. For example, a DAV level 2 server might return ("1", "2").
def isCollection(self): (source)

See IDAVResource.isCollection.

This implementation raises NotImplementedError; a subclass must override this method.
def findChildren(self, depth): (source)

See IDAVResource.findChildren.

This implementation raises returns () if depth is 0 and this resource is a collection. Otherwise, it raises NotImplementedError; a subclass must override this method.
def principalCollections(self): (source)

See IDAVResource.principalCollections.

This implementation returns ().
def accessControlList(self): (source)

See IDAVResource.accessControlList.

This implementation returns an ACL granting all privileges to all principals.
def supportedPrivileges(self): (source)

See IDAVResource.supportedPrivileges.

This implementation returns a supported privilege set containing only the DAV:all privilege.
def renderHTTP(self, request): (source)

See resource.RenderMixIn.renderHTTP.

This implementation automatically sets some headers on the response based on data available from MetaDataMixin methods.
API Documentation for twisted, generated by pydoctor.