Package | Description |
---|---|
io.restassured.config | |
io.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(io.restassured.path.json.mapper.factory.GsonObjectMapperFactory gsonObjectMapperFactory)
Specify a custom Gson object mapper factory.
|
ObjectMapperConfig |
ObjectMapperConfig.jackson1ObjectMapperFactory(io.restassured.path.json.mapper.factory.Jackson1ObjectMapperFactory jackson1ObjectMapperFactory)
Specify a custom Jackson 1.0 object mapper factory.
|
ObjectMapperConfig |
ObjectMapperConfig.jackson2ObjectMapperFactory(io.restassured.path.json.mapper.factory.Jackson2ObjectMapperFactory jackson2ObjectMapperFactory)
Specify a custom Jackson 1.0 object mapper factory.
|
ObjectMapperConfig |
ObjectMapperConfig.jaxbObjectMapperFactory(io.restassured.path.xml.mapper.factory.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,
MatcherConfig matcherConfig,
HeaderConfig headerConfig,
MultiPartConfig multiPartConfig,
ParamConfig paramConfig,
OAuthConfig oAuthConfig,
FailureConfig failureConfig)
Create a new RestAssuredConfiguration with the supplied
RedirectConfig , HttpClientConfig , LogConfig ,
EncoderConfig , DecoderConfig , SessionConfig , ObjectMapperConfig , ConnectionConfig ,
JsonConfig , XmlConfig , SSLConfig ,
MatcherConfig , HeaderConfig , MultiPartConfig |
Modifier and Type | Method and Description |
---|---|
static <T> Object |
ObjectMapping.deserialize(ResponseBodyData response,
Type 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,
EncoderConfig encoderConfig) |
Copyright © 2010–2019. All rights reserved.