Domanda di colloquio di EPAM Systems

Java Spring RestController annotation description

Risposta di colloquio

Anonimo

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.