public class ObjectMapperSerializationContextImpl extends Object implements ObjectMapperSerializationContext, groovy.lang.GroovyObject
Constructor and Description |
---|
ObjectMapperSerializationContextImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getCharset()
If a charset is specified in the content-type then this method will return that charset otherwise
it'll return the default content charset specified in the REST Assured configuration.
|
String |
getContentType() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getObject() |
Object |
getObjectToSerialize() |
Object |
getObjectToSerializeAs(Class expectedType) |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setCharset(Object value) |
void |
setContentType(Object value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setObject(Object value) |
void |
setProperty(String property,
Object value) |
public ObjectMapperSerializationContextImpl()
public Object getObject()
public void setObject(Object value)
public void setContentType(Object value)
public void setCharset(Object value)
public Object getObjectToSerialize()
getObjectToSerialize
in interface ObjectMapperSerializationContext
public Object getObjectToSerializeAs(Class expectedType)
getObjectToSerializeAs
in interface ObjectMapperSerializationContext
public String getContentType()
getContentType
in interface ObjectMapperSerializationContext
null
if not defined.public String getCharset()
ObjectMapperSerializationContext
getCharset
in interface ObjectMapperSerializationContext
null
if not defined.public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
Copyright © 2010–2019. All rights reserved.