Interface ControllerOne
-
- All Known Implementing Classes:
ControllerOneImpl
public interface ControllerOneTest controller one.- Author:
- Christian Bremer
-
-
Field Summary
Fields Modifier and Type Field Description static StringOK_RESPONSEThe constant OK_RESPONSE.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<Boolean>deleteOk(String name)Delete ok mono.reactor.core.publisher.Flux<Map<String,Object>>getOks()Gets oks.reactor.core.publisher.Mono<Void>patchOk(String name, String suffix, String payload)Patch ok mono.reactor.core.publisher.Mono<String>simpleGet()Simple get mono.reactor.core.publisher.Mono<String>updateOk(String name, String payload)Update ok mono.
-
-
-
Field Detail
-
OK_RESPONSE
static final String OK_RESPONSE
The constant OK_RESPONSE.- See Also:
- Constant Field Values
-
-
Method Detail
-
simpleGet
@GetMapping reactor.core.publisher.Mono<String> simpleGet()
Simple get mono.- Returns:
- the mono
-
getOks
@GetMapping(path="/api/oks", produces="application/json") reactor.core.publisher.Flux<Map<String,Object>> getOks()Gets oks.- Returns:
- the oks
-
updateOk
@PutMapping(path="/api/oks/{name}", produces="text/plain", consumes="text/plain") reactor.core.publisher.Mono<String> updateOk(@PathVariable("name") String name, @RequestBody String payload)Update ok mono.- Parameters:
name- the namepayload- the payload- Returns:
- the mono
-
patchOk
@PatchMapping(path="/api/oks/{name}", consumes="text/plain") reactor.core.publisher.Mono<Void> patchOk(@PathVariable("name") String name, @RequestParam(name="suffix") String suffix, @RequestBody String payload)Patch ok mono.- Parameters:
name- the namesuffix- the suffixpayload- the payload- Returns:
- the mono
-
-