Trees | Indices | Help |
|
---|
|
zope.interface.Interface --+ | IResource
A web resource.
|
|||
|
|||
|
|||
|
|
|||
isLeaf = Attribute("""Signal if this IResource implementor is
|
|||
_InterfaceClass__attrs =
|
|||
__bases__ =
|
|||
__identifier__ =
|
|||
__iro__ =
|
|||
__name__ =
|
|||
__sro__ =
|
|||
_implied =
|
|||
dependents = <WeakKeyDictionary at 149148364>
|
|||
Inherited from |
|
Return a child with the given name for the given request. This is the external interface used by the Resource publishing machinery. If implementing IResource without subclassing Resource, it must be provided. However, if subclassing Resource, getChild overridden instead. |
Render a request. This is called on the leaf resource for a request. Render must return either a string, which will be sent to the browser as the HTML for the request, or server.NOT_DONE_YET. If NOT_DONE_YET is returned, at some point later (in a Deferred callback, usually) call request.write("<html>") to write data to the request, and request.finish() to send the data to the browser. |
|
isLeaf
|
_InterfaceClass__attrs
|
__iro__
|
__sro__
|
_implied
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Dec 29 13:08:12 2009 | http://epydoc.sourceforge.net |