public abstract class AbstractJsonMessageConverter extends AbstractMessageConverter implements org.springframework.beans.factory.BeanClassLoaderAware
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CHARSET |
Constructor and Description |
---|
AbstractJsonMessageConverter() |
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
getClassLoader() |
ClassMapper |
getClassMapper() |
String |
getDefaultCharset() |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setClassMapper(ClassMapper classMapper) |
void |
setDefaultCharset(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 String DEFAULT_CHARSET
public ClassMapper getClassMapper()
public void setClassMapper(ClassMapper classMapper)
public void setDefaultCharset(String defaultCharset)
defaultCharset
- The default charset.public String getDefaultCharset()
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
protected ClassLoader getClassLoader()