org.springframework.web.bind.annotation

Annotation Type PutMapping



  • @Target(value=METHOD)
     @Retention(value=RUNTIME)
     @Documented
     @RequestMapping(method=PUT)
    public @interface PutMapping
    Annotation for mapping HTTP PUT requests onto specific handler methods.

    Specifically, @PutMapping is a composed annotation that acts as a shortcut for @RequestMapping(method = RequestMethod.PUT).

    Since:
    4.3
    Author:
    Sam Brannen
    See Also:
    GetMapping, PostMapping, DeleteMapping, PatchMapping, RequestMapping