Package org.apache.jackrabbit.api.binary
Class BinaryUploadOptions.BinaryUploadOptionsBuilder
java.lang.Object
org.apache.jackrabbit.api.binary.BinaryUploadOptions.BinaryUploadOptionsBuilder
- Enclosing class:
- BinaryUploadOptions
Used to build an instance of
BinaryUploadOptions
with the options
set as desired by the caller.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Construct aBinaryUploadOptions
instance with the properties specified to the builder.withDomainOverrideIgnore
(boolean domainOverrideIgnore) Sets the option to ignore any configured domain override setting.
-
Method Details
-
withDomainOverrideIgnore
public BinaryUploadOptions.BinaryUploadOptionsBuilder withDomainOverrideIgnore(boolean domainOverrideIgnore) Sets the option to ignore any configured domain override setting. The default value of this option is false, meaning that any configured domain override setting should be honored when generating signed upload URIs. Setting this value to true will indicate that the signed upload URIs being generated should not honor any configured domain override setting.- Parameters:
domainOverrideIgnore
- true to ignore any configured domain override setting, false otherwise.- Returns:
- the calling instance.
-
build
Construct aBinaryUploadOptions
instance with the properties specified to the builder.- Returns:
- A new
BinaryUploadOptions
instance built with the properties specified to the builder.
-