public class CloudFileServiceKodoImp extends Object implements org.noear.solon.cloud.service.CloudFileService
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
accessKey |
protected com.qiniu.util.Auth |
auth |
protected String |
bucketDef |
protected com.qiniu.storage.BucketManager |
bucketManager |
protected String |
endpoint |
protected String |
secretKey |
protected com.qiniu.storage.UploadManager |
uploadManager |
| 构造器和说明 |
|---|
CloudFileServiceKodoImp(org.noear.solon.cloud.CloudProps cloudProps) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.noear.solon.core.handle.Result |
delete(String bucket,
String key) |
org.noear.solon.cloud.model.Media |
get(String bucket,
String key) |
org.noear.solon.core.handle.Result |
put(String bucket,
String key,
org.noear.solon.cloud.model.Media media) |
protected final String bucketDef
protected final String accessKey
protected final String secretKey
protected final String endpoint
protected final com.qiniu.util.Auth auth
protected final com.qiniu.storage.UploadManager uploadManager
protected final com.qiniu.storage.BucketManager bucketManager
public CloudFileServiceKodoImp(org.noear.solon.cloud.CloudProps cloudProps)
public org.noear.solon.cloud.model.Media get(String bucket, String key) throws org.noear.solon.cloud.exception.CloudFileException
get 在接口中 org.noear.solon.cloud.service.CloudFileServiceorg.noear.solon.cloud.exception.CloudFileExceptionpublic org.noear.solon.core.handle.Result put(String bucket, String key, org.noear.solon.cloud.model.Media media) throws org.noear.solon.cloud.exception.CloudFileException
put 在接口中 org.noear.solon.cloud.service.CloudFileServiceorg.noear.solon.cloud.exception.CloudFileExceptionCopyright © 2022. All rights reserved.