public final class COSXMLCopyTask extends COSXMLTask
限定符和类型 | 类和说明 |
---|---|
static class |
COSXMLCopyTask.COSXMLCopyTaskRequest
copy传输任务的请求
|
static class |
COSXMLCopyTask.COSXMLCopyTaskResult
copy传输任务的返回结果
|
COSXMLTask.OnGetHttpTaskMetrics, COSXMLTask.OnSignatureListener
限定符和类型 | 字段和说明 |
---|---|
protected long |
multiCopySizeDivision
是否分片拷贝Limit
|
protected long |
sliceSize |
bucket, cosPath, cosXmlProgressListener, cosXmlResultListener, cosXmlService, headers, initMultipleUploadListener, internalInitMultipleUploadListener, internalProgressListener, internalStateListener, isNeedMd5, mException, monitor, mResult, onGetHttpTaskMetrics, onSignatureListener, queries, region, transferStateListener, waitTimeoutTimer
限定符和类型 | 方法和说明 |
---|---|
protected CosXmlRequest |
buildCOSXMLTaskRequest()
构造COSXMLTask返回的Request
|
protected CosXmlResult |
buildCOSXMLTaskResult(CosXmlResult sourceResult)
构造COSXMLTask返回的Result
|
protected void |
copy()
复制操作
|
protected void |
encounterError(CosXmlRequest cosXmlRequest,
CosXmlClientException clientException,
CosXmlServiceException serviceException) |
java.lang.String |
getUploadId()
获取分片uploadId属性
|
protected void |
internalCancel() |
protected void |
internalCompleted() |
protected void |
internalFailed() |
protected void |
internalPause() |
protected void |
internalResume() |
protected void |
run() |
cancel, clearResultAndException, getException, getHttpMetrics, getResult, getTaskState, pause, resume, setCosXmlProgressListener, setCosXmlResultListener, setCosXmlService, setInitMultipleUploadListener, setOnGetHttpTaskMetrics, setOnSignatureListener, setTransferStateListener, startTimeoutTimer, updateState
protected long multiCopySizeDivision
protected long sliceSize
protected void copy()
protected void internalCompleted()
internalCompleted
在类中 COSXMLTask
protected void internalFailed()
internalFailed
在类中 COSXMLTask
protected void internalPause()
internalPause
在类中 COSXMLTask
protected void internalCancel()
internalCancel
在类中 COSXMLTask
protected void internalResume()
internalResume
在类中 COSXMLTask
protected void encounterError(@Nullable CosXmlRequest cosXmlRequest, CosXmlClientException clientException, CosXmlServiceException serviceException)
encounterError
在类中 COSXMLTask
protected CosXmlRequest buildCOSXMLTaskRequest()
COSXMLTask
buildCOSXMLTaskRequest
在类中 COSXMLTask
protected CosXmlResult buildCOSXMLTaskResult(CosXmlResult sourceResult)
COSXMLTask
buildCOSXMLTaskResult
在类中 COSXMLTask
sourceResult
- 原始CosXmlResultpublic java.lang.String getUploadId()
protected void run()