users@jersey.java.net

[Jersey] Re: Parameter validation / jsr-303 ... again

From: Stephane Bailliez <sbailliez_at_gmail.com>
Date: Wed, 12 Oct 2011 23:13:03 -0400

Hi Jakub,

Thanks for the heads up. This kinda fell from my radar as I was working on
other things, the implementation looks definitely useful enough as a
stop-gap.
What is the timeframe for the jax-rs 2.0 btw ?

On Tue, Oct 11, 2011 at 5:36 AM, Jakub Podlesak
<jakub.podlesak_at_oracle.com>wrote:

> **
> 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 ?
>
> Or is there a better solution in the current Jersey code since this issue
> was created ?
>
> Cheers,
>
> -- stephane
>
>