The @Controller annotation in Spring Boot is typically used in conjunction with the _____ annotation to handle HTTP requests.

  • @RequestController
  • @RestController
  • @HTTPController
  • @HTTPHandler
The @Controller annotation in Spring Boot is typically used in conjunction with the @RestController annotation to handle HTTP requests. The @RestController annotation combines the functionality of the @Controller and @ResponseBody annotations, allowing you to define RESTful web services. @RequestController and the other options are not standard Spring annotations for this purpose.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *