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

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -