Interface LaravelUi5\Sdk\Files\Contracts\FileDeliveryInterface

Answers the one address every stored file is read at, ui5/files/{file}: which file a ULID names, if the actor of the current request may read it. The SDK ships a default that knows no file (every request a 404); the package that stores files binds its own — the Foundation, which looks up the owner of the file's subject and asks it.

The answer is the whole authorization: null for a file that does not exist and for one the actor may not read, so the route never tells the two apart. Build the context of the owning app for the check (SdkUi5ContextFactory::build()): the route itself names no app, and records the read in the report log under that context.

How the bytes go out — content type, inline or download, caching, ranges, the redirect for a cloud disk — is the SDK's, the same for every kind of file.

Methods