public final class COSXMLDownloadTask extends COSXMLTask
限定符和类型 | 类和说明 |
---|---|
static class |
COSXMLDownloadTask.COSXMLDownloadTaskRequest
下载传输任务的请求
|
static class |
COSXMLDownloadTask.COSXMLDownloadTaskResult
下载传输任务的返回结果
|
COSXMLTask.OnGetHttpTaskMetrics, COSXMLTask.OnSignatureListener
bucket, cosPath, cosXmlProgressListener, cosXmlResultListener, cosXmlService, headers, initMultipleUploadListener, internalInitMultipleUploadListener, internalProgressListener, internalStateListener, IS_EXIT, isNeedMd5, mException, monitor, mResult, onGetHttpTaskMetrics, onSignatureListener, queries, region, transferStateListener, waitTimeoutTimer
限定符和类型 | 方法和说明 |
---|---|
protected CosXmlRequest |
buildCOSXMLTaskRequest()
构造COSXMLTask返回的Request
|
protected CosXmlResult |
buildCOSXMLTaskResult(CosXmlResult sourceResult)
构造COSXMLTask返回的Result
|
protected void |
download()
下载操作
|
protected void |
encounterError(CosXmlRequest cosXmlRequest,
CosXmlClientException clientException,
CosXmlServiceException serviceException) |
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 void download()
protected CosXmlRequest buildCOSXMLTaskRequest()
COSXMLTask
buildCOSXMLTaskRequest
在类中 COSXMLTask
protected CosXmlResult buildCOSXMLTaskResult(CosXmlResult sourceResult)
COSXMLTask
buildCOSXMLTaskResult
在类中 COSXMLTask
sourceResult
- 原始CosXmlResultprotected void run()
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