org.springframework.web.bind.annotation

Annotation Type PatchMapping



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

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

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