| Package | Description |
|---|---|
| io.restassured.builder | |
| io.restassured.config | |
| io.restassured.internal | |
| io.restassured.internal.mapping | |
| io.restassured.response | |
| io.restassured.specification |
| Modifier and Type | Method and Description |
|---|---|
RequestSpecBuilder |
RequestSpecBuilder.setBody(Object object,
ObjectMapper mapper)
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper.
|
| Constructor and Description |
|---|
MultiPartSpecBuilder(Object content,
ObjectMapper objectMapper)
Create a new multi-part specification with control name equal to file.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectMapper |
ObjectMapperConfig.defaultObjectMapper() |
| Modifier and Type | Method and Description |
|---|---|
ObjectMapperConfig |
ObjectMapperConfig.defaultObjectMapper(ObjectMapper defaultObjectMapper)
Creates an object mapper configuration that uses the specified object mapper as default.
|
| Constructor and Description |
|---|
ObjectMapperConfig(ObjectMapper defaultObjectMapper)
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,
ObjectMapper mapper) |
<T> T |
RestAssuredResponseOptionsImpl.as(Type cls,
ObjectMapper mapper) |
<T> Object |
RestAssuredResponseOptionsGroovyImpl.as(Type cls,
ObjectMapper mapper) |
RequestSpecification |
RequestSpecificationImpl.body(Object object,
ObjectMapper mapper) |
| Modifier and Type | Class and Description |
|---|---|
class |
GsonMapper |
class |
Jackson1Mapper |
class |
Jackson2Mapper |
class |
JakartaEEMapper |
class |
JaxbMapper |
class |
JohnzonMapper |
class |
JsonbMapper |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ResponseBodyExtractionOptions.as(Class<T> cls,
ObjectMapper mapper)
Get the body and map it to a Java object using a specific object mapper.
|
<T> T |
ResponseBodyExtractionOptions.as(Type cls,
ObjectMapper mapper)
Get the body and map it to a Java type using a specific object mapper.
|
| Modifier and Type | Method and Description |
|---|---|
RequestSpecification |
RequestSpecification.body(Object object,
ObjectMapper mapper)
Specify an Object request content that will automatically be serialized to JSON or XML and sent with the request using a specific object mapper.
|
Copyright © 2010–2022. All rights reserved.