RequestMappingとかいろいろあるので、整理がてらφ(..)メモメモ 随時更新予定。 @RequestMapping // シンプルなの @RequestMapping(value = "/hoge", method = RequestMethod.GET) @RequestMapping(value = "/hoge", method = RequestMethod.POST) @RequestMapping(value = "/hoge", method = RequestMethod.DELETE) // URL複数 @RequestMapping(value = {"/hoge", "/fuga"}, method = RequestMethod.GET) // Method属性が複数 @RequestMapping(value = "/hoge", method = {
![SpringMVC/SpringBootのControllerチートシート[随時更新予定] - くらげになりたい。](https://cdn-ak-scissors.b.st-hatena.com/image/square/5d4070d7704f5c39c473b299b5925474446615b7/height=288;version=1;width=512/https%3A%2F%2Fimages-fe.ssl-images-amazon.com%2Fimages%2FI%2F6160VVxyCcL._SL160_.jpg)