protected static class ResteasyProviderFactory.SortedKey<T> extends Object implements Comparable<ResteasyProviderFactory.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.
Modifier and Type | Field and Description |
---|---|
boolean |
isBuiltin |
T |
obj |
int |
priority |
Class<?> |
readerClass |
Class<?> |
template |
Modifier | Constructor and Description |
---|---|
protected |
SortedKey(Class<?> intf,
T reader,
Class<?> readerClass) |
protected |
SortedKey(Class<?> intf,
T reader,
Class<?> readerClass,
boolean isBuiltin) |
protected |
SortedKey(Class<?> intf,
T reader,
Class<?> readerClass,
int priority,
boolean isBuiltin) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ResteasyProviderFactory.SortedKey<T> tMessageBodyKey) |
T |
getObj() |
Class<?> |
getType() |
public Class<?> readerClass
public T obj
public boolean isBuiltin
public Class<?> template
public int priority
protected SortedKey(Class<?> intf, T reader, Class<?> readerClass, int priority, boolean isBuiltin)
public int compareTo(ResteasyProviderFactory.SortedKey<T> tMessageBodyKey)
compareTo
in interface Comparable<ResteasyProviderFactory.SortedKey<T>>
public Class<?> getType()
getType
in interface MediaTypeMap.Typed
public T getObj()
Copyright © 2021 JBoss by Red Hat. All rights reserved.