public abstract class AbstractJsonMessageConverter extends AbstractMessageConverter implements org.springframework.beans.factory.BeanClassLoaderAware
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CHARSET |
Constructor and Description |
---|
AbstractJsonMessageConverter() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.ClassLoader |
getClassLoader() |
ClassMapper |
getClassMapper() |
java.lang.String |
getDefaultCharset() |
void |
setBeanClassLoader(java.lang.ClassLoader classLoader) |
void |
setClassMapper(ClassMapper classMapper) |
void |
setDefaultCharset(java.lang.String defaultCharset)
Specify the default charset to use when converting to or from text-based
Message body content.
|
createMessage, fromMessage, isCreateMessageIds, setCreateMessageIds, toMessage
public static final java.lang.String DEFAULT_CHARSET
public ClassMapper getClassMapper()
public void setClassMapper(ClassMapper classMapper)
public void setDefaultCharset(java.lang.String defaultCharset)
defaultCharset
- The default charset.public java.lang.String getDefaultCharset()
public void setBeanClassLoader(java.lang.ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
protected java.lang.ClassLoader getClassLoader()