On 15/08/12 16:59, 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?
I was not involved in the discussions at that time so can not comment.
Sergey
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?