Using HandlerFunction and RouterFunction in exposing repository data is the major option that is the promoted by this chapter since everything is all about Spring 5. But there are also non-reactive ways of exposing these data using the conventional @RestController and Spring REST that are still present in Spring Boot 2.0, which can be part of building reactive applications and microservices.
Implementing REST services using @RestController and Spring REST
Getting started
Open ch09-flux and add the following Spring REST support for Spring Boot 2.0.
How to do it...
To implement...