본문 바로가기

데일리

@RestController

 

//@RestController 부트에서 제공 (@ResponseBody없이 사용가능한 컨트롤러)

// @RequestMapping대신 @GetMapping, @PostMapping을 사용할 수 있다