Class StoragePutRequest


public class StoragePutRequest extends StorageObjectRequest
Holds every needed parameters that may be needed to put an object on the distant storage offer.
  • Constructor Details

    • StoragePutRequest

      public StoragePutRequest(Integer tenantId, String type, String guid, String digestAlgorithm, InputStream dataStream)
      Initialize the needed parameters for put requests of an object.
      Parameters:
      tenantId - request tenantId
      type - the type
      guid - the object guid
      digestAlgorithm - the object digestAlgorithm
      dataStream - data stream of the object to put in offer
  • Method Details

    • getDigestAlgorithm

      public String getDigestAlgorithm()
      Gets the digestAlgorithm
      Returns:
      the digestAlgorithm
    • getDataStream

      public InputStream getDataStream()
      Gets the dataStream
      Returns:
      the dataStream
    • getSize

      public long getSize()
    • setSize

      public void setSize(long size)
    • toString

      public String toString()
      Overrides:
      toString in class StorageObjectRequest