Package flumotion :: Package component :: Package misc :: Package httpfile :: Module httpfile :: Class CancellableRequest
[hide private]

Class CancellableRequest

source code

 twisted.spread.jelly.Jellyable --+            
                                  |            
twisted.spread.flavors.Serializable --+        
                                      |        
        twisted.spread.flavors.Copyable --+    
                                          |    
               twisted.web.http.Request --+    
                                          |    
 twisted.persisted.styles.Versioned --+   |    
                                      |   |    
twisted.python.components.Componentized --+    
                                          |    
                 twisted.web.server.Request --+
                                              |
                                             CancellableRequest

Instance Methods [hide private]
 
__init__(self, channel, queued) source code
 
write(self, data)
Write some data as a result of an HTTP request.
source code
 
finish(self)
We are finished writing data.
source code
 
connectionLost(self, reason)
connection was lost
source code
 
requestCompleted(self) source code

Inherited from twisted.web.server.Request: URLPath, childLink, getRootURL, getSession, getStateToCopyFor, notifyFinish, prePathURL, process, processingFailed, rememberRootURL, render, sibLink, view_addCookie, view_finish, view_registerProducer, view_setETag, view_setHeader, view_setLastModified, view_setResponseCode, view_unregisterProducer, view_write

Inherited from twisted.web.server.Request (private): _prePathURL

Inherited from twisted.spread.flavors.Copyable: getStateToCopy, getTypeToCopy, getTypeToCopyFor, jellyFor

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Inherited from twisted.web.http.Request: __repr__, addCookie, getAllHeaders, getClient, getClientIP, getCookie, getHeader, getHost, getPassword, getRequestHostname, getUser, gotLength, handleContentChunk, isSecure, noLongerQueued, parseCookies, redirect, registerProducer, requestReceived, setETag, setHeader, setHost, setLastModified, setResponseCode, unregisterProducer

Inherited from twisted.python.components.Componentized: __conform__, addAdapter, addComponent, getComponent, locateAdapterClass, removeComponent, setAdapter, setComponent, unsetComponent

Inherited from twisted.persisted.styles.Versioned: __getstate__, __setstate__, versionUpgrade

Class Variables [hide private]

Inherited from twisted.web.server.Request: __pychecker__, appRootURL, session, site

Inherited from twisted.spread.flavors.Copyable: __implemented__, __provides__

Inherited from twisted.web.http.Request: chunked, clientproto, code, code_message, etag, finished, lastModified, producer, sentLength, startedWriting

Inherited from twisted.web.http.Request (private): _forceSSL

Inherited from twisted.python.components.Componentized: persistenceVersion

Inherited from twisted.persisted.styles.Versioned: persistenceForgets

Instance Variables [hide private]

Inherited from twisted.web.http.Request: args, method, path, received_headers, uri

Method Details [hide private]

__init__(self, channel, queued)
(Constructor)

source code 
Parameters:
  • channel - the channel we're connected to.
  • queued - are we in the request queue, or can we start writing to the transport?
Overrides: twisted.python.components.Componentized.__init__

write(self, data)

source code 

Write some data as a result of an HTTP request. The first time this is called, it writes out response data.

Overrides: twisted.web.http.Request.write
(inherited documentation)

finish(self)

source code 

We are finished writing data.

Overrides: twisted.web.http.Request.finish
(inherited documentation)

connectionLost(self, reason)

source code 

connection was lost

Overrides: twisted.web.http.Request.connectionLost
(inherited documentation)