Class BinaryTranscoder
- java.lang.Object
-
- org.infinispan.commons.dataconversion.OneToManyTranscoder
-
- org.infinispan.commons.dataconversion.BinaryTranscoder
-
- All Implemented Interfaces:
Transcoder
public final class BinaryTranscoder extends OneToManyTranscoder
Handle conversions for the generic binary format 'application/unknown' that is assumed when no MediaType is specified.- Since:
- 10.0
-
-
Field Summary
-
Fields inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder
mainType, supportedTypes
-
-
Constructor Summary
Constructors Constructor Description BinaryTranscoder(Marshaller marshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
overrideMarshaller(Marshaller marshaller)
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
-
BinaryTranscoder
public BinaryTranscoder(Marshaller marshaller)
-
-
Method Detail
-
overrideMarshaller
public void overrideMarshaller(Marshaller marshaller)
-
-