users@jersey.java.net

[Jersey] Check syntax of query/form parameters?

From: Dário Abdulrehman <dario.rehman_at_gmail.com>
Date: Wed, 27 Jan 2010 18:24:57 +0000

Hi,

If I invoke a WS with a typo in one of the query/form parameters it is
ignored.
Is there a way of forcing an error to be issued when one of the parameters
is unknown?
My present solution is to inspect the paramters in @Context UriInfo with
getQueryParameters but I would like to reject the request if one of the
parameters is wrong, without having to write any code, if possible.

Thanks.