Class BinaryDownloadOptions

java.lang.Object
org.apache.jackrabbit.api.binary.BinaryDownloadOptions

@ProviderType public final class BinaryDownloadOptions extends Object
Specifies the options to be used when obtaining a direct download URI via BinaryDownload.getURI(BinaryDownloadOptions). Setting these options allows the caller to instruct the service provider that these options should be applied to the response to a request made with the URI returned.

To specify download options, obtain a BinaryDownloadOptions.BinaryDownloadOptionsBuilder via the builder() method, then specify the options desired and get the object via BinaryDownloadOptions.BinaryDownloadOptionsBuilder.build().

If no options are needed, use DEFAULT which instructs the implementation to use the service provider default behavior.