[resteasy-dev] RESTEASY-1486 and jackson

Katerina Novotna kanovotn at redhat.com
Tue Sep 27 05:05:05 EDT 2016


> 
> This said, going back to RESTEASY-1486, please see my first comment
> there. I believe JacksonJsonpInterceptor / Jackson2JsonpInterceptor is
> not enabled by default, despite the jackson / jackson2 modules being
> implicitly added as dependencies to the user deployments [1]. The
> META-INF/services/javax.ws.rs.ext.Providers in there does not list the
> jsonp interceptor, so I believe the user needs to explicitly ask for the
> provider to be installed (in the web.xml or programmatically). Am I  wrong?
Correct, here is the test [1] (I have modified it a bit from previous version to use javax.ws.rs.ext.Providers file.

[1] https://github.com/resteasy/Resteasy/pull/953

> 
> Cheers
> Alessio
> 
> 
> [1] note, the module dependency that's added to the deployment in the
> code has export=false.
> 
> >
> > -Ron
> >
> 
> _______________________________________________
> resteasy-dev mailing list
> resteasy-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/resteasy-dev
> 


More information about the resteasy-dev mailing list