Interface Transcoder
- All Known Implementing Classes:
AbstractTranscoder, BinaryTranscoder, DefaultTranscoder, JavaSerializationTranscoder, JBossMarshallingTranscoder, JsonTranscoder, OneToManyTranscoder, ProtostreamTranscoder, TranscoderMarshallerAdapter, TwoStepTranscoder, XMLTranscoder
public interface Transcoder
Converts content between two or more
MediaTypes.
Note: A transcoder must be symmetric: if it can convert from media type X to media type Y, it must also be able to convert from Y to X.
- Since:
- 9.2
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault booleansupportsConversion(MediaType mediaType, MediaType other) Transcodes content between two differentMediaType.