Does Jersey (or JAX-RS) support content negotiation based on Accept
params[1]? Something similar to the qs support...
@GET
@Produces("application/myformat+xml; foo=bar")
public Object getBarProfile() {
...
}
@GET
@Produces("application/myformat+xml; foo=baz")
public Object getBazProfile() {
...
}
Or any pointers to how one might extend it to get this behavior?
Thanks,
--tim
[1] -
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1