Interface EncoderRegistry

    • Method Detail

      • isRegistered

        boolean isRegistered​(Class<? extends Encoder> encoderClass)
      • registerWrapper

        void registerWrapper​(Wrapper wrapper)
      • registerTranscoder

        void registerTranscoder​(Transcoder transcoder)
      • getTranscoder

        Transcoder getTranscoder​(MediaType type1,
                                 MediaType type2)
        Obtain an instance of Transcoder from the registry.
        Parameters:
        type1 - MediaType supported by the transcoder.
        type2 - MediaType supported by the transcoder.
        Returns:
        An instance of Transcoder capable of doing conversions between the supplied MediaTypes.