Annotation Type Delete


@Target(METHOD) @Retention(RUNTIME) public @interface Delete
Marks a method that handles HTTP DELETE requests.

 @Delete("{id}")
 void delete(long id) {

   ...
 }

 
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specify the path.
  • Element Details

    • value

      String value
      Specify the path.
      Default:
      ""