Question: Explain @RestController annotation in Spring Boot?Answer:The @RestController annotation helps you to add @ResponseBody and @Controller annotations to the class to write RESTFul web service APIs. You can also import org.springframework.web.bind.annotation package in your file. |
Guardar para repaso
Guarda este elemento en marcadores, marcalo como dificil o agregalo a un conjunto de repaso.
Inicia sesion para guardar marcadores, preguntas dificiles y conjuntos de repaso.
Es util? Si No
Lo mas util segun los usuarios:
- What is Spring Boot?
- How to scan all the beans and package declarations in Spring Boot?
- What are embedded containers support by Spring?
- What are the advantages of microservice?
- Mention some advantages of Spring Boot.