Am 11.07.2013 19:29, schrieb Gaetano Ciotola: > Hi, > I have implemented a jax-rs web service, the request is exclusively JSON. > I would like to perform some request validation but I have no idea how to > proceed. > > Any suggestion would be much appreciated > > Thanks > Gaetano > Hi,
I had the same challenge and I wrote a utility class to do this. https://github.com/taimos/RESTUtils Just use the class RESTAssert, it throws WebApplicationExceptions on invalid data. The library is available via Maven Central Regards, Thorsten
