Package org.jboss.resteasy.spi
Class ResteasyProviderFactory.SortedKey<T>
- java.lang.Object
-
- org.jboss.resteasy.spi.ResteasyProviderFactory.SortedKey<T>
-
- All Implemented Interfaces:
java.lang.Comparable<ResteasyProviderFactory.SortedKey<T>>
,MediaTypeMap.Typed
- Enclosing class:
- ResteasyProviderFactory
protected static class ResteasyProviderFactory.SortedKey<T> extends java.lang.Object implements java.lang.Comparable<ResteasyProviderFactory.SortedKey<T>>, MediaTypeMap.Typed
Allow us to sort message body implementations that are more specific for their types i.e. MessageBodyWriter
-
-
Field Summary
Fields Modifier and Type Field Description boolean
isBuiltin
T
obj
java.lang.Class<?>
readerClass
java.lang.Class<?>
template
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ResteasyProviderFactory.SortedKey<T> tMessageBodyKey)
java.lang.Class<?>
getType()
-
-
-
Field Detail
-
readerClass
public java.lang.Class<?> readerClass
-
obj
public T obj
-
isBuiltin
public boolean isBuiltin
-
template
public java.lang.Class<?> template
-
-
Method Detail
-
compareTo
public int compareTo(ResteasyProviderFactory.SortedKey<T> tMessageBodyKey)
- Specified by:
compareTo
in interfacejava.lang.Comparable<T>
-
getType
public java.lang.Class<?> getType()
- Specified by:
getType
in interfaceMediaTypeMap.Typed
-
-