com.jayway.restassured.internal.mapping
Class ObjectMapping
java.lang.Object
com.jayway.restassured.internal.mapping.ObjectMapping
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class ObjectMapping
- extends Object
- implements groovy.lang.GroovyObject
|
Method Summary |
static
|
deserialize(Object object,
Class<T> cls,
String contentType,
String defaultContentType,
ObjectMapper map)
|
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String property)
|
Object |
invokeMethod(String method,
Object arguments)
|
static Object |
parseWithJackson(Object object,
String charset,
Class cls)
|
static String |
serialize(Object object,
String contentType,
ObjectMapper map)
|
void |
setMetaClass(groovy.lang.MetaClass mc)
|
void |
setProperty(String property,
Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectMapping
public ObjectMapping()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String property)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
deserialize
public static <T> T deserialize(Object object,
Class<T> cls,
String contentType,
String defaultContentType,
ObjectMapper map)
serialize
public static String serialize(Object object,
String contentType,
ObjectMapper map)
parseWithJackson
public static Object parseWithJackson(Object object,
String charset,
Class cls)
Copyright © 2010-2012. All Rights Reserved.