|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=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 delete();
Optional Element Summary | |
---|---|
String |
value
Specifies the media type extension of the response entity. |
public abstract String value
MetadataService
. For a list of all
predefined extensions, please check
MetadataService.addCommonExtensions()
. New extension can be
registered using
MetadataService.addExtension(String, org.restlet.data.Metadata)
method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |