public class CloudFileServiceMinioImpl extends Object implements org.noear.solon.cloud.service.CloudFileService
| 构造器和说明 |
|---|
CloudFileServiceMinioImpl(org.noear.solon.cloud.CloudProps cloudProps) |
CloudFileServiceMinioImpl(String endpoint,
String regionId,
String bucket,
String accessKey,
String secretKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.noear.solon.core.handle.Result<?> |
delete(String bucket,
String key) |
boolean |
exists(String bucket,
String key) |
org.noear.solon.cloud.model.Media |
get(String bucket,
String key) |
io.minio.MinioClient |
getClient() |
String |
getTempUrl(String bucket,
String key,
Date expiration) |
org.noear.solon.core.handle.Result<?> |
put(String bucket,
String key,
org.noear.solon.cloud.model.Media media) |
public CloudFileServiceMinioImpl(org.noear.solon.cloud.CloudProps cloudProps)
public io.minio.MinioClient getClient()
public boolean exists(String bucket, String key) throws org.noear.solon.cloud.exception.CloudFileException
exists 在接口中 org.noear.solon.cloud.service.CloudFileServiceorg.noear.solon.cloud.exception.CloudFileExceptionpublic String getTempUrl(String bucket, String key, Date expiration) throws org.noear.solon.cloud.exception.CloudFileException, UnsupportedOperationException
getTempUrl 在接口中 org.noear.solon.cloud.service.CloudFileServiceorg.noear.solon.cloud.exception.CloudFileExceptionUnsupportedOperationExceptionpublic 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 © 2024. All rights reserved.