Package flumotion :: Package twisted :: Module rtsp :: Class RTSPRequest
[hide private]

classobj RTSPRequest

source code

twisted.web.http.Request --+
                           |
 extern.log.log.Loggable --+
                           |
                          RTSPRequest

A HTTP request.

Subclasses should override the process() method to determine how the request will be processed.

Instance Methods [hide private]
 
delHeader(self, key) source code
 
setResponseCode(self, code, message=None)
Set the RTSP response code.
source code
 
process(self)
Override in subclasses.
source code
 
_processPath(self) source code
 
processingFailed(self, reason) source code
 
_error(self, code, *lines) source code
 
render(self, resrc) source code
 
_renderErrback(self, failure, resrc) source code
 
_renderCallback(self, result, resrc) source code

Inherited from twisted.web.http.Request: __eq__, __hash__, __init__, __ne__, __providedBy__, __provides__, __repr__, addCookie, connectionLost, finish, getAllHeaders, getClientAddress, getClientIP, getCookie, getHeader, getHost, getPassword, getRequestHostname, getUser, gotLength, handleContentChunk, isSecure, loseConnection, noLongerQueued, notifyFinish, parseCookies, redirect, registerProducer, requestReceived, setETag, setHeader, setHost, setLastModified, unregisterProducer, write

Inherited from twisted.web.http.Request (private): _authorize, _cleanup

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  logCategory = 'request'
Implementors can provide a category to log their messages under.
  code = 200
  code_message = RESPONSES [OK]
  host = None
  port = None

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

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

Instance Variables [hide private]

Inherited from twisted.web.http.Request: args, cookies, method, notifications, path, requestHeaders, responseHeaders, uri

Inherited from twisted.web.http.Request (private): _disconnected, _log

Method Details [hide private]

setResponseCode(self, code, message=None)

source code 

Set the RTSP response code.

Overrides: twisted.web.http.Request.setResponseCode

process(self)

source code 

Override in subclasses.

This method is not intended for users.

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