@Deprecated public class MappingFastJsonValue extends Object
FastJsonHttpMessageConverter along with further
serialization instructions to be passed in to the converter.
On the server side this wrapper is added with a ResponseBodyInterceptor after content negotiation selects the
converter to use but before the write.
On the client side, simply wrap the POJO and pass it in to the RestTemplate.
JSONPObject| Constructor and Description |
|---|
MappingFastJsonValue(Object value)
Deprecated.
Create a new instance wrapping the given POJO to be serialized.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJsonpFunction()
Deprecated.
Return the configured JSONP function name.
|
Object |
getValue()
Deprecated.
Return the POJO that needs to be serialized.
|
void |
setJsonpFunction(String functionName)
Deprecated.
Set the name of the JSONP function name.
|
void |
setValue(Object value)
Deprecated.
Modify the POJO to serialize.
|
public MappingFastJsonValue(Object value)
value - the Object to be serializedpublic void setValue(Object value)
public Object getValue()
public void setJsonpFunction(String functionName)
public String getJsonpFunction()
Copyright © 2012–2017 Alibaba Group. All rights reserved.