java - RESTEasy response with multiple elements with location link -
we have implemented "get-single-entity" part of api that:
object entity = ... final uri terminate = ... response .status(201) .entity(entity) .link(terminate, "terminate") .build(); after receiving response user can click terminate link terminate entity.
now want implement api allows users retrieve of entities.
is there way create response list of entities every entity has terminate link it?
Comments
Post a Comment