@Deprecated public class FastJsonHttpMessageConverter4 extends FastJsonHttpMessageConverter
FastJsonHttpMessageConverterAPPLICATION_JAVASCRIPT| Constructor and Description |
|---|
FastJsonHttpMessageConverter4()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(Type type,
Class<?> contextClass,
org.springframework.http.MediaType mediaType)
Deprecated.
|
boolean |
canWrite(Type type,
Class<?> clazz,
org.springframework.http.MediaType mediaType)
Deprecated.
|
Object |
read(Type type,
Class<?> contextClass,
org.springframework.http.HttpInputMessage inputMessage)
Deprecated.
|
void |
write(Object o,
Type type,
org.springframework.http.MediaType contentType,
org.springframework.http.HttpOutputMessage outputMessage)
Deprecated.
|
addSerializeFilter, getCharset, getDateFormat, getFastJsonConfig, getFeatures, getFilters, setCharset, setDateFormat, setFastJsonConfig, setFeatures, setFilterscanRead, canWrite, getDefaultCharset, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writepublic boolean canRead(Type type, Class<?> contextClass, org.springframework.http.MediaType mediaType)
canRead in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>canRead in class FastJsonHttpMessageConverterpublic boolean canWrite(Type type, Class<?> clazz, org.springframework.http.MediaType mediaType)
canWrite in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>canWrite in class FastJsonHttpMessageConverterpublic Object read(Type type, Class<?> contextClass, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException
read in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>read in class FastJsonHttpMessageConverterIOExceptionorg.springframework.http.converter.HttpMessageNotReadableExceptionpublic void write(Object o, Type type, org.springframework.http.MediaType contentType, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException
write in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>write in class FastJsonHttpMessageConverterIOExceptionorg.springframework.http.converter.HttpMessageNotWritableExceptionCopyright © 2012–2022 Alibaba Group. All rights reserved.