public class UploadPartResult extends GenericResult
构造器和说明 |
---|
UploadPartResult()
Constructor
|
限定符和类型 | 方法和说明 |
---|---|
String |
getETag()
Gets the ETag generated by OSS.
|
PartETag |
getPartETag()
Gets the part's ETag.
|
int |
getPartNumber()
Gets the part number.
|
long |
getPartSize()
Gets the part size.
|
void |
setETag(String eTag)
Sets the ETag generated by OSS.
|
void |
setPartNumber(int partNumber)
Sets the part number.
|
void |
setPartSize(long partSize)
Sets the part size.
|
getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC
public int getPartNumber()
public void setPartNumber(int partNumber)
partNumber
- Part number.public String getETag()
OSS would send the MD5 value of the parts data received to user in the ETag header. To make sure the data transferred is 100% correct, we strongly encouraged user to check the server side MD5 with the local computed MD5 value.
public void setETag(String eTag)
OSS would send the MD5 value of the parts data received to user in the ETag header. To make sure the data transferred is 100% correct, we strongly encouraged user to check the server side MD5 with the local computed MD5 value.
eTag
- ETag value.public PartETag getPartETag()
PartETag
instance that has the part number, part size
and its ETag.public long getPartSize()
public void setPartSize(long partSize)
partSize
- Part size.Copyright © 2019. All Rights Reserved.