-
Bug
-
Resolution: Done
-
Major
-
1.1.RC1
-
None
-
None
Hello,
I've recently started using RestEasy (using the latest stable release, 1.0.2.GA) for a project, and in one of the Restlets I use the following @Path pattern:
{tableName:[a-z][a-z0-9_]{0,49}}
When I deploy (on JBoss 4.3-eap) the restlet, it can never find that particular method.
The method is of course annotated with @GET.
Without the
{0,49} it does get found, but then my constraint could be violated, I would really like to just match the above pattern.
Of course, I could just allow it, validate it inside my method and return a Response with code 404 if it is violated.
Do you know the correct way to allow such a length constraint in RestEasy? Or even a better way of doing this?
Thank you for your time,
Met vriendelijke groet /
Kind regards,
ISAAC Software Solutions b.v.
ing. Maarten Daalder
Programmeur
http://www.isaac.nl/images/email/blauw_mail.jpg
Tel: +31 (0)40 290 89 79
Fax: +31 (0)40 290 89 80
E-mail: maarten.daalder@isaac.nl
Internet: http://www.isaac.nl