Java Spring RestController annotation description
Utilisateur anonyme
The @RestController annotation in Spring Boot is a specialized version of @Controller that is used to create RESTful web services. It is a combination of @Controller and @ResponseBody. Tells Spring that the class handles HTTP requests.