| Modifier and Type | Method and Description |
|---|---|
RequestSpecBuilder |
RequestSpecBuilder.setBody(Object object,
ObjectMapperType mapperType)
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper type.
|
RequestSpecBuilder |
RequestSpecBuilder.setContent(Object object,
ObjectMapperType mapperType)
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper type.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectMapperType |
ObjectMapperConfig.defaultObjectMapperType() |
| Modifier and Type | Method and Description |
|---|---|
ObjectMapperConfig |
ObjectMapperConfig.defaultObjectMapperType(ObjectMapperType defaultObjectMapperType)
Creates an object mapper configuration that uses the specified object mapper as default.
|
| Constructor and Description |
|---|
ObjectMapperConfig(ObjectMapperType defaultObjectMapperType)
Creates an object mapper configuration that uses the specified object mapper as default.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
RestAssuredResponseOptionsImpl.as(Class<T> cls,
ObjectMapperType mapperType) |
<T> T |
RestAssuredResponseOptionsGroovyImpl.as(Class<T> cls,
ObjectMapperType mapperType,
ResponseBodyData responseBodyData) |
RequestSpecification |
RequestSpecificationImpl.body(Object object,
ObjectMapperType mapperType) |
RequestSpecification |
RequestSpecificationImpl.content(Object object,
ObjectMapperType mapperType) |
| Modifier and Type | Method and Description |
|---|---|
static ObjectMapperType |
ObjectMapperType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectMapperType[] |
ObjectMapperType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
ObjectMapping.deserialize(ResponseBodyData response,
Class<T> cls,
String contentType,
String defaultContentType,
String charset,
ObjectMapperType mapperType,
ObjectMapperConfig objectMapperConfig) |
static String |
ObjectMapping.serialize(Object object,
String contentType,
String charset,
ObjectMapperType mapperType,
ObjectMapperConfig config) |
| Modifier and Type | Field and Description |
|---|---|
static ObjectMapperType |
ObjectMapper.GSON
Deprecated.
|
static ObjectMapperType |
ObjectMapper.JACKSON
Deprecated.
|
static ObjectMapperType |
ObjectMapper.JAXB
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ResponseBodyExtractionOptions.as(Class<T> cls,
ObjectMapperType mapperType)
Get the body and map it to a Java object using a specific object mapper type.
|
| Modifier and Type | Method and Description |
|---|---|
RequestSpecification |
RequestSpecification.body(Object object,
ObjectMapperType mapperType)
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper type.
|
RequestSpecification |
RequestSpecification.content(Object object,
ObjectMapperType mapperType)
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper type.
|
Copyright © 2010–2014. All rights reserved.