Class ReadOptions

java.lang.Object
org.apache.opendal.ReadOptions

public class ReadOptions extends Object
  • Field Details

    • offset

      public final long offset
      Sets the offset of the read operation.
    • length

      public final long length
      Sets the length of the read operation.
      See Also:
    • overrideContentType

      public final String overrideContentType
      Overrides the Content-Type response header when the service supports it. Also applies to presigned read requests.
    • overrideCacheControl

      public final String overrideCacheControl
      Overrides the Cache-Control response header when the service supports it. Also applies to presigned read requests.
    • overrideContentDisposition

      public final String overrideContentDisposition
      Overrides the Content-Disposition response header when the service supports it. Use this to set a download filename on a presigned read request.
  • Constructor Details

    • ReadOptions

      public ReadOptions()