I would like to refactor my request extraction annotations into a separate
value object. Is there a way to do this in Jersey? I'm envisioning
something like:
public Response toRepresentation(CustomRequestObject obj)
{
...
}
public class CustomRequestObject
{
@QueryParam("name")
private String name;
@QueryParam("id")
private Long id;
}
Is something like this possible?
Michael
--
Michael Mogley, Software Architect
Wirefree Thought LLC