Class Jackson2XmlMessageConverter

    • Constructor Detail

      • Jackson2XmlMessageConverter

        public Jackson2XmlMessageConverter()
        Construct with an internal XmlMapper instance and trusted packed to all (*).
      • Jackson2XmlMessageConverter

        public Jackson2XmlMessageConverter​(java.lang.String... trustedPackages)
        Construct with an internal XmlMapper instance. The DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES is set to false on the XmlMapper.
        Parameters:
        trustedPackages - the trusted Java packages for deserialization
        See Also:
        DefaultJackson2JavaTypeMapper.setTrustedPackages(String...)
      • Jackson2XmlMessageConverter

        public Jackson2XmlMessageConverter​(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper)
        Construct with the provided XmlMapper instance and trusted packed to all (*).
        Parameters:
        xmlMapper - the XmlMapper to use.
      • Jackson2XmlMessageConverter

        public Jackson2XmlMessageConverter​(com.fasterxml.jackson.dataformat.xml.XmlMapper xmlMapper,
                                           java.lang.String... trustedPackages)
        Construct with the provided XmlMapper instance.
        Parameters:
        xmlMapper - the XmlMapper to use.
        trustedPackages - the trusted Java packages for deserialization
        See Also:
        DefaultJackson2JavaTypeMapper.setTrustedPackages(String...)