官术网_书友最值得收藏!

WebFlux programming models

Spring WebFlux is flexible enough to support different development patterns. You can create an application in WebFlux with the following two programming models:

  • Annotated controller: This is much similar than the Spring MVC controller.
  • Functional end point:  Functional end points are used to process and route requests with functional programming features.

We will explore both these options in the sample WebFlux application that we created with the Spring Data repository and entity class. The next part is to create a controller, which can be done in the following two ways.

主站蜘蛛池模板: 象州县| 民勤县| 达州市| 社旗县| 武威市| 敖汉旗| 乡城县| 宝坻区| 哈尔滨市| 张家界市| 崇文区| 社旗县| 建始县| 周至县| 舒兰市| 九江市| 长治县| 集安市| 安徽省| 青浦区| 全椒县| 霍林郭勒市| 宁远县| 襄城县| 冕宁县| 温泉县| 黎平县| 益阳市| 隆回县| 彭泽县| 乾安县| 铜鼓县| 库尔勒市| 博乐市| 新干县| 无极县| 怀化市| 新乐市| 安康市| 南靖县| 西乌|