Home | Trees | Index | Help |
---|
Package twisted :: Package web :: Module distrib :: Class Request |
|
Unjellyable
--+ |RemoteCopy
--+ |Jellyable
--+ | | |Serializable
--+ | | |Copyable
--+ | | |Request
--+ | | |Versioned
--+ | | | | |Componentized
--+ | | |Request
--+ | Request
Method Summary | |
---|---|
__init__(self,
*args,
**kw)
(inherited from Request )
| |
Get state, adding a version number to it on its way out. (inherited from Versioned )
| |
__repr__(self)
(inherited from Request )
| |
__setstate__(self,
state)
(inherited from Versioned )
| |
Utility method that calls addComponent. (inherited from Componentized )
| |
Add a component to me, for all appropriate interfaces. (inherited from Componentized )
| |
Set an outgoing HTTP cookie. (inherited from Request )
| |
Return the text that links to a child of the requested resource. (inherited from Request )
| |
connection was lost (inherited from Request )
| |
fail(self,
failure)
| |
We are finished writing data. (inherited from Request )
| |
Return dictionary of all headers the request received. (inherited from Request )
| |
getClient(self)
(inherited from Request )
| |
getClientIP(self)
(inherited from Request )
| |
Create or retrieve an adapter for the given interface. (inherited from Componentized )
| |
Get a cookie that was sent from the network. (inherited from Request )
| |
Get a header that was sent from the network. (inherited from Request )
| |
Get my originally requesting transport's host. (inherited from Request )
| |
getPassword(self)
(inherited from Request )
| |
Get the hostname that the user passed in to the request. (inherited from Request )
| |
getSession(self,
sessionInterface)
(inherited from Request )
| |
getStateFor(self,
jellier)
(inherited from Jellyable )
| |
Gather state to send when I am serialized for a peer. (inherited from Copyable )
| |
getStateToCopyFor(self,
issuer)
(inherited from Request )
| |
Determine what type tag to send for me. (inherited from Copyable )
| |
Determine what type tag to send for me. (inherited from Copyable )
| |
getUser(self)
(inherited from Request )
| |
Called when HTTP channel got length of content in this request. (inherited from Request )
| |
Write a chunk of data. (inherited from Request )
| |
isSecure(self)
(inherited from Request )
| |
Assemble type tag and state to copy for this broker. (inherited from Copyable )
| |
locateAdapterClass(self,
klass,
interfaceClass,
default,
registry)
(inherited from Componentized )
| |
Notify the object that it is no longer queued. (inherited from Request )
| |
notifyFinish(self)
(inherited from Request )
| |
Parse cookie headers. (inherited from Request )
| |
pathRef(self)
(inherited from Request )
| |
prePathURL(self)
(inherited from Request )
| |
Process a request. (inherited from Request )
| |
processingFailed(self,
reason)
(inherited from Request )
| |
Return an ID which uniquely represents this object for this process. (inherited from Serializable )
| |
Utility function that does a redirect. (inherited from Request )
| |
Register a producer. | |
Remove the given component from me entirely, for all interfaces which it has been registered. (inherited from Componentized )
| |
render(self,
resrc)
(inherited from Request )
| |
Called by channel when all data has been received. (inherited from Request )
| |
setAdapter(self,
interfaceClass,
adapterClass)
(inherited from Componentized )
| |
setComponent(self,
interfaceClass,
component)
(inherited from Componentized )
| |
I will be invoked with the state to copy locally. | |
Set an entity tagfor the outgoing response. (inherited from Request )
| |
Set an outgoing HTTP header. (inherited from Request )
| |
Change the host and port the request thinks it's using. (inherited from Request )
| |
Set the Last-Modifiedtime for the response to this request. (inherited from Request )
| |
Set the HTTP response code. (inherited from Request )
| |
setStateFor(self,
unjellier,
state)
(inherited from Unjellyable )
| |
Return the text that links to a sibling of the requested resource. (inherited from Request )
| |
unjellyFor(self,
unjellier,
jellyList)
(inherited from RemoteCopy )
| |
Unregister the producer. | |
Remove my component specified by the given interface class. (inherited from Componentized )
| |
upgradeToVersion1(self)
(inherited from Componentized )
| |
(internal) Do a version upgrade. (inherited from Versioned )
| |
Remote version of addCookie; same interface. (inherited from Request )
| |
Remote version of finish; same interface. (inherited from Request )
| |
Remote version of registerProducer; same interface. (inherited from Request )
| |
Remote version of setETag; same interface. (inherited from Request )
| |
Remote version of setHeader; same interface. (inherited from Request )
| |
Remote version of setLastModified; same interface. (inherited from Request )
| |
Remote version of setResponseCode; same interface. (inherited from Request )
| |
view_unregisterProducer(self,
issuer)
(inherited from Request )
| |
Remote version of write; same interface. (inherited from Request )
| |
Write some data as a result of an HTTP request. (inherited from Request )
| |
_authorize(self)
(inherited from Request )
| |
Called when have finished responding and are no longer queued. (inherited from Request )
| |
_sendError(self,
code,
resp)
(inherited from Request )
|
Method Details |
---|
registerProducer(self, producer, streaming)Register a producer.
|
setCopyableState(self, state)I will be invoked with the state to copy locally. 'state' is the data returned from the remote object's 'getStateToCopyFor' method, which will often be the remote object's dictionary (or a filtered approximation of it depending on my peer's perspective).
|
unregisterProducer(self)Unregister the producer.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Thu May 8 13:19:06 2003 | http://epydoc.sf.net |