Class SortedKey<T>
java.lang.Object
org.jboss.resteasy.core.providerfactory.SortedKey<T>
- All Implemented Interfaces:
Comparable<SortedKey<T>>
,MediaTypeMap.Typed
- Direct Known Subclasses:
ExtSortedKey
Allow us to sort message body implementations that are more specific for their types
i.e. MessageBodyWriter<Object> is less specific than MessageBodyWriter<String>.
This helps out a lot when the desired media type is a wildcard and to weed out all the possible default mappings.
-
Constructor Summary
ConstructorDescriptionDirect populate -
Method Summary
-
Constructor Details
-
SortedKey
-
SortedKey
-
SortedKey
-
SortedKey
Direct populate- Parameters:
obj
-isBuiltin
-template
- template class of component typepriority
-
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<T>
-
getType
- Specified by:
getType
in interfaceMediaTypeMap.Typed
-
getObj
-
getPriority
public int getPriority()
-