[resteasy-dev] Fwd: SPI to add JAX-RS annotations dynamically

Alessio Soldano asoldano at redhat.com
Thu Mar 22 12:46:05 EDT 2018


Hi Christian,

On Fri, Mar 16, 2018 at 5:43 PM, Christian Kaltepoth <christian at kaltepoth.de
> wrote:

> Hi Alessio,
>
> thanks a lot for your help merging the pull request.
>
> I already created a custom ResourceClassProcessor for the MVC 1.0
> reference implementation Ozark which automatically adds
> @Produces("text/html") to all MVC controllers.
>
> See the corresponding code here:
>
> https://github.com/chkal/ozark/tree/15920a07429b71a15fab8ae19e8e9c
> ad50bba355/resteasy/src/main/java/org/mvcspec/ozark/resteasy/metadata
>
> Would this be a proof of concept as you mention it?
>
>
Yes, cool. I'll probably add an integration test within RESTEasy doing
something similar.
Thanks

>


-- 

Alessio Soldano

Associate Manager

Red Hat

<https://www.redhat.com>
<https://red.ht/sig>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/resteasy-dev/attachments/20180322/c1ebafa8/attachment-0001.html 


More information about the resteasy-dev mailing list