Class ResponseBodyMatchers
- java.lang.Object
-
- org.springframework.cloud.contract.spec.internal.BodyMatchers
-
- org.springframework.cloud.contract.spec.internal.ResponseBodyMatchers
-
public class ResponseBodyMatchers extends BodyMatchers
Body matchers for the response side (output message, REST response).- Since:
- 1.0.3
- Author:
- Marcin Grzejszczak, Tim Ysewyn
-
-
Field Summary
-
Fields inherited from class org.springframework.cloud.contract.spec.internal.BodyMatchers
matchers
-
-
Constructor Summary
Constructors Constructor Description ResponseBodyMatchers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchingTypeValuebyCommand(String execute)MatchingTypeValuebyNull()MatchingTypeValuebyType()-
Methods inherited from class org.springframework.cloud.contract.spec.internal.BodyMatchers
byDate, byEquality, byRegex, byRegex, byRegex, byTime, byTimestamp, byType, byType, equals, hashCode, hasMatchers, jsonPath, matchers, toString, xPath
-
-
-
-
Method Detail
-
byType
public MatchingTypeValue byType()
-
byCommand
public MatchingTypeValue byCommand(String execute)
-
byNull
public MatchingTypeValue byNull()
-
-