类 MinioBucketController
java.lang.Object
cn.herodotus.oss.rest.minio.reactive.controller.MinioBucketController
- 所有已实现的接口:
OssController,cn.herodotus.stirrup.web.core.definition.Controller,cn.herodotus.stirrup.web.core.definition.ReactiveController
@RestController
@RequestMapping("/oss/bucket")
public class MinioBucketController
extends Object
implements OssController
Description: Minio 对象存储 Bucket 管理接口
- 作者:
- : gengwei.zheng
- Date:
- : 2022/7/2 14:45
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<VoidResponse>> createBucket(MakeBucketRequest request) reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<VoidResponse>> deleteBucket(RemoveBucketRequest request) reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<Boolean>> doesBucketExist(BucketExistsRequest request) reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<List<cn.herodotus.oss.core.domain.bucket.BucketDomain>>> listBuckets(ListBucketsRequest request) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.herodotus.stirrup.web.core.definition.Controller
getPageInfoMap, result, result, result, result, result, result, result从接口继承的方法 cn.herodotus.oss.rest.minio.reactive.definition.OssController
fromVoid从接口继承的方法 cn.herodotus.stirrup.web.core.definition.ReactiveController
fromList, result
-
构造器详细资料
-
MinioBucketController
-
-
方法详细资料
-
listBuckets
@AccessLimited @GetMapping("/list") public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<List<cn.herodotus.oss.core.domain.bucket.BucketDomain>>> listBuckets(ListBucketsRequest request) -
doesBucketExist
@AccessLimited @GetMapping("/exists") public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<Boolean>> doesBucketExist(BucketExistsRequest request) -
createBucket
@Idempotent @PostMapping public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<VoidResponse>> createBucket(@Validated @RequestBody MakeBucketRequest request) -
deleteBucket
@Idempotent @DeleteMapping public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<VoidResponse>> deleteBucket(@Validated @RequestBody RemoveBucketRequest request)
-