|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\FileDelivery\Delivery\BaseDelivery:
Collaboration diagram for ILIAS\FileDelivery\Delivery\BaseDelivery:Public Member Functions | |
| __construct (protected GlobalHttpState $http, protected ResponseBuilder $response_builder, protected ResponseBuilder $fallback_response_builder, protected IsolationConfig $isolation=new IsolationConfig(false, null, null),) | |
Protected Member Functions | |
| isRequestHostAllowed () | |
| When user content isolation is active, only requests targeting the configured content domain may be served. More... | |
| isRequestOnContentHost () | |
| Inverse of {. More... | |
| notFound (ResponseInterface $r) | |
| Send an empty 404 response and terminate. More... | |
| saveAndClose (ResponseInterface $r, ?string $path_to_delete=null) | |
| setGeneralHeaders (ResponseInterface $r, string $uri, string $mime_type, string $file_name, Disposition $disposition=Disposition::INLINE, bool $isolated=true) | |
| applyIsolationHeaders (ResponseInterface $r) | |
| When isolation is active, harden delivery responses: More... | |
Protected Attributes | |
| const | MIME_TYPE_MAP = __DIR__ . '/../../../FileUpload/src/mime_type_map.php' |
| array | $mime_type_map |
Definition at line 32 of file BaseDelivery.php.
| ILIAS\FileDelivery\Delivery\BaseDelivery::__construct | ( | protected GlobalHttpState | $http, |
| protected ResponseBuilder | $response_builder, | ||
| protected ResponseBuilder | $fallback_response_builder, | ||
| protected IsolationConfig | $isolation = new IsolationConfig(false, null, null) |
||
| ) |
Definition at line 38 of file BaseDelivery.php.
References ILIAS\FileDelivery\Delivery\BaseDelivery\MIME_TYPE_MAP.
|
protected |
When isolation is active, harden delivery responses:
Definition at line 153 of file BaseDelivery.php.
|
protected |
When user content isolation is active, only requests targeting the configured content domain may be served.
Requests reaching the delivery endpoint via the main ILIAS domain are rejected.
Definition at line 55 of file BaseDelivery.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
protected |
Inverse of {.
Definition at line 75 of file BaseDelivery.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
protected |
Send an empty 404 response and terminate.
Declared never so the type system guarantees callers cannot fall through to actually serving a file after a rejected request.
Definition at line 94 of file BaseDelivery.php.
References ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
protected |
Definition at line 101 of file BaseDelivery.php.
|
protected |
Definition at line 122 of file BaseDelivery.php.
|
protected |
Definition at line 36 of file BaseDelivery.php.
|
protected |
Definition at line 34 of file BaseDelivery.php.
Referenced by ILIAS\FileDelivery\Delivery\BaseDelivery\__construct().