On 08/15/2012 11:59 AM, KARR, DAVID wrote:
-----Original Message-----
From: Glen Mazza [mailto:[email protected]]
Sent: Tuesday, August 14, 2012 6:29 PM
To: [email protected]
Subject: Re: Does JAX-RS specify the use of extensions to specify
response media types?

CXF:
http://stackoverflow.com/questions/10000699/mapping-extension-content-
types-in-apache-cxf-jax-rs
Jersey: http://zcox.wordpress.com/2009/08/11/uri-extensions-in-jersey/

According to Bill Burke's book "RESTful Java with JAX-RS" (p. 114),
they
came close but decided to remove from the JAX-RS 1.0 specification a
formal way to define this extension mapping (too many disagreements
over
its syntax.)
Just so I'm clear, it was removed because they couldn't agree on how to specify 
the mapping from extensions to content types, and not that they couldn't agree 
on using extension mapping?

According to the book, the former, for JAX-RS 1.0. (JAX-RS 2.0, which we don't yet implement, I don't know if there's anything common in there.)

Glen


On 08/14/2012 06:17 PM, KARR, DAVID wrote:
I just took a quick look through the JAX-RS specification, but I
didn't find any mention of extension mapping.  Is this defined in the
spec?  If not, do any of the other JAX-RS (or REST) frameworks
implement extension mapping?

Reply via email to