Class StringMessageConverter

java.lang.Object
org.springframework.messaging.converter.AbstractMessageConverter
org.springframework.messaging.converter.StringMessageConverter
All Implemented Interfaces:
MessageConverter, SmartMessageConverter

public class StringMessageConverter extends AbstractMessageConverter
A MessageConverter that supports MIME type "text/plain" with the payload converted to and from a String.
Since:
4.0
Author:
Rossen Stoyanchev
  • Constructor Details

    • StringMessageConverter

      public StringMessageConverter()
    • StringMessageConverter

      public StringMessageConverter(Charset defaultCharset)
  • Method Details