Interface ResourceController
-
- All Known Implementing Classes:
ResourceControllerImpl
@RequestMapping(path="/api") public interface ResourceController
The resource controller.- Author:
- Christian Bremer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<String>
postResource(org.springframework.core.io.Resource resource)
Post resource mono.
-
-
-
Method Detail
-
postResource
@RequestMapping(path="/resource", method=POST, consumes="text/*") reactor.core.publisher.Mono<String> postResource(@RequestBody org.springframework.core.io.Resource resource)
Post resource mono.- Parameters:
resource
- the resource- Returns:
- the mono
-
-