t.w.resource : module documentation

Part of twisted.web View Source

Implementation of the lowest-level Resource class.
Interface IResource A web resource.
Function getChildForRequest Traverse resource tree to find who will handle the request.
Class Resource I define a web-accessible resource.
Class ErrorPage ErrorPage is a resource which responds with a particular
Class NoResource NoResource is a specialization of ErrorPage which returns the HTTP
Class ForbiddenResource ForbiddenResource is a specialization of ErrorPage which returns the
Function _computeAllowedMethods Compute the allowed methods on a Resource based on defined render_FOO
def getChildForRequest(resource, request): (source)
Traverse resource tree to find who will handle the request.
def _computeAllowedMethods(resource): (source)
Compute the allowed methods on a Resource based on defined render_FOO methods. Used when raising UnsupportedMethod but Resource does not define allowedMethods attribute.
API Documentation for Twisted, generated by pydoctor at 2011-04-03 00:32:03.