Hi,My name is Christian Kaltepoth and I'm specification lead of JSR 371 (MVC 1.0). As you may know, JSR 371 is about creating an action-based web framework on top of JAX-RS.The reference implementation of JSR 371 was previously only targeted to support Jersey. But we want to change that. Therefore, we are currently looking for ways to integrate with other JAX-RS implementations. Unfortunately there are certain features which cannot be implemented using the plain JAX-RS API. That's why we are also looking into using JAX-RS implementation specific SPIs.One thing we are currently working on is the following requirement: MVC controllers (which are just special CDI-based JAX-RS resources) should be treated as if they are annotated with @Produces("text/html) without the need to add the annotation manually. The current draft of the specification states:The semantics of controller methods differ slightly from JAX-RS resource methods; [...] Moreover, the default media type for a response is assumed to be text/html , but otherwise can be declared using @Produces just like in JAX-RS.Jersey provides a special SPI which allows us to hook into the metadata for JAX-RS resources:Is there anything like that in RESTEasy? I looked into the code but unfortunately didn't find anything like that.Christian--
_______________________________________________
resteasy-dev mailing list
resteasy-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/resteasy-dev