WebFlux: Main Features
Standard controllers and router functions
Spring WebFlux comes with a new feature called router functions. The idea is to apply functional programming to the web layer and get rid of the declarative way of implementing controllers and RequestMappings. See the full docs here. However, as you can see depicted in the picture below (based on the one available on the official docs), Spring 5 still allows you to use the
@RequestMapping annotations, so you can decide.