public class FastJsonHttpMessageConverter4 extends org.springframework.http.converter.AbstractGenericHttpMessageConverter<Object>
Compatible Spring MVC version 4.2+
AbstractGenericHttpMessageConverter| Constructor and Description |
|---|
FastJsonHttpMessageConverter4()
Can serialize/deserialize all types.
|
| Modifier and Type | Method and Description |
|---|---|
FastJsonConfig |
getFastJsonConfig() |
Object |
read(Type type,
Class<?> contextClass,
org.springframework.http.HttpInputMessage inputMessage) |
void |
setFastJsonConfig(FastJsonConfig fastJsonConfig) |
canRead, canWrite, writecanRead, canWrite, getDefaultCharset, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writepublic FastJsonHttpMessageConverter4()
public FastJsonConfig getFastJsonConfig()
public void setFastJsonConfig(FastJsonConfig fastJsonConfig)
fastJsonConfig - the fastJsonConfig to set.public Object read(Type type, Class<?> contextClass, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException
IOExceptionorg.springframework.http.converter.HttpMessageNotReadableExceptionCopyright © 2012–2017 Alibaba Group. All rights reserved.