public class PathBodyMatcher extends Object implements BodyMatcher
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
MatchingType |
matchingType() |
Integer |
maxTypeOccurrence() |
Integer |
minTypeOccurrence() |
String |
path() |
String |
toString() |
Object |
value() |
public MatchingType matchingType()
matchingType in interface BodyMatcherpublic String path()
path in interface BodyMatcherpublic Object value()
value in interface BodyMatcher$.a to be matched. by type, the defined response
body contained an integer but the actual one contained a string then the assertion
should fail.public Integer minTypeOccurrence()
minTypeOccurrence in interface BodyMatcherpublic Integer maxTypeOccurrence()
maxTypeOccurrence in interface BodyMatcherCopyright © 2016–2020 Spring. All rights reserved.