| Trees | Index | Help |
|---|
| Package flumotion :: Package twisted :: Module rtsp :: Class RTSPRequest |
|
Loggable--+ |Request--+ | RTSPRequest
| Method Summary | |
|---|---|
delHeader(self,
key)
| |
Override in subclasses. | |
processingFailed(self,
reason)
| |
render(self,
resrc)
| |
Set the RTSP response code. | |
| Inherited from Request | |
| |
| |
Set an outgoing HTTP cookie. | |
connection was lost | |
We are finished writing data. | |
Return dictionary of all headers the request received. | |
| |
| |
Get a cookie that was sent from the network. | |
Get a header that was sent from the network. | |
Get my originally requesting transport's host. | |
| |
Get the hostname that the user passed in to the request. | |
| |
Called when HTTP channel got length of content in this request. | |
Write a chunk of data. | |
| |
Notify the object that it is no longer queued. | |
Parse cookie headers. | |
Utility function that does a redirect. | |
Register a producer. | |
Called by channel when all data has been received. | |
Set an entity tag for the outgoing response. | |
Set an outgoing HTTP header. | |
Change the host and port the request thinks it's using. | |
Set the Last-Modified time for the response to this request. | |
Unregister the producer. | |
Write some data as a result of an HTTP request. | |
| Inherited from Loggable | |
Log a debug message. | |
| dict |
Log a message at the given level, with the possibility of going higher up in the stack. |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. | |
| Instance Variable Summary | |
|---|---|
| Inherited from Request | |
| A mapping of strings (the argument names) to lists of values. i.e., ?foo=bar&foo=baz&quux=spam results in {'foo': ['bar', 'baz'], 'quux': ['spam']}. | args: All of the arguments, including URL and POST arguments. |
str |
method: The HTTP method that was used. |
path: The path only (arguments not included). | |
received_headers: All received headers | |
str |
uri: The full URI that was requested (includes arguments). |
| Class Variable Summary | |
|---|---|
int |
code = 200 |
str |
code_message = 'OK'
|
NoneType |
host = None |
str |
logCategory: Implementors can provide a category to log their messages under. |
NoneType |
port = None |
| Inherited from Request | |
Implements |
__implemented__ = <implementedBy twisted.web.http.Reques...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
int |
chunked = 0 |
str |
clientproto = '(no clientproto yet)'
|
NoneType |
etag = None |
int |
finished = 0 |
NoneType |
lastModified = None |
NoneType |
producer = None |
int |
sentLength = 0 |
int |
startedWriting = 0 |
| Method Details |
|---|
process(self)Override in subclasses. This method is not intended for users.
|
setResponseCode(self, code, message=None)Set the RTSP response code.
|
| Class Variable Details |
|---|
code
|
code_message
|
host
|
logCategoryImplementors can provide a category to log their messages under.
|
port
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Oct 26 16:39:16 2008 | http://epydoc.sf.net |