Class BinaryUploadOptions

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

@ProviderType public final class BinaryUploadOptions extends Object
Specifies the options to be used when requesting direct upload URIs via JackrabbitValueFactory.initiateBinaryUpload(long, int, BinaryUploadOptions).

To specify upload options, obtain a BinaryUploadOptions.BinaryUploadOptionsBuilder via the builder() method, then specify the options desired and get the object via BinaryUploadOptions.BinaryUploadOptionsBuilder.build().

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

  • Field Details

    • DEFAULT

      public static final BinaryUploadOptions DEFAULT
      Provides a default instance of this class. This instance enforces the proper default behaviors for the options.
  • Method Details

    • isDomainOverrideIgnored

      public boolean isDomainOverrideIgnored()
      Indicates whether the option to ignore any configured domain override setting has been specified.
      Returns:
      true if the domain override should be ignored; false otherwise. The default behavior is false, meaning that any configured domain override setting should be honored.
    • builder

      @NotNull public static @NotNull BinaryUploadOptions.BinaryUploadOptionsBuilder builder()
      Returns a BinaryUploadOptions.BinaryUploadOptionsBuilder instance to be used for creating an instance of this class.
      Returns:
      A builder instance.