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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -