Class TwoStepTranscoder
java.lang.Object
org.infinispan.commons.dataconversion.AbstractTranscoder
org.infinispan.encoding.impl.TwoStepTranscoder
- All Implemented Interfaces:
Transcoder
Performs conversions where there is no direct transcoder, but there are two transcoders available:
- one from source media type to application/x-java-object
- one from application/x-java-object to the destination media type
- Since:
- 11.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoTranscode(Object content, MediaType contentType, MediaType destinationType) booleansupportsConversion(MediaType mediaType, MediaType other) Methods inherited from class AbstractTranscoder
decodeContent, encodeContent, transcodeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Transcoder
supports
-
Constructor Details
-
TwoStepTranscoder
-
-
Method Details
-
doTranscode
- Specified by:
doTranscodein classAbstractTranscoder
-
getSupportedMediaTypes
-
supportsConversion
-