Class JBossMarshallingTranscoder
- java.lang.Object
-
- org.infinispan.commons.dataconversion.OneToManyTranscoder
-
- org.infinispan.server.core.dataconversion.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
-
-
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 differentMediaType
.-
Methods inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder
getSupportedMediaTypes, supportsConversion
-
-
-
-
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 differentMediaType
.- Parameters:
content
- Content to transcode.contentType
- TheMediaType
of the content.destinationType
- The targetMediaType
to convert.- Returns:
- the transcoded content.
-
-