Class TranscoderMarshallerAdapter

    • Field Detail

      • logger

        protected static final org.infinispan.commons.logging.Log logger
    • Constructor Detail

      • TranscoderMarshallerAdapter

        public TranscoderMarshallerAdapter​(Marshaller marshaller)
    • Method Detail

      • transcode

        public Object transcode​(Object content,
                                MediaType contentType,
                                MediaType destinationType)
        Description copied from interface: Transcoder
        Transcodes content between two different MediaType.
        Parameters:
        content - Content to transcode.
        contentType - The MediaType of the content.
        destinationType - The target MediaType to convert.
        Returns:
        the transcoded content.