Trees | Indices | Help |
---|
|
internet.protocol.Factory --+ | internet.protocol.ServerFactory --+ | http.HTTPFactory --+ | Site
A web site: manage log, sessions, and resources.
|
|||
|
|||
|
|||
|
|||
str |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
__implemented__ = <implementedBy twisted.web.server.Site>
|
|||
isLeaf = 0
|
|||
Inherited from Inherited from |
|
|||
counter = 0 increment value used for generating unique sessions ID. |
|||
displayTracebacks = True if set, Twisted internal errors are displayed on rendered pages. |
|||
requestFactory A factory which is called with (channel) and creates Request instances.
|
|||
sessionCheckTime = 1800 Deprecated. |
|||
sessionFactory factory for sessions objects. |
|||
Inherited from |
|
See Also:
|
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
|
Override in subclasses, e.g. to use
|
Generate a channel attached to this site.
|
Get a resource for a request. This iterates through the resource hierarchy, calling getChildWithDefault on each resource it finds for a path element, stopping when it hits an element where isLeaf is true. |
Get a previously generated session.
|
|
displayTracebacksif set, Twisted internal errors are displayed on rendered pages. Default toTrue .
|
requestFactoryA factory which is called with (channel) and createsRequest instances. Default to Request .
|
sessionCheckTimeDeprecated. SeeSession.sessionTimeout
instead.
|
sessionFactoryfactory for sessions objects. Default to Session.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |