- Mastering Microservices with Java
- Sourabh Sharma
- 54字
- 2021-07-02 13:03:41
Controller class
The RestaurantController class uses the @RestController annotation to build the restaurant service endpoints. We went through the details of @RestController in Chapter 2, Environment Setup. @RestController is a class-level annotation that is used for resource classes. It is a combination of the @Controller and @ResponseBody annotations. It returns the domain object.
推薦閱讀
- .NET之美:.NET關鍵技術深入解析
- Python量化投資指南:基礎、數據與實戰
- Learning Selenium Testing Tools with Python
- Vue.js 3.x從入門到精通(視頻教學版)
- PHP+MySQL網站開發技術項目式教程(第2版)
- Python算法從菜鳥到達人
- Learning Apache Cassandra
- Python Interviews
- 鴻蒙OS應用編程實戰
- Vue.js 3應用開發與核心源碼解析
- Python Machine Learning Cookbook
- 分布式數據庫HBase案例教程
- Python數據預處理技術與實踐
- Android項目實戰:博學谷
- HTML5+CSS+JavaScript深入學習實錄