public class ObjectMapping extends Object implements groovy.lang.GroovyObject
| Constructor and Description |
|---|
ObjectMapping() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
deserialize(ResponseBodyData response,
Class<T> cls,
String contentType,
String defaultContentType,
String charset,
ObjectMapperType mapperType,
ObjectMapperConfig objectMapperConfig) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
static Object |
parseWithJackson1(ObjectMapperDeserializationContext ctx,
Jackson1ObjectMapperFactory factory) |
static Object |
parseWithJackson2(ObjectMapperDeserializationContext ctx,
Jackson2ObjectMapperFactory factory) |
static String |
serialize(Object object,
String contentType,
String charset,
ObjectMapperType mapperType,
ObjectMapperConfig config) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic static <T> T deserialize(ResponseBodyData response, Class<T> cls, String contentType, String defaultContentType, String charset, ObjectMapperType mapperType, ObjectMapperConfig objectMapperConfig)
public static String serialize(Object object, String contentType, String charset, ObjectMapperType mapperType, ObjectMapperConfig config)
public static Object parseWithJackson1(ObjectMapperDeserializationContext ctx, Jackson1ObjectMapperFactory factory)
public static Object parseWithJackson2(ObjectMapperDeserializationContext ctx, Jackson2ObjectMapperFactory factory)
Copyright © 2010–2014. All rights reserved.