public class CompositeMessageConverterFactory
extends java.lang.Object
CompositeMessageConverter
for a given target MIME typeConstructor and Description |
---|
CompositeMessageConverterFactory(java.util.Collection<AbstractFromMessageConverter> converters) |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.converter.CompositeMessageConverter |
newInstance(org.springframework.util.MimeType targetMimeType)
Creation method.
|
public CompositeMessageConverterFactory(java.util.Collection<AbstractFromMessageConverter> converters)
converters
- a list of AbstractFromMessageConverter
public org.springframework.messaging.converter.CompositeMessageConverter newInstance(org.springframework.util.MimeType targetMimeType)
targetMimeType
- the target MIME type (outputType or inputType in XD)