| Package | Description |
|---|---|
| org.springframework.cloud.contract.spec.internal |
| Modifier and Type | Method and Description |
|---|---|
ResponseBodyMatchers |
OutputMessage.getBodyMatchers() |
ResponseBodyMatchers |
Response.getBodyMatchers() |
| Modifier and Type | Method and Description |
|---|---|
void |
OutputMessage.setBodyMatchers(ResponseBodyMatchers bodyMatchers) |
void |
Response.setBodyMatchers(ResponseBodyMatchers bodyMatchers) |
| Modifier and Type | Method and Description |
|---|---|
void |
OutputMessage.bodyMatchers(Consumer<ResponseBodyMatchers> consumer)
The stub matchers part of the contract.
|
void |
Response.bodyMatchers(Consumer<ResponseBodyMatchers> consumer)
Allows to set matchers for the body.
|
Copyright © 2016–2020 Spring. All rights reserved.