Class BinaryTranscoder
- java.lang.Object
-
- org.infinispan.commons.dataconversion.AbstractTranscoder
-
- org.infinispan.commons.dataconversion.OneToManyTranscoder
-
- org.infinispan.commons.dataconversion.BinaryTranscoder
-
- All Implemented Interfaces:
Transcoder
@Deprecated public final class BinaryTranscoder extends OneToManyTranscoder
Deprecated.since 13.0. Will be removed in a future version together withMediaType.APPLICATION_UNKNOWN
.Handle conversions for the generic binary format 'application/unknown' that is assumed when no MediaType is specified. This transcoder will not perform any conversion in the data, except those performed byMediaTypeCodec
and forMediaType.APPLICATION_OBJECT
it will use the default marshaller present in the server.- Since:
- 10.0
-
-
Field Summary
-
Fields inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder
mainType, supportedTypes
-
-
Constructor Summary
Constructors Constructor Description BinaryTranscoder(Marshaller marshaller)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
doTranscode(Object content, MediaType contentType, MediaType destinationType)
Deprecated.void
overrideMarshaller(Marshaller marshaller)
Deprecated.-
Methods inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder
getSupportedMediaTypes, supportsConversion
-
Methods inherited from class org.infinispan.commons.dataconversion.AbstractTranscoder
decodeContent, encodeContent, transcode
-
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)
Deprecated.
-
-
Method Detail
-
overrideMarshaller
public void overrideMarshaller(Marshaller marshaller)
Deprecated.
-
doTranscode
public Object doTranscode(Object content, MediaType contentType, MediaType destinationType)
Deprecated.- Specified by:
doTranscode
in classAbstractTranscoder
-
-