WebFlux: Main Features
Learn about the main features of Spring WebFlux.
We'll cover the following
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 @Controller
and @RequestMapping
annotations, so you can decide.
Get hands-on with 1400+ tech skills courses.