t.w.r.ForbiddenResource(ErrorPage) : class documentation

Part of twisted.web.resource View Source View In Hierarchy

Known subclasses: twisted.web.error.ForbiddenResource

ForbiddenResource is a specialization of ErrorPage which returns the FORBIDDEN HTTP response code.
Method __init__ Initialize.

Inherited from ErrorPage:

Instance Variable template A str which will have a dictionary interpolated into it to generate the response body. The dictionary has the following keys:
Instance Variable code An integer status code which will be used for the response.
Instance Variable brief A short string which will be included in the response body.
Instance Variable detail A longer string which will be included in the response body.
Method render Render a given resource. See IResource's render method.
Method getChild Retrieve a 'child' resource from me.

Inherited from Resource (via ErrorPage):

Method listStaticNames Undocumented
Method listStaticEntities Undocumented
Method listNames Undocumented
Method listEntities Undocumented
Method listDynamicNames Undocumented
Method listDynamicEntities Undocumented
Method getStaticEntity Undocumented
Method getDynamicEntity Undocumented
Method delEntity Undocumented
Method reallyPutEntity Undocumented
Method getChildWithDefault Retrieve a static or dynamically generated child resource from me.
Method getChildForRequest Undocumented
Method putChild Register a static child.
Method render_HEAD Default handling of HEAD method.
def __init__(self, message='Sorry, resource is forbidden.'): (source)
Initialize.
API Documentation for Twisted, generated by pydoctor at 2012-06-04 17:20:01.