Annotation Interface Delete


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Delete
Annotation for methods that remove representations. Its semantics is equivalent to an HTTP DELETE method.

Example:
 @Delete()
 public void removeAll();
 
 @Delete("xml|json")
 public Representation removeAll();
 
 @Delete("json?param=val")
 public Representation removeAllWithParam();
 
 @Delete("json?param")
 public Representation removeAllWithParam();
 
 @Delete("?param")
 public Representation removeAllWithParam();
 
Author:
Jerome Louvel
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the media type extension of the response entity.