Class MarshallingMessageConverter

    • Constructor Detail

      • MarshallingMessageConverter

        public MarshallingMessageConverter(MimeType... supportedMimeTypes)
        Constructor with a given list of MIME types to support.
        supportedMimeTypes - the MIME types
      • MarshallingMessageConverter

        public MarshallingMessageConverter(Marshaller marshaller)
        Constructor with Marshaller. If the given Marshaller also implements Unmarshaller, it is also used for unmarshalling.

        Note that all Marshaller implementations in Spring also implement Unmarshaller so that you can safely use this constructor.

        marshaller - object used as marshaller and unmarshaller