public class GetObjectResult extends OSSResult
构造器和说明 |
---|
GetObjectResult() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Long |
getClientCRC() |
long |
getContentLength()
Gets the object length
|
ObjectMetadata |
getMetadata()
Gets the metadata
|
java.io.InputStream |
getObjectContent()
Gets the object content
|
void |
setContentLength(long contentLength) |
void |
setMetadata(ObjectMetadata metadata) |
void |
setObjectContent(java.io.InputStream objectContent) |
getRequestId, getResponseHeader, getServerCRC, getStatusCode, setClientCRC, setRequestId, setResponseHeader, setServerCRC, setStatusCode, toString
public ObjectMetadata getMetadata()
public void setMetadata(ObjectMetadata metadata)
public java.io.InputStream getObjectContent()
public void setObjectContent(java.io.InputStream objectContent)
public long getContentLength()
public void setContentLength(long contentLength)
public java.lang.Long getClientCRC()
getClientCRC
在类中 OSSResult