EntityResource#

public class EntityResource extends RetrieveEntityResource#

Handles POST, PUT, and DELETE requests for Entities.

The GET requests (Retrieval) is handled in the superclass RetrieveEntityResource.

Author:

Timm Fitschen

Methods#

httpDeleteInChildClass#

protected final Representation httpDeleteInChildClass()#

Handle entity deletions (DELETE requests).

Note: The list of entity “specifier” is treated strictly as a list of entity ids. You cannot delete an entity by name.

httpPostInChildClass#

protected final Representation httpPostInChildClass(Representation entity)#

Handle entity insertions (POST requests).

httpPutInChildClass#

protected final Representation httpPutInChildClass(Representation entity)#

Handle entity updates (PUT requests).