Class MOXMAN_Handlers_StreamFileHandler

InheritanceMOXMAN_Handlers_StreamFileHandler
ImplementsMOXMAN_Http_IHandler

Http handler that streams files from the file system.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() MOXMAN_Handlers_StreamFileHandler
processRequest() Sends the specified file with the correct mime type back to the browser. MOXMAN_Handlers_StreamFileHandler

Method Details

__construct() public method

public void __construct ( MOXMAN_IPlugin $plugin )
$plugin
processRequest() public method

Sends the specified file with the correct mime type back to the browser.

This method gets called from the client side using the stream file.

public void processRequest ( MOXMAN_Http_Context $httpContext )
$httpContext MOXMAN_Http_Context

Context instance to pass to use for the handler.