Class ProtostreamJsonTranscoder

  • All Implemented Interfaces:
    Transcoder

    public class ProtostreamJsonTranscoder
    extends java.lang.Object
    implements Transcoder
    Since:
    9.2
    • Constructor Detail

      • ProtostreamJsonTranscoder

        public ProtostreamJsonTranscoder​(org.infinispan.protostream.SerializationContext ctx)
    • 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.
        Specified by:
        transcode in interface Transcoder
        Parameters:
        content - Content to transcode.
        contentType - The MediaType of the content.
        destinationType - The target MediaType to convert.
        Returns:
        the transcoded content.