|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer:
Collaboration diagram for ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer:Public Member Functions | |
| __construct (\ILIAS\HTTP\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 (StorableResource $resource, StreamAccess $stream_access, 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 = \ILIAS\FileUpload\MimeType::APPLICATION__OCTET_STREAM |
| ILIAS HTTP Services | $http |
Additional Inherited Members | |
Protected Attributes inherited from ILIAS\ResourceStorage\Consumer\BaseConsumer | |
| int | $revision_number = null |
| string | $file_name = '' |
| StorableResource | $resource |
| StreamAccess | $stream_access |
| FileNamePolicy | $file_name_policy |
Definition at line 32 of file BaseHTTPResponseBasedConsumer.php.
| ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer::__construct | ( | \ILIAS\HTTP\Services | $http, |
| StorableResource | $resource, | ||
| StreamAccess | $stream_access, | ||
| FileNamePolicy | $file_name_policy | ||
| ) |
Definition at line 38 of file BaseHTTPResponseBasedConsumer.php.
References ILIAS\ResourceStorage\Consumer\BaseConsumer\$file_name_policy, ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer\$http, ILIAS\ResourceStorage\Consumer\BaseConsumer\$stream_access, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\FileDelivery\http().
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 50 of file BaseHTTPResponseBasedConsumer.php.
References $response, ILIAS\HTTP\Response\ResponseHeader\ACCEPT_RANGES, ILIAS\HTTP\Response\ResponseHeader\CONNECTION, ILIAS\HTTP\Response\ResponseHeader\CONTENT_DISPOSITION, ILIAS\HTTP\Response\ResponseHeader\CONTENT_TYPE, ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer\getDisposition(), ILIAS\FileDelivery\http(), and ILIAS\HTTP\Response\ResponseHeader\X_CONTENT_TYPE_OPTIONS.
Here is the call graph for this function:Definition at line 36 of file BaseHTTPResponseBasedConsumer.php.
Referenced by ILIAS\ResourceStorage\Consumer\BaseHTTPResponseBasedConsumer\__construct().
|
private |
Definition at line 35 of file BaseHTTPResponseBasedConsumer.php.