org.springframework.web.bind.annotation

Annotation Type DeleteMapping



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

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

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