| 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 0x1688c50>]:
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 0x1688c90>]:
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("127.0.0.1", 80), _htt
|
|||
request__doc =
|
|||
response = _cprequest.Response()
|
|||
response__doc =
|
|||
|
|||
|
Inherited from |
|||
|
|||
request
|
request__doc
|
response__doc
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Aug 15 15:33:01 2009 | http://epydoc.sourceforge.net |