[JERSEY-1999] Consider choosing the response media type of matched resource method for BV error response entity. Created: 02/Aug/13  Updated: 04/Nov/13

Status: Open
Project: jersey
Component/s: extensions
Affects Version/s: 2.1
Fix Version/s: backlog

Type: Improvement Priority: Major
Reporter: Michal Gajdos Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


Consider the following resource method:

public MyResult placeOrder(@Valid final Order order) {
    // ...

and a request that matches this method. If the Accept header of the method looks like text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 then the content type of the (BV error) entity in response would be text/html.

Generated at Sat Oct 10 06:37:49 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.