- 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.
推薦閱讀
- MATLAB圖像處理超級學習手冊
- Java開發入行真功夫
- 編寫高質量代碼:改善C程序代碼的125個建議
- JavaScript動態網頁開發詳解
- TradeStation交易應用實踐:量化方法構建贏家策略(原書第2版)
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- Service Mesh實戰:基于Linkerd和Kubernetes的微服務實踐
- 愛上micro:bit
- 創意UI:Photoshop玩轉APP設計
- JavaScript從入門到精通(視頻實戰版)
- TypeScript圖形渲染實戰:2D架構設計與實現
- HTML5游戲開發實戰
- WCF編程(第2版)
- Python自動化運維:技術與最佳實踐
- 中小企業網站建設與管理(靜態篇)