Package org.forgerock.api.annotations
Annotation Type Delete
- 
@Retention(RUNTIME) @Target(METHOD) public @interface Delete
Indicates an CREST delete method on an annotated POJO. This annotation can only be used on collection resource request handlers.The annotated method's return type must be:
- A 
Promise<Resource, ? extends ResourceException>promise. 
- A string parameter for the instance identifier.
 
- A 
org.forgerock.json.resource.DeleteRequestfor the request. - A 
Contextto be given the context. 
- See Also:
 RequestHandler,SingletonProvider,CollectionProvider
 - A 
 
- 
- 
Required Element Summary
Required Elements Modifier and Type Required Element Description OperationoperationDescriptionDescribe the standard operation details of this action. 
 - 
 
- 
- 
Element Detail
- 
operationDescription
Operation operationDescription
Describe the standard operation details of this action. 
 - 
 
 -