public class TupleToJsonMessageConverter extends AbstractFromMessageConverter
MessageConverter
to convert a Tuple
to a JSON Stringlogger, targetMimeTypes
Constructor and Description |
---|
TupleToJsonMessageConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convertFromInternal(org.springframework.messaging.Message<?> message,
java.lang.Class<?> targetClass) |
void |
setPrettyPrint(boolean prettyPrint) |
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, convertToInternal, setContentTypeResolver, supports, supportsPayloadType, supportsTargetMimeType
fromMessage, getContentTypeResolver, getDefaultContentType, getMimeType, getSerializedPayloadClass, getSupportedMimeTypes, isStrictContentTypeMatch, setSerializedPayloadClass, setStrictContentTypeMatch, supportsMimeType, toMessage
public void setPrettyPrint(boolean prettyPrint)
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)
convertFromInternal
in class org.springframework.messaging.converter.AbstractMessageConverter