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 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 access to the unmarshalled POJO?
If there is no way to solve this in RESTeasy I'll have to add some AOP magic…
Cheers,
Felipe
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users