Interface ProviderWrapper

    • Method Detail

      • equals

        boolean equals​(java.lang.Object otherProvider)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • getClassName

        java.lang.String getClassName()
        Deprecated.
        Returns:
        the JAX-RS provider class name
      • getConsumedMimes

        java.util.List<MediaType> getConsumedMimes()
        Deprecated.
        Returns the list of produced MediaTypes of the wrapped MessageBodyWriter.
        Returns:
        List of produced MediaTypes.
      • getExcMapperType

        java.lang.Class<?> getExcMapperType()
        Deprecated.
        Beispiele:
        • ExceptionMapper<IllegalArgumentException> -> IllegalArgumentException
        • MessageBodyReader<Integer> -> Integer
        Returns:
        the type the wrapped exception mapper could map.
      • getProducedMimes

        java.util.List<MediaType> getProducedMimes()
        Deprecated.
        Returns the list of produced MediaTypes of the wrapped MessageBodyWriter.
        Returns:
        List of produced MediaTypes. If the entity provider is not annotated with @ Produces, '*/*' is returned.
      • hashCode

        int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • isContextResolver

        boolean isContextResolver()
        Deprecated.
        Returns true, if this ProviderWrapper is also a ContextResolver, otherwise false.
        Returns:
        true, if this ProviderWrapper is also a ContextResolver, otherwise false.
      • isExceptionMapper

        boolean isExceptionMapper()
        Deprecated.
        Checks, if this provider represents an ExceptionMapper.
        Returns:
        true, if this provider is an ExceptionMapper, or false if not.
      • isReader

        boolean isReader()
        Deprecated.
        Returns true, if this ProviderWrapper is also a MessageBodyReader, otherwise false.
        Returns:
        true, if this ProviderWrapper is also a MessageBodyReader, otherwise false.
      • isWriter

        boolean isWriter()
        Deprecated.
        Returns true, if this ProviderWrapper is also a MessageBodyWriter, otherwise false.
        Returns:
        true, if this ProviderWrapper is also a MessageBodyWriter, otherwise false.
      • supportsRead

        boolean supportsRead​(MediaType mediaType)
        Deprecated.
        Checks, if this MessageBodyReader supports the given MediaType.
        Parameters:
        mediaType -
        Returns:
        true, if the wrapped MessageBodyReader supports the read for the given media type.
      • supportsWrite

        boolean supportsWrite​(java.lang.Iterable<MediaType> mediaTypes)
        Deprecated.
        Checks, if the wrapped MessageBodyWriter supports at least one of the requested MediaTypes.
        Parameters:
        mediaTypes - the MediaTypes
        Returns:
        true, if at least one of the requested MediaTypes is supported, otherwise false.
      • supportsWrite

        boolean supportsWrite​(javax.ws.rs.core.MediaType requested)
        Deprecated.
        Checks, if the wrapped MessageBodyWriter supports at least one of the requested MediaTypes.
        Parameters:
        requested - the requested MediaTypes
        Returns:
        true, if at least one of the requested MediaTypes is supported, otherwise false.
      • supportsWrite

        boolean supportsWrite​(MediaType requested)
        Deprecated.
        Checks, if the wrapped MessageBodyWriter supports at least one of the requested MediaTypes.
        Parameters:
        requested - the requested MediaTypes
        Returns:
        true, if at least one of the requested MediaTypes is supported, otherwise false.