| Package | Description |
|---|---|
| org.springframework.cloud.contract.spec.internal | |
| org.springframework.cloud.contract.spec.util |
| Modifier and Type | Method and Description |
|---|---|
MatchingStrategy |
Request.absent()
Sets absence check to the given query parameter.
|
MatchingStrategy |
Request.containing(Object value)
Sets the containing check to the given query parameter.
|
MatchingStrategy |
Request.equalTo(Object value)
Sets the equality check to the given query parameter.
|
MatchingStrategy |
Request.equalToJson(Object value)
Sets the JSON equality check to the body.
|
MatchingStrategy |
Request.equalToXml(Object value)
Sets the XML equality check to the body.
|
MatchingStrategy |
Request.matching(Object value)
Sets the matching check to the given query parameter.
|
MatchingStrategy |
Request.notMatching(Object value)
Sets the not matching check to the given query parameter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Request.body(MatchingStrategy matchingStrategy)
Allows set an HTTP body.
|
| Constructor and Description |
|---|
Body(MatchingStrategy matchingStrategy) |
Cookie(String key,
MatchingStrategy value) |
Header(String name,
MatchingStrategy value) |
Multipart(MatchingStrategy matchingStrategy) |
QueryParameter(String name,
MatchingStrategy matchingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ValidateUtils.validateServerValue(MatchingStrategy matchingStrategy,
String msg) |
Copyright © 2016–2020 Spring. All rights reserved.