java/spring annotation
@GetMapping
일상코더
2022. 10. 6. 14:34
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)의
바로 가기 역할을 하는 합성 주석입니다.