Hi Stephane,
I am afraid this (validation) will get fully addressed only at the
JAX-RS 2.0 timeframe.
Regarding the @Required support, some other user
posted a simple filter resource filter implementation to support that
(see [1]). Maybe that would be good enough for you?
(Notice the annotation ordering glitch).
~Jakub
[1]
http://java.net/projects/jersey/lists/users/archive/2011-10/message/43
On 5.10.2011 7:25, Stephane Bailliez wrote:
> Hi,
>
> I'm looking for a way to introduce parameter validation without
> requiring some aop.
> So ideally I would like the ability to intercept the call to the
> resource just before it is invoked.
>
> I was looking at the implementation and thought I could hookup at the
> invoker, but that seems hardly doable.
>
> Is there any chance to see some traction on
> https://jersey.dev.java.net/issues/show_bug.cgi?id=351
> <https://jersey.dev.java.net/issues/show_bug.cgi?id=351> ?
>
> Or is there a better solution in the current Jersey code since this
> issue was created ?
>
> Cheers,
>
> -- stephane