Question: Explain @RestController annotation in Spring Boot?Answer:The @RestController annotation helps you to add @ResponseBody and @Controller annotations to the class to write RESTFul web service APIs. You can also import org.springframework.web.bind.annotation package in your file. |
復習用に保存
この項目をブックマークに追加したり、難しい内容としてマークしたり、復習セットに入れたりできます。
役に立ちましたか? はい いいえ
ユーザー評価で最も役立つ内容:
- What is Spring Boot?
- How to scan all the beans and package declarations in Spring Boot?
- What are embedded containers support by Spring?
- What are the advantages of microservice?
- Mention some advantages of Spring Boot.