February 2019
Intermediate to advanced
446 pages
10h 55m
English
The RestaurantController class uses the @RestController annotation to build the restaurant service endpoints. We went through the details of @RestController in Chapter 2, Environment Setup. @RestController is a class-level annotation that is used for resource classes. It is a combination of the @Controller and @ResponseBody annotations. It returns the domain object.
Read now
Unlock full access