I'm having some trouble understanding how @Produces with multiple media
types work. Fair enough, using @Produces({"text/xml",
"application/json"}) probably has something to do with JAXB "magic", but
what if I use @Produces({"text/plain", "application/json"})? Since they
are quite different formats I need to know which candidate was selected,
but can't for the world find anything related in the API docs. Does it
tie into producers somehow? Clarification and/or help kindly requested :)