Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.ser.FilterProvider |
filter |
protected InjectValueFactory |
injectValueFactory |
protected String |
jsonPrefix |
Constructor and Description |
---|
CrafterJackson2MessageConverter() |
Modifier and Type | Method and Description |
---|---|
String |
getJsonPrefix() |
void |
setFilter(com.fasterxml.jackson.databind.ser.FilterProvider filter) |
void |
setInjectValueFactory(InjectValueFactory injectValueFactory) |
void |
setJsonPrefix(String jsonPrefix) |
protected void |
writeInternal(Object object,
org.springframework.http.HttpOutputMessage outputMessage) |
canRead, canRead, canWrite, getJavaType, getJsonEncoding, getObjectMapper, read, readInternal, setObjectMapper, setPrefixJson, setPrettyPrint, supports
canRead, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, write
protected String jsonPrefix
protected com.fasterxml.jackson.databind.ser.FilterProvider filter
protected InjectValueFactory injectValueFactory
protected void writeInternal(Object object, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException
writeInternal
in class org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
IOException
org.springframework.http.converter.HttpMessageNotWritableException
public String getJsonPrefix()
public void setJsonPrefix(String jsonPrefix)
setJsonPrefix
in class org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
public void setFilter(com.fasterxml.jackson.databind.ser.FilterProvider filter)
public void setInjectValueFactory(InjectValueFactory injectValueFactory)
Copyright © 2015 CrafterCMS. All Rights Reserved.