users@jersey.java.net

[Jersey] Re: forms validation

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Mon, 05 Sep 2011 14:53:59 +0200

Hi Bill,

An option for form parameter validation was discussed at [1].
That does not allow you to just plug-in a validator to be invoked
before resource objects get hit, but there is currently
no better way in Jersey.

I think you will come up with something better in JAX-RS 2, right? ;-)

~Jakub

[1]http://markmail.org/message/yrj42dktiuh4puki?q=Jersey+validation

On 24.8.2011 22:23, Bill wrote:
> Just wondering - anyone know of a forms validator for Jersey that can
> process Form or @FormParams before hitting the resource object?
>
> Bill
>