Interface MessageBodyReaderSet

  • All Known Implementing Classes:
    JaxRsProviders

    @Deprecated
    public interface MessageBodyReaderSet
    Deprecated.
    Will be removed in next minor release.
    Contains a List of wrapped MessageBodyReaders.
    • Method Detail

      • getBestReader

        MessageBodyReader getBestReader​(java.lang.Class<?> paramType,
                                        java.lang.reflect.Type genericType,
                                        java.lang.annotation.Annotation[] annotations,
                                        MediaType mediaType)
        Deprecated.
        Returns the best MessageBodyReader in this Set.
        Parameters:
        paramType -
        genericType -
        annotations -
        mediaType - The MediaType, that should be supported.
        Returns:
        the MessageBodyReader, that best matches the given criteria, or null if no matching MessageBodyReader could be found.