https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/bind/annotation/RestController.html

 

https://www.genuitec.com/spring-frameworkrestcontroller-vs-controller/

https://dzone.com/articles/spring-framework-restcontroller-vs-controller/

 

 

https://www.dineshonjava.com/restcontroller-in-spring-40-framework/

https://stackoverflow.com/questions/25242321/difference-between-spring-controller-and-restcontroller-annotation

@RestController is a stereotype annotation that combines @ResponseBody and @Controller. More than that, it gives more meaning to your Controller
and also may carry additional semantics in future releases of the framework.

 

sample:

https://spring.io/guides/gs/rest-service/

http://www.benchresources.net/spring-mvc-4-0-restful-web-service-using-restcontroller-annotation/

https://viralpatel.net/blogs/spring-4-mvc-rest-example-json/

 

相关文章:

  • 2021-11-05
  • 2021-06-18
  • 2022-01-01
  • 2021-11-19
  • 2021-06-30
  • 2022-01-21
猜你喜欢
  • 2022-12-23
  • 2021-09-22
  • 2021-10-16
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
相关资源
相似解决方案