Packages

final class ObjectMetadata extends AnyRef

Modelled after BlobProperties in Azure Blob Storage.

Source
Models.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectMetadata
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. lazy val contentLength: Long

    Gets the Content-Length HTTP header indicating the size of the associated object in bytes.

    Gets the Content-Length HTTP header indicating the size of the associated object in bytes.

    This field is required when uploading objects to Storage, but the Azure Storage Java client will automatically set it when working directly with files. When uploading directly from a stream, set this field if possible. Otherwise the client must buffer the entire stream in order to calculate the content length before sending the data to Azure Storage.

    For more information on the Content-Length HTTP header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13

    returns

    The Content-Length HTTP header indicating the size of the associated object in bytes.

    See also

    ObjectMetadata#setContentLength(long)

  7. lazy val contentMd5: Option[String]

    Content MD5

  8. lazy val contentType: Option[String]

    Gets the Content-Type HTTP header, which indicates the type of content stored in the associated object.

    Gets the Content-Type HTTP header, which indicates the type of content stored in the associated object. The value of this header is a standard MIME type.

    When uploading files, the Azure Storage Java client will attempt to determine the correct content type if one hasn't been set yet. Users are responsible for ensuring a suitable content type is set when uploading streams. If no content type is provided and cannot be determined by the filename, the default content type, "application/octet-stream", will be used.

    For more information on the Content-Type header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17

    returns

    The HTTP Content-Type header, indicating the type of content stored in the associated Storage object.

    See also

    ObjectMetadata#setContentType(String)

  9. lazy val eTag: Option[String]

    Gets the hex encoded 128-bit MD5 digest of the associated object according to RFC 1864.

    Gets the hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. This data is used as an integrity check to verify that the data received by the caller is the same data that was sent by Azure Storage.

    This field represents the hex encoded 128-bit MD5 digest of an object's content as calculated by Azure Storage. The ContentMD5 field represents the base64 encoded 128-bit MD5 digest as calculated on the caller's side.

    returns

    The hex encoded MD5 hash of the content for the associated object as calculated by Azure Storage.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getContentLength: Long

    Java Api

    Java Api

    Gets the Content-Length HTTP header indicating the size of the associated object in bytes.

    This field is required when uploading objects to Storage, but the Azure Storage Java client will automatically set it when working directly with files. When uploading directly from a stream, set this field if possible. Otherwise the client must buffer the entire stream in order to calculate the content length before sending the data to Azure Storage.

    For more information on the Content-Length HTTP header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13

    returns

    The Content-Length HTTP header indicating the size of the associated object in bytes.

    See also

    ObjectMetadata#setContentLength(long)

  14. def getContentMd5: Optional[String]

    Java API Content MD5

  15. def getContentType: Optional[String]

    Java Api

    Java Api

    Gets the Content-Type HTTP header, which indicates the type of content stored in the associated object. The value of this header is a standard MIME type.

    When uploading files, the Azure Storage Java client will attempt to determine the correct content type if one hasn't been set yet. Users are responsible for ensuring a suitable content type is set when uploading streams. If no content type is provided and cannot be determined by the filename, the default content type, "application/octet-stream", will be used.

    For more information on the Content-Type header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17

    returns

    The HTTP Content-Type header, indicating the type of content stored in the associated Storage object.

    See also

    ObjectMetadata#setContentType(String)

  16. def getETag: Optional[String]

    Java Api

    Java Api

    Gets the hex encoded 128-bit MD5 digest of the associated object according to RFC 1864. This data is used as an integrity check to verify that the data received by the caller is the same data that was sent by Azure Storage.

    This field represents the hex encoded 128-bit MD5 digest of an object's content as calculated by Azure Storage. The ContentMD5 field represents the base64 encoded 128-bit MD5 digest as calculated on the caller's side.

    returns

    The hex encoded MD5 hash of the content for the associated object as calculated by Azure Storage.

  17. def getLastModified: Option[DateTime]

    Java Api

    Java Api

    Gets the value of the Last-Modified header, indicating the date and time at which Azure Storage last recorded a modification to the associated object.

    returns

    The date and time at which Azure Storage last recorded a modification to the associated object.

  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. lazy val headers: List[HttpHeader]

    Java Api

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. lazy val lastModified: Option[DateTime]

    Gets the value of the Last-Modified header, indicating the date and time at which Azure Storage last recorded a modification to the associated object.

    Gets the value of the Last-Modified header, indicating the date and time at which Azure Storage last recorded a modification to the associated object.

    returns

    The date and time at which Azure Storage last recorded a modification to the associated object.

  22. val metadata: Seq[HttpHeader]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    ObjectMetadata → AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped