Class TranscoderMarshallerAdapter
- java.lang.Object
-
- org.infinispan.commons.dataconversion.OneToManyTranscoder
-
- org.infinispan.commons.dataconversion.TranscoderMarshallerAdapter
-
- All Implemented Interfaces:
Transcoder
- Direct Known Subclasses:
JavaSerializationTranscoder
public class TranscoderMarshallerAdapter extends OneToManyTranscoder
Base class for transcoder between application/x-java-object and byte[] produced by a marshaller.- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.infinispan.commons.logging.Log
logger
-
Fields inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder
supportedTypes
-
-
Constructor Summary
Constructors Constructor Description TranscoderMarshallerAdapter(Marshaller marshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
transcode(Object content, MediaType contentType, MediaType destinationType)
Transcodes content between two differentMediaType
.-
Methods inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder
getSupportedMediaTypes, supportsConversion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.dataconversion.Transcoder
supports
-
-
-
-
Constructor Detail
-
TranscoderMarshallerAdapter
public TranscoderMarshallerAdapter(Marshaller marshaller)
-
-