T2
- public class ResponseFileBodySerializer<T2> extends ResponseFileConverter<T2>
isQuic, progressListener
构造器和说明 |
---|
ResponseFileBodySerializer(GetObjectResult getObjectResult,
java.lang.String absolutePath,
long start) |
ResponseFileBodySerializer(GetObjectResult getObjectResult,
android.net.Uri contentUri,
android.content.ContentResolver contentResolver,
long start) |
限定符和类型 | 方法和说明 |
---|---|
T2 |
convert(HttpResponse response)
转换方法
|
enableQuic, getBytesTransferred, getOutputStream, getProgressListener, isFilePathConverter, setProgressListener
bytes, file, file, inputStream, string
public ResponseFileBodySerializer(GetObjectResult getObjectResult, java.lang.String absolutePath, long start)
public ResponseFileBodySerializer(GetObjectResult getObjectResult, android.net.Uri contentUri, android.content.ContentResolver contentResolver, long start)
public T2 convert(HttpResponse response) throws QCloudClientException, QCloudServiceException
ResponseBodyConverter
convert
在类中 ResponseFileConverter<T2>
response
- 需要解析的ResponseBodyQCloudClientException
- 客户端异常QCloudServiceException
- 服务端异常