@Deprecated public class FastJsonpHttpMessageConverter4 extends FastJsonHttpMessageConverter
FastJsonHttpMessageConverter
APPLICATION_JAVASCRIPT
Constructor and Description |
---|
FastJsonpHttpMessageConverter4()
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, setFilters
canRead, canWrite, getDefaultCharset, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, write
public FastJsonpHttpMessageConverter4()
public boolean canRead(Type type, Class<?> contextClass, org.springframework.http.MediaType mediaType)
canRead
in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>
canRead
in class FastJsonHttpMessageConverter
public boolean canWrite(Type type, Class<?> clazz, org.springframework.http.MediaType mediaType)
canWrite
in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>
canWrite
in class FastJsonHttpMessageConverter
public 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 FastJsonHttpMessageConverter
IOException
org.springframework.http.converter.HttpMessageNotReadableException
public 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 FastJsonHttpMessageConverter
IOException
org.springframework.http.converter.HttpMessageNotWritableException
Copyright © 2012–2022 Alibaba Group. All rights reserved.