Controller & RestController annotations in Spring Boot Java | REST tutorial

Опубликовано: 27 Октябрь 2022
на канале: Java Coding Community
1,225
8

Controller, RestController, ResponseBody & RequestBody tutorial. Spring Boot MVC tutorial. Spring Boot Rest Service tutorial.

Controller annotation is used to annotate the class which then can catch http requests and have methods that can process those http requests.

RestController annotation is used to annotate the class which can also catch http requests but it is more suitable for REST services and saves us time and keeps the code clean.

Learn the difference between Controller & RestController in today's video.

Instagram:   / javacodingcommunity  
Postman: https://www.postman.com/
Github: https://github.com/javacodingcommunity


Смотрите видео Controller & RestController annotations in Spring Boot Java | REST tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Java Coding Community 27 Октябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,225 раз и оно понравилось 8 людям.