public interface ObjectMapperSerializationContext
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() |
Object |
getObjectToSerialize() |
<T> T |
getObjectToSerializeAs(Class<T> expectedType) |
Object getObjectToSerialize()
<T> T getObjectToSerializeAs(Class<T> expectedType)
String getContentType()
null
if not defined.String getCharset()
null
if not defined.Copyright © 2010–2019. All rights reserved.