Hello,
using WildFly 37, I am creating a REST API with JAX-RS, so that java methods get called with java classes instead of the plain unmarshalled JSON, but I have some problems and I would like to better investigate it reading the complete request body.
I wrote a ReaderInterceptor class, I annoted the it with @Provider, but its aroundReadFrom(ReaderInterceptorContext) is not being called at all.
Is there anything more, beside the annotation, in order to activate the interceptor? Moreover, should I bind it to my resource class?
Thank you,
Giuseppe