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

Class 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: __init__, __providedBy__, __repr__, addCookie, connectionLost, finish, getAllHeaders, getClient, getClientIP, getCookie, getHeader, getHost, getPassword, getRequestHostname, getUser, gotLength, handleContentChunk, isSecure, noLongerQueued, parseCookies, redirect, registerProducer, requestReceived, setETag, setHeader, setHost, setLastModified, unregisterProducer, write

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__, __provides__, chunked, clientproto, 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, method, path, received_headers, uri

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)