What is the difference between Controller and RestController | Java Interview Questions in short

preview_player
Показать описание
What is the difference between Controller and RestController | Java Interview Questions in short

The @RestController annotation in Spring MVC is nothing but a combination of @Controller and @ResponseBody annotation. It was added into Spring 4.0 to make the development of RESTful Web Services in Spring framework easier.
#java #minoractivity
Рекомендации по теме
visit shbcf.ru