Spring Boot - REST Controllers
In Spring Boot, what two annotations does
@RestController effectively combine?@RestController effectively combine?@RestController annotation is a convenience annotation that combines two annotations.@Controller, which marks the class as a Spring MVC controller, and @ResponseBody, which indicates that the return value of methods should be bound to the web response body.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions