Class GetObjectResponse
- java.lang.Object
- 
- com.oracle.bmc.responses.BmcResponse
- 
- com.oracle.bmc.objectstorage.responses.GetObjectResponse
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class GetObjectResponse extends BmcResponse
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGetObjectResponse.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetObjectResponse.Builderbuilder()Return a new builder for this response object.booleanequals(Object o)ArchivalStategetArchivalState()Archival state of an object.StringgetCacheControl()Cache-Control header, as described in RFC 2616.StringgetContentDisposition()Content-Disposition header, as described in RFC 2616.StringgetContentEncoding()Content-Encoding header, as described in RFC 2616.StringgetContentLanguage()Content-Language header, as described in RFC 2616.LonggetContentLength()The object size in bytes.StringgetContentMd5()Content-MD5 header, as described in RFC 2616.RangegetContentRange()Content-Range header for range requests, per RFC 7233.StringgetContentType()Content-Type header, as described in RFC 2616.StringgetETag()The entity tag (ETag) for the object.DategetExpires()The date and time after which the object is no longer cached by a browser, proxy, or other caching entity.InputStreamgetInputStream()The returned java.io.InputStream instance, or null ifisNotModified()is true.DategetLastModified()The object modification time, as described in RFC 2616.StringgetOpcClientRequestId()Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.StringgetOpcContentCrc32c()The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object.StringgetOpcContentSha256()Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload.StringgetOpcContentSha384()Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload.Map<String,String>getOpcMeta()The user-defined metadata for the object.StringgetOpcMultipartMd5()Only applicable to objects uploaded using multipart upload.StringgetOpcMultipartSha256()Only applicable to objects uploaded using multipart upload.StringgetOpcMultipartSha384()Only applicable to objects uploaded using multipart upload.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StorageTiergetStorageTier()The storage tier that the object is stored in.DategetTimeOfArchival()Time that the object is returned to the archived state.StringgetVersionId()VersionId of the objectinthashCode()booleanisNotModified()Flag to indicate whether or not the object was modified.StringtoString()- 
Methods inherited from class com.oracle.bmc.responses.BmcResponsecanEqual, get__httpStatusCode__, getHeaders
 
- 
 
- 
- 
- 
Method Detail- 
getOpcClientRequestIdpublic String getOpcClientRequestId() Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Returns:
- the value
 
 - 
getOpcRequestIdpublic String getOpcRequestId() Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide this request ID. - Returns:
- the value
 
 - 
getETagpublic String getETag() The entity tag (ETag) for the object.- Returns:
- the value
 
 - 
getOpcMetapublic Map<String,String> getOpcMeta() The user-defined metadata for the object.- Returns:
- the value
 
 - 
getContentLengthpublic Long getContentLength() The object size in bytes.- Returns:
- the value
 
 - 
getContentRangepublic Range getContentRange() Content-Range header for range requests, per RFC 7233.- Returns:
- the value
 
 - 
getContentMd5public String getContentMd5() Content-MD5 header, as described in RFC 2616.Unavailable for objects uploaded using multipart upload. - Returns:
- the value
 
 - 
getOpcMultipartMd5public String getOpcMultipartMd5() Only applicable to objects uploaded using multipart upload.Base-64 representation of the multipart object hash. The multipart object hash is calculated by taking the MD5 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the MD5 hash of the concatenated values. - Returns:
- the value
 
 - 
getOpcContentCrc32cpublic String getOpcContentCrc32c() The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object.Even for objects uploaded using multipart upload, this header returns the CRC32C (Castagnoli) checksum of the complete reconstructed object. - Returns:
- the value
 
 - 
getOpcContentSha256public String getOpcContentSha256() Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload.The base64-encoded SHA256 hash of the object as computed during upload. Unavailable for objects uploaded using multipart upload. - Returns:
- the value
 
 - 
getOpcMultipartSha256public String getOpcMultipartSha256() Only applicable to objects uploaded using multipart upload.Applicable only if SHA256 was specified in the opc-checksum-algorithm request header during upload. Base-64 representation of the multipart object SHA256 hash. The multipart object hash is calculated by taking the SHA256 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the SHA256 hash of the concatenated values. - Returns:
- the value
 
 - 
getOpcContentSha384public String getOpcContentSha384() Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload.The base64-encoded SHA384 hash of the object as computed during upload. Unavailable for objects uploaded using multipart upload. - Returns:
- the value
 
 - 
getOpcMultipartSha384public String getOpcMultipartSha384() Only applicable to objects uploaded using multipart upload.Applicable only if SHA384 was specified in the opc-checksum-algorithm request header during upload. Base-64 representation of the multipart object SHA384 hash. The multipart object hash is calculated by taking the SHA384 hashes of the parts, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the SHA384 hash of the concatenated values. - Returns:
- the value
 
 - 
getContentTypepublic String getContentType() Content-Type header, as described in RFC 2616.- Returns:
- the value
 
 - 
getContentLanguagepublic String getContentLanguage() Content-Language header, as described in RFC 2616.- Returns:
- the value
 
 - 
getContentEncodingpublic String getContentEncoding() Content-Encoding header, as described in RFC 2616.- Returns:
- the value
 
 - 
getCacheControlpublic String getCacheControl() Cache-Control header, as described in RFC 2616.- Returns:
- the value
 
 - 
getContentDispositionpublic String getContentDisposition() Content-Disposition header, as described in RFC 2616.- Returns:
- the value
 
 - 
getLastModifiedpublic Date getLastModified() The object modification time, as described in RFC 2616.- Returns:
- the value
 
 - 
getStorageTierpublic StorageTier getStorageTier() The storage tier that the object is stored in.- Returns:
- the value
 
 - 
getArchivalStatepublic ArchivalState getArchivalState() Archival state of an object.This field is set only for objects in Archive tier. - Returns:
- the value
 
 - 
getTimeOfArchivalpublic Date getTimeOfArchival() Time that the object is returned to the archived state.This field is only present for restored objects. - Returns:
- the value
 
 - 
getVersionIdpublic String getVersionId() VersionId of the object- Returns:
- the value
 
 - 
getExpirespublic Date getExpires() The date and time after which the object is no longer cached by a browser, proxy, or other caching entity.See RFC 2616. - Returns:
- the value
 
 - 
getInputStreampublic InputStream getInputStream() The returned java.io.InputStream instance, or null ifisNotModified()is true.- Returns:
- the value
 
 - 
isNotModifiedpublic boolean isNotModified() Flag to indicate whether or not the object was modified.If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’). - Parameters:
- true- if the object was not modified
 
 - 
builderpublic static GetObjectResponse.Builder builder() Return a new builder for this response object.- Returns:
- builder for the response object
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- BmcResponse
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- BmcResponse
 
 
- 
 
-