@RequestMapping

If no HTTP method is allocated in @RequestMapping, all HTTP methods are allowed.

If prohibited HTTP method is called, 405 (Method not allowed) is returned.