public class RestManagerExt
extends com.upyun.RestManager
| 限定符和类型 | 字段和说明 |
|---|---|
private okhttp3.OkHttpClient |
mClient |
| 构造器和说明 |
|---|
RestManagerExt(String bucketName,
String userName,
String password)
初始化 UpYun 存储接口
|
| 限定符和类型 | 方法和说明 |
|---|---|
okhttp3.Response |
deleteFile(String bucket,
String filePath,
Map<String,String> params) |
private okhttp3.Response |
request(String method,
String bucket,
String filePath,
okhttp3.RequestBody body,
Map<String,String> params) |
okhttp3.Response |
writeFile(String bucket,
String filePath,
File file,
Map<String,String> params) |
public okhttp3.Response writeFile(String bucket, String filePath, File file, Map<String,String> params) throws IOException, com.upyun.UpException
IOExceptioncom.upyun.UpExceptionpublic okhttp3.Response deleteFile(String bucket, String filePath, Map<String,String> params) throws IOException, com.upyun.UpException
IOExceptioncom.upyun.UpExceptionprivate okhttp3.Response request(String method, String bucket, String filePath, okhttp3.RequestBody body, Map<String,String> params) throws com.upyun.UpException, IOException
com.upyun.UpExceptionIOExceptionCopyright © 2023. All rights reserved.