Package flumotion :: Package component :: Package plugs :: Module requestmodifier :: Class RequestModifierForceDownloadPlug
[hide private]

Class RequestModifierForceDownloadPlug

source code

                 object --+            
                          |            
extern.log.log.Loggable --+            
                          |            
                  base.Plug --+        
                              |        
             base.ComponentPlug --+    
                                  |    
                RequestModifierPlug --+
                                      |
                                     RequestModifierForceDownloadPlug

Instance Methods [hide private]
 
start(self, component) source code
 
modify(self, request)
Modify an HTTP request.
source code

Inherited from base.ComponentPlug: restart, stop

Inherited from base.Plug: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

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

Class Variables [hide private]
  logCategory = 'forcedownload'
Implementors can provide a category to log their messages under.

Inherited from extern.log.log.Loggable: __implemented__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

start(self, component)

source code 
Overrides: base.ComponentPlug.start

modify(self, request)

source code 

Modify an HTTP request. Can be used to modify the HTTP response.

Parameters:
  • request - the request to modify
Overrides: RequestModifierPlug.modify
(inherited documentation)