Class JBossMarshallingTranscoder

  • All Implemented Interfaces:
    org.infinispan.commons.dataconversion.Transcoder

    public class JBossMarshallingTranscoder
    extends org.infinispan.commons.dataconversion.OneToManyTranscoder
    Transcode between application/x-jboss-marshalling and commons formats
    Since:
    9.2
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static Log logger  
      • Fields inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder

        supportedTypes
    • Constructor Summary

      Constructors 
      Constructor Description
      JBossMarshallingTranscoder​(JsonTranscoder jsonObjectTranscoder, org.infinispan.commons.marshall.jboss.GenericJBossMarshaller marshaller)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object transcode​(Object content, org.infinispan.commons.dataconversion.MediaType contentType, org.infinispan.commons.dataconversion.MediaType destinationType)
      Transcodes content between two different MediaType.
      • Methods inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder

        getSupportedMediaTypes, supportsConversion
      • Methods inherited from interface org.infinispan.commons.dataconversion.Transcoder

        supports
    • Field Detail

      • logger

        protected static final Log logger
    • Constructor Detail

      • JBossMarshallingTranscoder

        public JBossMarshallingTranscoder​(JsonTranscoder jsonObjectTranscoder,
                                          org.infinispan.commons.marshall.jboss.GenericJBossMarshaller marshaller)
    • Method Detail

      • transcode

        public Object transcode​(Object content,
                                org.infinispan.commons.dataconversion.MediaType contentType,
                                org.infinispan.commons.dataconversion.MediaType destinationType)
        Description copied from interface: org.infinispan.commons.dataconversion.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.