public class ObjectStringMessageConverter extends StringMessageConverter
StringMessageConverter
extension to convert any object to string.
Delegates to super when payload is byte[]
or String
.
Performs Object.toString()
in other cases.
logger
Constructor and Description |
---|
ObjectStringMessageConverter() |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertFromInternal(Message<?> message,
Class<?> targetClass,
Object conversionHint) |
convertToInternal, supports
addSupportedMimeTypes, canConvertFrom, canConvertTo, fromMessage, fromMessage, getContentTypeResolver, getDefaultContentType, getMimeType, getSerializedPayloadClass, getSupportedMimeTypes, isStrictContentTypeMatch, setContentTypeResolver, setSerializedPayloadClass, setStrictContentTypeMatch, supportsMimeType, toMessage, toMessage
protected Object convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint)
convertFromInternal
in class StringMessageConverter