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

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.

主站蜘蛛池模板: 和平区| 犍为县| 梧州市| 昆明市| 平定县| 吕梁市| 许昌市| 蓬安县| 阆中市| 平南县| 云浮市| 高安市| 扬州市| 苏尼特左旗| 邵阳市| 南召县| 平顶山市| 花莲市| 杂多县| 高要市| 息烽县| 澄江县| 防城港市| 天门市| 大洼县| 黄大仙区| 个旧市| 津市市| 碌曲县| 聊城市| 读书| 安福县| 望谟县| 太仆寺旗| 肃南| 诸城市| 聊城市| 炎陵县| 横山县| 胶南市| 内乡县|