public class CompositeMessageConverterFactory extends Object
CompositeMessageConverter
for a given target MIME typeConstructor and Description |
---|
CompositeMessageConverterFactory() |
CompositeMessageConverterFactory(List<? extends AbstractFromMessageConverter> customConverters,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.converter.CompositeMessageConverter |
getMessageConverterForAllRegistered() |
org.springframework.messaging.converter.CompositeMessageConverter |
getMessageConverterForType(org.springframework.util.MimeType targetMimeType)
Creation method.
|
Class<?>[] |
supportedDataTypes(org.springframework.util.MimeType targetMimeType) |
public CompositeMessageConverterFactory()
public CompositeMessageConverterFactory(List<? extends AbstractFromMessageConverter> customConverters, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
customConverters
- a list of AbstractFromMessageConverter
public org.springframework.messaging.converter.CompositeMessageConverter getMessageConverterForType(org.springframework.util.MimeType targetMimeType)
targetMimeType
- the target MIME typepublic org.springframework.messaging.converter.CompositeMessageConverter getMessageConverterForAllRegistered()
public Class<?>[] supportedDataTypes(org.springframework.util.MimeType targetMimeType)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.