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

  • Spring 5.0 Projects
  • Nilang Patel
  • 96字
  • 2021-07-02 12:35:08

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.

主站蜘蛛池模板: 大英县| 平远县| 万宁市| 肃北| 海淀区| 吴旗县| 蓬溪县| 曲沃县| 勐海县| 鹤山市| 阿拉善右旗| 高平市| 宜宾市| 四平市| 丰顺县| 铜鼓县| 巴里| 岳池县| 商南县| 印江| 南通市| 开封市| 永新县| 普格县| 达日县| 清镇市| 连城县| 奉化市| 土默特右旗| 铜陵市| 福州市| 许昌县| 通州市| 沂源县| 谷城县| 醴陵市| 尉氏县| 金平| 龙陵县| 洞口县| 德昌县|