Spring Live

24 hours of cloud native content.

WebFlux.fn and WebMvc.fn: Functional Web Endpoints

Watch on YouTube
12:41 PM PDT on Monday, Apr 06, 2020

WebFlux.fn and WebMvc.fn: Functional Web Endpoints

WebFlux.fn and WebMvc.fn: Functional Web Endpoints

Apr 6 2020

In this episode

In Spring Framework 5.0, we introduced WebFlux.fn: a functional way to define reactive web endpoints. In Spring 5.2, we added WebMvc.fn, which does the same for nonreactive, Servlet environments. In this talk, we’ll discuss both WebFlux.fn and the new WebMvc.fn and cover topics such as: * the difference between annotation-based MVC and this functional approach, * using router and handler functions, * request predicates, * nested routes, * and more!