users@jersey.java.net

[Jersey] Re: Invalid Parameter Format

From: George Sapountzis <gsapountzis_at_gmail.com>
Date: Tue, 23 Aug 2011 17:34:10 +0300

On Tue, Aug 23, 2011 at 3:03 PM, etc <ecelino_at_gmail.com> wrote:
> Yes that will work. But then I will have to declare all parameters as
> Strings. But this does not look very nice as you can already imagine how my
> resource methods will look like. Another way is to create my own parameter
> classes where I will end up with q1dozens of classes.
> Thank you for the help petr. I just thought that annotations the parameters
> is the cleanest way
>

You can take a look at https://github.com/gsapountzis/jersey-binding

It reports all binding errors to the resource method instead of
throwing an exception.

regards,
George