public class RequestXmlFactory extends Object
| 构造器和说明 |
|---|
RequestXmlFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
convertToXmlByteArray(List<PartETag> partETags)
Converts the specified list of PartETags to an XML fragment that can be sent to the
CompleteMultipartUpload operation of Qcloud COS.
|
static byte[] |
convertToXmlByteArray(RestoreObjectRequest restoreObjectRequest)
Converts the RestoreObjectRequest to an XML fragment that can be sent to the RestoreObject
operation of COS.
|
public static byte[] convertToXmlByteArray(List<PartETag> partETags)
partETags - The list of part ETags containing the data to include in the new XML
fragment.public static byte[] convertToXmlByteArray(RestoreObjectRequest restoreObjectRequest) throws CosClientException
restoreObjectRequest - The container which provides options for restoring an object,
which was transitioned to the CAS from COS when it was expired, into COS again.CosClientExceptionCopyright © 2020. All rights reserved.