| Package | Description |
|---|---|
| com.jayway.restassured.config | |
| com.jayway.restassured.internal.mapping |
| Modifier and Type | Method and Description |
|---|---|
ObjectMapperConfig |
ObjectMapperConfig.and()
Syntactic sugar.
|
ObjectMapperConfig |
ObjectMapperConfig.defaultObjectMapper(ObjectMapper defaultObjectMapper)
Creates an object mapper configuration that uses the specified object mapper as default.
|
ObjectMapperConfig |
ObjectMapperConfig.defaultObjectMapperType(ObjectMapperType defaultObjectMapperType)
Creates an object mapper configuration that uses the specified object mapper as default.
|
ObjectMapperConfig |
RestAssuredConfig.getObjectMapperConfig() |
ObjectMapperConfig |
ObjectMapperConfig.gsonObjectMapperFactory(GsonObjectMapperFactory gsonObjectMapperFactory)
Specify a custom Gson object mapper factory.
|
ObjectMapperConfig |
ObjectMapperConfig.jackson1ObjectMapperFactory(Jackson1ObjectMapperFactory jackson1ObjectMapperFactory)
Specify a custom Jackson 1.0 object mapper factory.
|
ObjectMapperConfig |
ObjectMapperConfig.jackson2ObjectMapperFactory(Jackson2ObjectMapperFactory jackson2ObjectMapperFactory)
Specify a custom Jackson 1.0 object mapper factory.
|
ObjectMapperConfig |
ObjectMapperConfig.jaxbObjectMapperFactory(JAXBObjectMapperFactory jaxbObjectMapperFactory)
Specify a custom JAXB object mapper factory.
|
static ObjectMapperConfig |
ObjectMapperConfig.objectMapperConfig() |
| Modifier and Type | Method and Description |
|---|---|
RestAssuredConfig |
RestAssuredConfig.objectMapperConfig(ObjectMapperConfig objectMapperConfig)
Set the object mapper config.
|
| Constructor and Description |
|---|
RestAssuredConfig(RedirectConfig redirectConfig,
HttpClientConfig httpClientConfig,
LogConfig logConfig,
EncoderConfig encoderConfig,
DecoderConfig decoderConfig,
SessionConfig sessionConfig,
ObjectMapperConfig objectMapperConfig,
ConnectionConfig connectionConfig,
JsonConfig jsonConfig,
XmlConfig xmlConfig,
SSLConfig sslConfig)
Create a new RestAssuredConfiguration with the supplied
RedirectConfig, HttpClientConfig, LogConfig,
EncoderConfig, DecoderConfig, SessionConfig, ObjectMapperConfig, and ConnectionConfig. |
| 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) |
Copyright © 2010–2014. All rights reserved.