Part of twisted.web2.plugin View Source View In Hierarchy
Method | __init__ | A plugin resource atleast has to accept any arguments given to it, |
Method | locateChild | Locates a child resource of this resource. |
Method | render | Subclasses should implement this method to do page rendering. |
Inherited from Resource (via PluginResource):
Method | child_ | This method locates a child with a trailing "/"
in the URL. |
Method | putChild | Register a static child. |
Method | http_GET | Respond to a GET request. |
Inherited from RenderMixin (via PluginResource, Resource):
Method | allowedMethods | |
Method | checkPreconditions | Checks all preconditions imposed by this resource upon a request made |
Method | renderHTTP | See iweb.IResource.renderHTTP . |
Method | http_OPTIONS | Respond to a OPTIONS request. |
Method | http_TRACE | Respond to a TRACE request. |
Method | http_HEAD | Respond to a HEAD request. |
Inherited from RenderMixin (via LeafResource):
Method | allowedMethods | |
Method | checkPreconditions | Checks all preconditions imposed by this resource upon a request made |
Method | renderHTTP | See iweb.IResource.renderHTTP . |
Method | http_OPTIONS | Respond to a OPTIONS request. |
Method | http_TRACE | Respond to a TRACE request. |
Method | http_HEAD | Respond to a HEAD request. |
Method | http_GET | Respond to a GET request. |
Parameters | request | the request to process. |
segments | a sequence of URL path segments. | |
Returns | a tuple of (child, segments) containing the child of this
resource which matches one or more of the given segments in
sequence, and a list of remaining segments.
|
http_GET
.Parameters | request | the request to process. |
Returns | an object adaptable to iweb.IResponse .
|