| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
thread._local --+
|
_Serving
An interface for registering request and response objects.
Rather than have a separate "thread local" object for the request and
the response, this class works as a single threadlocal container for
both objects (and any others which developers wish to define). In this
way, we can easily dump those objects when we stop/start a new HTTP
conversation, yet still refer to them as module-level globals in a
thread-safe way.
request [= <cherrypy._cprequest.Request object at 0x40669f4c>]:
The request object for the current thread. In the main thread,
and any threads which are not receiving HTTP requests, this is None.
response [= <cherrypy._cprequest.Response object at 0x40669f8c>]:
The response object for the current thread. In the main thread,
and any threads which are not receiving HTTP requests, this is None.
|
|||
|
__metaclass__ Metaclass for declaring docstrings for class attributes. |
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
request = _cprequest.Request(_http.Host("localhost", 80), _htt
|
|||
request__doc =
|
|||
response = _cprequest.Response()
|
|||
response__doc =
|
|||
|
|||
|
Inherited from |
|||
|
|||
request
|
request__doc
|
response__doc
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Jan 24 16:33:09 2008 | http://epydoc.sourceforge.net |