I searched the archives and although there are many things about conneg the
ones I saw are basically of the type
Accept: xxx/xxx
@Produces({"application/xml", "application/json"})
But my question is the opposite, in concrete
Accept: application/octet-stream, application/pdf
@Produces("text/html")
produceHtml()
@Produces("application/pdf")
producePdf()
I was expecting the producePdf being executed, but I got the html one. How
does Jersey handles situations like this?
Also, does Jersey considers the quality values when matching mime types?
Cheers.