Pregunta de entrevista de EPAM Systems

Java Spring RestController annotation description

Respuesta de la entrevista

Anónimo

6 mar 2025

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.