MessageBodyReaderInterceptor (or ReaderInterceptor in JAX-RS 2.0). Do
things after proceed() and you can access the Java object after its been
unmarshalled.
On 10/15/2012 5:12 AM, Felipe Sere wrote:
> Hi,
>
> I have been looking for a way to execute code after RESTeasy
> unmarshalled my XML/JSON
Hi,
I have been looking for a way to execute code after RESTeasy
unmarshalled my XML/JSON to a POJO but before it is handed over to the
selected method.
I'd like to do this to add hibernate-validation to my POJOs and avoid
my methods getting invalid objects.
What kind of interceptor gets me acces