class documentation

class Data(resource.Resource): (source)

Known subclasses: twisted.web.demo.Test

View In Hierarchy

This is a static, in-memory resource.
Method __init__
Method render_GET Undocumented
Instance Variable data Undocumented
Instance Variable type Undocumented

Inherited from Resource:

Method delEntity Undocumented
Method getChild Retrieve a 'child' resource from me.
Method getChildForRequest Undocumented
Method getChildWithDefault Retrieve a static or dynamically generated child resource from me.
Method getDynamicEntity Undocumented
Method getStaticEntity Undocumented
Method listDynamicEntities Undocumented
Method listDynamicNames Undocumented
Method listEntities Undocumented
Method listNames Undocumented
Method listStaticEntities Undocumented
Method listStaticNames Undocumented
Method putChild Register a static child.
Method reallyPutEntity Undocumented
Method render Render a given resource. See IResource's render method.
Method render_HEAD Default handling of HEAD method.
Class Variable isLeaf Signal if this IResource implementor is a "leaf node" or not. If True, getChildWithDefault will not be called on this Resource.
Class Variable server Undocumented
Instance Variable children Undocumented
def __init__(self, data, type): (source)
overridden in twisted.web.demo.Test
data:bytesThe bytes that make up this data resource.
type:strA native string giving the Internet media type for this content.
def render_GET(self, request): (source)


data = (source)


type = (source)