@RestController public class MinIOController extends Object
| Constructor and Description |
|---|
MinIOController() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> |
download(String fileId) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> |
makeBucket(String bucketName) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> |
removeBucket(String bucketName) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> |
upload(org.springframework.http.codec.multipart.FilePart filePart,
String bucketName,
String path) |
@PostMapping(value="/bucket/{bucketName}")
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> makeBucket(@PathVariable
String bucketName)
@DeleteMapping(value="/bucket/{bucketName}")
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> removeBucket(@PathVariable
String bucketName)
@PostMapping(value="/file/upload",
consumes="multipart/form-data")
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Object>> upload(@RequestPart(value="file")
org.springframework.http.codec.multipart.FilePart filePart,
@RequestPart
String bucketName,
@RequestPart
String path)
Copyright © 2022. All rights reserved.