Class MOXMAN_Handlers_StreamFileHandler
Inheritance | MOXMAN_Handlers_StreamFileHandler |
---|---|
Implements | MOXMAN_Http_IHandler |
Http handler that streams files from the file system.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | MOXMAN_Handlers_StreamFileHandler | |
processRequest() | Sends the specified file with the correct mime type back to the browser. | MOXMAN_Handlers_StreamFileHandler |
Method Details
public void __construct ( MOXMAN_IPlugin $plugin ) | ||
$plugin |
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. |