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 java.lang.Object transcode​(java.lang.Object content,
                                          MediaType contentType,
                                          MediaType destinationType)
        Description copied from interface: Transcoder
        Transcodes content between two different MediaType.
        content - Content to transcode.
        contentType - The MediaType of the content.
        destinationType - The target MediaType to convert.
        the transcoded content.