I am looking at some examples of reactive web applications and i am seeing them like this
@RequestMapping(value = \"/{id}\", method = RequestMethod.GET)
@Res
Mono
and Flux
concepts exist only within your application, while HTTP protocol is used to communicate between your postman/chrome app and your application.
Internal classes of the Spring Webflux framework subscribe to Mono
and Flux
instances returned by your controller methods and map them to HTTP packets based on the MediaType
that you specified in RequestMapping
.