Class Util

    • Method Detail

      • isPrimitive

        public static boolean isPrimitive​(Class<?> clazz)
      • getDecoders

        public static List<DecoderEntry> getDecoders​(List<Class<? extends Decoder>> decoderClazzes,
                                                     InstanceManager instanceManager)
                                              throws DeploymentException
        Build the list of decoder entries from a set of decoder implementations.
        decoderClazzes - Decoder implementation classes
        instanceManager - Instance manager to use to create Decoder instances
        List of mappings from target type to associated decoder
        DeploymentException - If a provided decoder class is not valid
      • parseExtensionHeader

        public static void parseExtensionHeader​(List<Extension> extensions,
                                                String header)