| Package | Description |
|---|---|
| org.springframework.cloud.contract.spec.internal |
| Modifier and Type | Class and Description |
|---|---|
class |
ResponseBodyMatchers
Body matchers for the response side (output message, REST response).
|
| Modifier and Type | Method and Description |
|---|---|
BodyMatchers |
Input.getBodyMatchers() |
BodyMatchers |
Request.getBodyMatchers() |
| Modifier and Type | Method and Description |
|---|---|
void |
Input.setBodyMatchers(BodyMatchers bodyMatchers) |
void |
Request.setBodyMatchers(BodyMatchers bodyMatchers) |
| Modifier and Type | Method and Description |
|---|---|
void |
Input.bodyMatchers(Consumer<BodyMatchers> consumer)
The stub matchers part of the contract.
|
void |
Request.bodyMatchers(Consumer<BodyMatchers> consumer)
Allows to set matchers for the body.
|
Copyright © 2016–2022 Spring. All rights reserved.