Annotation for mapping HTTP GET requests onto specific handler methods.
Specifically, @GetMapping is a composed annotation that acts as a shortcut for
@RequestMapping(method = RequestMethod.GET).
HTTP GET 요청을 특정 처리기 메서드에 매핑하기 위한 주석입니다.
특히 @GetMapping은 @RequestMapping(method = RequestMethod.GET)의
바로 가기 역할을 하는 합성 주석입니다.
'java > spring annotation' 카테고리의 다른 글
@RequestParam, @RequestBody (0) | 2022.11.05 |
---|---|
@RestController (0) | 2022.10.06 |
댓글