@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class GetObjectResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GetObjectResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetObjectResponse.Builder |
builder() |
String |
getArchivalState()
The current state of the object.
|
String |
getContentEncoding()
Content-Encoding header, as described in RFC 2616, section 14.11.
|
String |
getContentLanguage()
Content-Language header, as described in RFC 2616, section 14.12.
|
Long |
getContentLength()
The object size in bytes.
|
String |
getContentMd5()
Content-MD5 header, as described in RFC 2616, section 14.15.
|
Range |
getContentRange()
Content-Range header for range requests, per RFC 7233, section 4.2.
|
String |
getContentType()
Content-Type header, as described in RFC 2616, section 14.17.
|
String |
getETag()
The entity tag (ETag) for the object.
|
InputStream |
getInputStream()
The returned java.io.InputStream instance, or null if
isNotModified() is true. |
Date |
getLastModified()
The object modification time, as described in RFC 2616, section 14.29.
|
String |
getOpcClientRequestId()
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
|
Map<String,String> |
getOpcMeta()
The user-defined metadata for the object.
|
String |
getOpcMultipartMd5()
Only applicable to objects uploaded using multipart upload.
|
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
Date |
getTimeOfArchival()
Time that the object is returned to the archived state.
|
boolean |
isNotModified()
Flag to indicate whether or not the object was modified.
|
public static GetObjectResponse.Builder builder()
public String getOpcClientRequestId()
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide this request ID.
public String getETag()
The entity tag (ETag) for the object.
public Long getContentLength()
The object size in bytes.
public Range getContentRange()
Content-Range header for range requests, per RFC 7233, section 4.2.
public String getContentMd5()
Content-MD5 header, as described in RFC 2616, section 14.15. Unavailable for objects uploaded using multipart upload.
public 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.
public String getContentType()
Content-Type header, as described in RFC 2616, section 14.17.
public String getContentLanguage()
Content-Language header, as described in RFC 2616, section 14.12.
public String getContentEncoding()
Content-Encoding header, as described in RFC 2616, section 14.11.
public Date getLastModified()
The object modification time, as described in RFC 2616, section 14.29.
public String getArchivalState()
The current state of the object.
public Date getTimeOfArchival()
Time that the object is returned to the archived state. This field is only present for restored objects.
public InputStream getInputStream()
The returned java.io.InputStream instance, or null if isNotModified()
is true.
public 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’).
Copyright © 2016–2019. All rights reserved.