users@jax-rs-spec.java.net

[jax-rs-spec users] Different algorithms for sorting MBRs and MBWs

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Thu, 26 Mar 2015 11:44:35 +0000

Hi

We've had a JIRA issue opened which led me to rechecking the text on
sorting MBRs and MBWs.

Here is a text related to sorting MBWs:


Sort the selected MessageBodyWriter providers with a primary key of
generic type where providers whose generic type is the nearest
superclass of the object class are sorted first and a secondary key of
media type (see Section 4.2.3).

and for MBRs:

Select the set of MessageBodyReader classes that support the media type
of the request, see Section 4.2.3.


Why the MBR text does not refer to the Java parameter type as a primary
key for sorting the providers, with the media type being the secondary keys.

Is it the omission that needs to be fixed ?

Thanks, Sergey