| 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.
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
request = <cherrypy._cprequest.Request object>The request object for the current thread. |
|||
response = <cherrypy._cprequest.Response object>The response object for the current thread. |
|||
|
|||
|
Inherited from |
|||
|
|||
requestThe request object for the current thread. In the main thread, and any threads which are not receiving HTTP requests, this is None.
|
responseThe response object for the current thread. In the main thread, and any threads which are not receiving HTTP requests, this is None.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Dec 1 16:24:00 2014 | http://epydoc.sourceforge.net |