{"title":"Use @GetMapping, @PostMapping in Spring 4.3 or later","image_url":null,"width":"100%","type":"rich","version":"1.0","author_name":"jyukutyo","categories":["Spring","java"],"provider_url":"https://hatena.blog","height":"190","blog_url":"https://www.sakatakoichi.com/","description":"I always use @RequestMapping in Controller. @Controller public class TestController { @RequestMapping(value = \"test\", method = RequestMethod.GET) public String index() { But in Spring 4.3, @GetMapping and @PostMappiing are provided. I was not sure about that. So we don't need to write such a long st\u2026","published":"2016-12-01 17:18:26","author_url":"https://blog.hatena.ne.jp/jyukutyo/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sakatakoichi.com%2Fentry%2F2016%2F12%2F01%2F171826\" title=\"Use @GetMapping, @PostMapping in Spring 4.3 or later - Fight the Future\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://www.sakatakoichi.com/entry/2016/12/01/171826","blog_title":"Fight the Future","provider_name":"Hatena Blog"}