Interface MessageBodyOperator<T extends MessageBodyContext>

    • Method Detail

      • accept

        boolean accept​(GenericType<?> type,
                       T context)
        Test if the operator can convert the given type.
        Parameters:
        type - the requested type
        context - the context providing the headers abstraction
        Returns:
        true if the operator can convert the specified type in the given context, false otherwise