public class SortedKey<T> extends Object implements Comparable<SortedKey<T>>, MediaTypeMap.Typed
This helps out a lot when the desired media type is a wildcard and to weed out all the possible default mappings.
Constructor and Description |
---|
SortedKey(Class<?> intf,
T reader,
Class<?> readerClass) |
SortedKey(Class<?> intf,
T reader,
Class<?> readerClass,
boolean isBuiltin) |
SortedKey(Class<?> intf,
T reader,
Class<?> readerClass,
int priority,
boolean isBuiltin) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SortedKey<T> tMessageBodyKey) |
T |
getObj() |
Class<?> |
getType() |
public SortedKey(Class<?> intf, T reader, Class<?> readerClass, int priority, boolean isBuiltin)
public int compareTo(SortedKey<T> tMessageBodyKey)
compareTo
in interface Comparable<SortedKey<T>>
public Class<?> getType()
getType
in interface MediaTypeMap.Typed
public T getObj()
Copyright © 2019 JBoss by Red Hat. All rights reserved.