spring-boot REST Services

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Parameters

AnnotationColumn
@ControllerIndicates that an annotated class is a "Controller" (web controller).
@RequestMappingAnnotation for mapping web requests onto specific handler classes (if we used with class) and/or handler methods (if we used with methods).
method = RequestMethod.GETType of HTTP request methods
ResponseBodyAnnotation that indicates a method return value should be bound to the web response body
@RestController@Controller + ResponseBody
@ResponseEntityExtension of HttpEntity that adds a HttpStatus status code, we can control the return http code


Got any spring-boot Question?