final class ObjectMetadata extends AnyRef
- Alphabetic
- By Inheritance
- ObjectMetadata
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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)
- lazy val contentMd5: Option[String]
Content MD5
- 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)
- 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.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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)
- def getContentMd5: Optional[String]
Java API Content MD5
- 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)
- 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.
- 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.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- lazy val headers: List[HttpHeader]
Java Api
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- val metadata: Seq[HttpHeader]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- ObjectMetadata → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()