Package io.minio

Class PutObjectBaseArgs

Direct Known Subclasses:
PutObjectArgs, UploadObjectArgs

public abstract class PutObjectBaseArgs extends ObjectWriteArgs
Base argument class for PutObjectArgs and UploadObjectArgs.
  • Field Details

    • objectSize

      protected long objectSize
    • partSize

      protected long partSize
    • partCount

      protected int partCount
    • contentType

      protected String contentType
    • preloadData

      protected boolean preloadData
  • Constructor Details

    • PutObjectBaseArgs

      public PutObjectBaseArgs()
  • Method Details

    • objectSize

      public long objectSize()
    • partSize

      public long partSize()
    • partCount

      public int partCount()
    • contentType

      public String contentType() throws IOException
      Gets content type. It returns if content type is set (or) value of "Content-Type" header.
      Throws:
      IOException
    • preloadData

      public boolean preloadData()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class ObjectWriteArgs
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ObjectWriteArgs