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

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

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

Implements interfaces: twisted.web2.dav.idav.IDAVResource

Undocumented
Line # Kind Name Docs
393 Method davComplianceClasses This implementation raises NotImplementedError.
401 Method isCollection See IDAVResource.isCollection.
410 Method findChildren See IDAVResource.findChildren.
428 Method principalCollections See IDAVResource.principalCollections.
436 Method accessControlList See IDAVResource.accessControlList.
445 Method supportedPrivileges See IDAVResource.supportedPrivileges.
458 Method renderHTTP See resource.RenderMixIn.renderHTTP.

Inherited from DAVPropertyMixIn:

Line # Kind Name Docs
126 Method deadProperties Provides internal access to the WebDAV dead property store. You
146 Method hasProperty See IDAVResource.hasProperty.
160 Method readProperty See IDAVResource.readProperty.
230 Method writeProperty See IDAVResource.writeProperty.
253 Method removeProperty See IDAVResource.removeProperty.
281 Method listProperties See IDAVResource.listProperties.
294 Method listAllprop Some DAV properties should not be returned to a DAV:allprop query.
320 Method hasDeadProperty Same as hasProperty, but bypasses the live property store and checks
332 Method readDeadProperty Same as readProperty, but bypasses the live property store and reads
344 Method writeDeadProperty Same as writeProperty, but bypasses the live property store and
357 Method removeDeadProperty Same as removeProperty, but bypasses the live property store and acts
374 Method contentType Undocumented
380 Method displayName Undocumented

Inherited from MetaDataMixin (via DAVPropertyMixIn):

Line # Kind Name Docs
28 Method etag
34 Method lastModified
40 Method creationDate
46 Method contentLength
58 Method contentEncoding
70 Method exists

Inherited from StaticRenderMixin:

Line # Kind Name Docs
77 Method checkPreconditions Undocumented

Inherited from RenderMixin (via StaticRenderMixin):

Line # Kind Name Docs
19 Method allowedMethods
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.
115 Method http_GET Respond to a GET request.
130 Method render Subclasses should implement this method to do page rendering.

Inherited from MetaDataMixin (via StaticRenderMixin):

Line # Kind Name Docs
28 Method etag
34 Method lastModified
40 Method creationDate
46 Method contentLength
52 Method contentType
58 Method contentEncoding
64 Method displayName
70 Method exists
def davComplianceClasses(self):
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):

See IDAVResource.isCollection.

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

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):

See IDAVResource.principalCollections.

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

See IDAVResource.accessControlList.

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

See IDAVResource.supportedPrivileges.

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

See resource.RenderMixIn.renderHTTP.

This implementation automatically sets some headers on the response based on data available from MetaDataMixin methods.