Basic REST API

To understand the practical part of Reactive components such as Flux and Mono, we will have to create our own REST API and start implementing Flux and Mono classes in our API. In this chapter, we will build a simple REST web service that returns Aloha. Before moving into the implementation part, we will focus on the components involved in creating a RESTful web service.

In this section, we will cover the following topics:

  • Flux and Mono—introduction of Spring 5: Functional Web Framework components
  • Flux and Mono—in the REST API