Class BinaryTranscoder

All Implemented Interfaces:
Transcoder

@Deprecated(forRemoval=true, since="13.0") public final class BinaryTranscoder extends OneToManyTranscoder
Deprecated, for removal: This API element is subject to removal in a future version.
since 13.0. Will be removed in a future version together with MediaType.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 by MediaTypeCodec and for MediaType.APPLICATION_OBJECT it will use the default marshaller present in the server.
Since:
10.0
  • Constructor Details

    • BinaryTranscoder

      public BinaryTranscoder(Marshaller marshaller)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • overrideMarshaller

      public void overrideMarshaller(Marshaller marshaller)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • doTranscode

      public Object doTranscode(Object content, MediaType contentType, MediaType destinationType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      doTranscode in class AbstractTranscoder