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 del​Entity Undocumented
Method get​Child Retrieve a 'child' resource from me.
Method get​Child​For​Request Undocumented
Method get​Child​With​Default Retrieve a static or dynamically generated child resource from me.
Method get​Dynamic​Entity Undocumented
Method get​Static​Entity Undocumented
Method list​Dynamic​Entities Undocumented
Method list​Dynamic​Names Undocumented
Method list​Entities Undocumented
Method list​Names Undocumented
Method list​Static​Entities Undocumented
Method list​Static​Names Undocumented
Method put​Child Register a static child.
Method really​Put​Entity Undocumented
Method render Render a given resource. See IResource's render method.
Method render_​HEAD Default handling of HEAD method.
Class Variable is​Leaf 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
Parameters
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)

Undocumented

data = (source)

Undocumented

type = (source)

Undocumented