ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (Services $http, StorableResource $resource, StreamAccess $stream_access, FileNamePolicy $file_name_policy) | |
run () | |
This runs the actual DeliveryConsumer. More... | |
![]() | |
__construct (protected StorableResource $resource, protected StreamAccess $stream_access, protected FileNamePolicy $file_name_policy) | |
DownloadConsumer constructor. More... | |
run () | |
This runs the actual DeliveryConsumer. More... | |
setRevisionNumber (int $revision_number) | |
@inheritDoc More... | |
overrideFileName (string $file_name) | |
run () | |
This runs the actual DeliveryConsumer. More... | |
setRevisionNumber (int $revision_number) | |
overrideFileName (string $file_name) | |
Protected Member Functions | |
getDisposition () | |
Private Attributes | |
const | NON_VALID_EXTENSION_MIME = MimeType::APPLICATION__OCTET_STREAM |
Services | $http |
StreamDelivery | $delivery |
Additional Inherited Members | |
![]() | |
int | $revision_number = null |
string | $file_name = '' |
Definition at line 34 of file BaseHTTPResponseBasedConsumer.php.
ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer::__construct | ( | Services | $http, |
StorableResource | $resource, | ||
StreamAccess | $stream_access, | ||
FileNamePolicy | $file_name_policy | ||
) |
Definition at line 41 of file BaseHTTPResponseBasedConsumer.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
|
abstractprotected |
Reimplemented in ILIAS\ResourceStorage\Consumer\DownloadConsumer, and ILIAS\ResourceStorage\Consumer\InlineConsumer.
Referenced by ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer\run().
ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer::run | ( | ) |
This runs the actual DeliveryConsumer.
E.g. a DownloadConsumer will pass the Stream of a Ressource to the HTTP-Service and download the file.
Reimplemented from ILIAS\ResourceStorage\Consumer\BaseConsumer.
Definition at line 54 of file BaseHTTPResponseBasedConsumer.php.
References ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer\getDisposition(), and ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer\NON_VALID_EXTENSION_MIME.
|
private |
Definition at line 39 of file BaseHTTPResponseBasedConsumer.php.
|
private |
Definition at line 38 of file BaseHTTPResponseBasedConsumer.php.
|
private |
Definition at line 37 of file BaseHTTPResponseBasedConsumer.php.
Referenced by ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer\run().