Class TestController
- java.lang.Object
-
- org.bremersee.security.authentication.resourceserver.reactive.components.TestController
-
@RestController public class TestController extends Object
The test controller.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description TestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<String>
protectedPostResource(String bode)
Protected post resource.reactor.core.publisher.Mono<String>
protectedResource()
Protected resource.reactor.core.publisher.Mono<String>
publicResource()
Public resource.
-
-
-
Method Detail
-
publicResource
@GetMapping(path="/public") public reactor.core.publisher.Mono<String> publicResource()
Public resource.- Returns:
- the mono
-
protectedResource
@GetMapping(path="/protected") public reactor.core.publisher.Mono<String> protectedResource()
Protected resource.- Returns:
- the mono
-
-