|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer:
Collaboration diagram for ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer:Public Member Functions | |
| __construct (Services $http, StorableResource $resource, StreamAccess $stream_access, FileNamePolicy $file_name_policy) | |
| run () | |
| This runs the actual DeliveryConsumer. More... | |
Public Member Functions inherited from ILIAS\ResourceStorage\Consumer\BaseConsumer | |
| __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 | |
Protected Attributes inherited from ILIAS\ResourceStorage\Consumer\BaseConsumer | |
| 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().
Here is the call graph for this function:
|
abstractprotected |
Reimplemented in ILIAS\ResourceStorage\Consumer\DownloadConsumer, and ILIAS\ResourceStorage\Consumer\InlineConsumer.
Referenced by ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer\run().
Here is the caller graph for this function:| 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.
Here is the call graph for this function:
|
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().