Class ResteasyProviderFactory.SortedKey<T>

java.lang.Object
org.jboss.resteasy.spi.ResteasyProviderFactory.SortedKey<T>
All Implemented Interfaces:
Comparable<ResteasyProviderFactory.SortedKey<T>>, MediaTypeMap.Typed
Enclosing class:
ResteasyProviderFactory

protected static class ResteasyProviderFactory.SortedKey<T> extends Object implements Comparable<ResteasyProviderFactory.SortedKey<T>>, MediaTypeMap.Typed
Allow us to sort message body implementations that are more specific for their types i.e. MessageBodyWriter is less specific than MessageBodyWriter.

This helps out a lot when the desired media type is a wildcard and to weed out all the possible default mappings.