Interface ControllerOne

  • All Known Implementing Classes:
    ControllerOneImpl

    public interface ControllerOne
    Test controller one.
    Author:
    Christian Bremer
    • 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 name
        payload - 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 name
        suffix - the suffix
        payload - the payload
        Returns:
        the mono
      • deleteOk

        @DeleteMapping(path="/api/oks/{name}",
                       produces="application/json")
        reactor.core.publisher.Mono<Boolean> deleteOk​(@PathVariable("name")
                                                      String name)
        Delete ok mono.
        Parameters:
        name - the name
        Returns:
        the mono