@RequestMapping と @GetMapping @GetMapping は @RequestMapping(method = RequestMethod.GET) の短縮版です。 以下の表は、@GetMapping と @RequestMapping にまとめた表です。 アノテーション 使い方 特徴 @RequestMapping クラス or メソッド 汎用。HTTP メソッドも指定可能。 @GetMapping メソッド専用 GET リクエスト専用の短縮記法。