Class ProtostreamBinaryTranscoder
- java.lang.Object
-
- org.infinispan.commons.dataconversion.OneToManyTranscoder
-
- org.infinispan.server.core.dataconversion.ProtostreamBinaryTranscoder
-
- All Implemented Interfaces:
Transcoder
public class ProtostreamBinaryTranscoder extends OneToManyTranscoder
A pass-through transcoder between protostream and unknown format.- Since:
- 9.3
-
-
Constructor Summary
Constructors Constructor Description ProtostreamBinaryTranscoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<MediaType>getSupportedMediaTypes()java.lang.Objecttranscode(java.lang.Object content, MediaType contentType, MediaType destinationType)Transcodes content between two differentMediaType.-
Methods inherited from class org.infinispan.commons.dataconversion.OneToManyTranscoder
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
-
-
-
-
Method Detail
-
transcode
public java.lang.Object transcode(java.lang.Object content, MediaType contentType, MediaType destinationType)Description copied from interface:TranscoderTranscodes content between two differentMediaType.
-
getSupportedMediaTypes
public java.util.Set<MediaType> getSupportedMediaTypes()
- Specified by:
getSupportedMediaTypesin interfaceTranscoder- Overrides:
getSupportedMediaTypesin classOneToManyTranscoder- Returns:
- all the
MediaTypehandled by this Transcoder.
-
-