users@jersey.java.net

[Jersey] Re: Implementing a Query by Example

From: Noah White <emailnbw_at_gmail.com>
Date: Tue, 22 Oct 2013 11:55:24 -0400

Thanks for your example, that answers my question about null handling w/the example query entity.

-Noah

On Oct 22, 2013, at 11:38 AM, Antonio Goncalves <antonio.mailing_at_gmail.com> wrote:

> JAXB usually does the job and everything is automatic, but @QueryParam needs Strings (that's why one technic is to have a constructor with a single String).
>
> The technic you propose (POST, get the search URI and then GET) could work, but I think doing a single GET is appropriate : instead of passing several Strings @QueryParam, I just want to pass a single String (in an XML format, but that should be transparent).
>