class documentation

class BytesReturnedRenderable(Resource): (source)

View In Hierarchy

A Resource with minimal capabilities to render a response.

Method __init__ No summary
Method render_GET Render a response to a GET request by returning a short byte string to be written by the server.
Instance Variable _response Undocumented

Inherited from Resource:

Method delEntity Undocumented
Method getChild Retrieve a 'child' resource from me.
Method getChildForRequest Deprecated in favor of getChildForRequest.
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, response): (source)
Parameters
responseA bytes object giving the value to return from render_GET.
def render_GET(self, request): (source)

Render a response to a GET request by returning a short byte string to be written by the server.

_response = (source)

Undocumented