public class JsonToTupleMessageConverter extends AbstractFromMessageConverter
MessageConverter
to convert from a JSON (byte[] or String) to a Tuple
.logger
Constructor and Description |
---|
JsonToTupleMessageConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convertFromInternal(org.springframework.messaging.Message<?> message,
java.lang.Class<?> targetClass,
java.lang.Object conversionHint) |
protected java.lang.Class<?>[] |
supportedPayloadTypes()
Subclasses implement this to specify supported payload types
|
protected java.lang.Class<?>[] |
supportedTargetTypes()
Subclasses implement this to specify supported target types
|
buildConvertedMessage, canConvertFrom, canConvertTo, setContentTypeResolver, supports, supportsPayloadType, supportsTargetMimeType
convertFromInternal, convertToInternal, convertToInternal, fromMessage, fromMessage, getContentTypeResolver, getDefaultContentType, getMimeType, getSerializedPayloadClass, getSupportedMimeTypes, isStrictContentTypeMatch, setSerializedPayloadClass, setStrictContentTypeMatch, supportsMimeType, toMessage, toMessage
protected java.lang.Class<?>[] supportedTargetTypes()
AbstractFromMessageConverter
supportedTargetTypes
in class AbstractFromMessageConverter
protected java.lang.Class<?>[] supportedPayloadTypes()
AbstractFromMessageConverter
supportedPayloadTypes
in class AbstractFromMessageConverter
public java.lang.Object convertFromInternal(org.springframework.messaging.Message<?> message, java.lang.Class<?> targetClass, java.lang.Object conversionHint)
convertFromInternal
in class org.springframework.messaging.converter.AbstractMessageConverter