Part of twisted.web.wsgi View Source View In Hierarchy
WSGIResource 
which drives the WSGI application using a threadpool and hooks it up to the
Request.| Instance Variable | started | A bool indicating whether or not the response status and 
headers have been written to the request yet.  This may only be read or 
written in the WSGI application thread. | 
  
| Instance Variable | reactor | An IReactorThreads provider which is used to call methods on 
the request in the I/O thread. | 
  
| Instance Variable | threadpool | A ThreadPool which is used to call the WSGI application object
in a non-I/O thread. | 
  
| Instance Variable | application | The WSGI application object. | 
| Instance Variable | request | The Request 
upon which the WSGI environment is based and to which the application's 
output will be sent. | 
  
| Instance Variable | environ | The WSGI environment dict. | 
  
| Instance Variable | status | The HTTP response status str supplied to the WSGI 
start_response callable by the application. | 
  
| Instance Variable | headers | A list of HTTP response headers supplied to the WSGI start_response callable by the application. | 
| Method | __init__ | Undocumented | 
| Method | startResponse | The WSGI start_response callable. The given values are saved until they are needed to generate the response. | 
| Method | write | The WSGI write callable returned by the start_response callable. The given bytes will be written to the response body, possibly flushing the status and headers first. | 
| Method | start | Start the WSGI application in the threadpool. | 
| Method | run | Call the WSGI application object, iterate it, and handle its output. | 
| Instance Variable | _requestFinished | A flag which indicates whether it is possible to generate more response 
data or not.  This is False until 
Request.notifyFinish tells us the request is done, then 
True. | 
  
| Method | _finished | Record the end of the response generation for the request being serviced. | 
| Method | _sendResponseHeaders | No summary | 
bool indicating whether or not the response status and 
headers have been written to the request yet.  This may only be read or 
written in the WSGI application thread.
  IReactorThreads provider which is used to call methods on 
the request in the I/O thread.
  Request 
upon which the WSGI environment is based and to which the application's 
output will be sent.
  str supplied to the WSGI 
start_response callable by the application.
  False until 
Request.notifyFinish tells us the request is done, then 
True.
  This will be called in a non-I/O thread.
This will be called in a non-I/O thread.
This must be called in the I/O thread.
This must be called in the I/O thread.
This must be called in a non-I/O thread (ie, a WSGI application thread).