Sample project that handles an in-memory library of books related to reactive programming in java.
Gets all the collection of books stored in memory
Gets a specific book with the id in the url
Saves a new book to the collection
BookHandlerImpl
This class holds all the handling methods for the reactive routes defined in Server
BookRepositoryImpl
The actual collection of books. The guardarLibro method returns a Mono which can be streamed to get the save result.
Server
Defines an embedded tomcat that defines the app routes and consumes the handler methods.
Client A small class that consumes the reactive endpoints of the library.
This is a repository to complement the information in this post (in spanish):