PHP Class OCA\Richdocuments\DownloadResponse

Inheritance: extends OCP\AppFramework\Http\Response
Show file Open project: owncloud/richdocuments

Public Methods

Method Description
__construct ( OCP\IRequest $request, string $user, string $path )
render ( )

Protected Methods

Method Description
addContentDispositionHeader ( )
sendRangeNotSatisfiable ( integer $filesize ) Send 416 if we can't satisfy the requested ranges

Method Details

__construct() public method

public __construct ( OCP\IRequest $request, string $user, string $path )
$request OCP\IRequest
$user string
$path string

addContentDispositionHeader() protected method

render() public method

public render ( )

sendRangeNotSatisfiable() protected method

Send 416 if we can't satisfy the requested ranges
protected sendRangeNotSatisfiable ( integer $filesize )
$filesize integer