Package org.springframework.messaging.converter
Provides support for message conversion.
Interface Summary Interface Description ContentTypeResolver Resolve the content type for a message.MessageConverter A converter to turn the payload of aMessagefrom serialized form to a typed Object and vice versa.SmartMessageConverter An extendedMessageConverterSPI with conversion hint support.Class Summary Class Description AbstractMessageConverter Abstract base class forSmartMessageConverterimplementations including support for common properties and a partial implementation of the conversion methods, mainly to check if the converter supports the conversion based on the payload class and MIME type.ByteArrayMessageConverter AMessageConverterthat supports MIME type "application/octet-stream" with the payload converted to and from a byte[].CompositeMessageConverter AMessageConverterthat delegates to a list of registered converters to be invoked until one of them returns a non-null result.DefaultContentTypeResolver A defaultContentTypeResolverthat checks theMessageHeaders.CONTENT_TYPEheader or falls back to a default value.GenericMessageConverter An extension of theSimpleMessageConverterthat uses aConversionServiceto convert the payload of the message to the requested type.MappingJackson2MessageConverter A Jackson 2 basedMessageConverterimplementation.MarshallingMessageConverter Implementation ofMessageConverterthat can read and write XML using Spring'sMarshallerandUnmarshallerabstractions.SimpleMessageConverter A simple converter that simply unwraps the message payload as long as it matches the expected target class.StringMessageConverter AMessageConverterthat supports MIME type "text/plain" with the payload converted to and from a String.Exception Summary Exception Description MessageConversionException An exception raised byMessageConverterimplementations.