Class ResponseDefinitionBodyMatcher
- java.lang.Object
-
- com.github.tomakehurst.wiremock.recording.ResponseDefinitionBodyMatcher
-
- All Implemented Interfaces:
ValueMatcher<ResponseDefinition>
public class ResponseDefinitionBodyMatcher extends java.lang.Object implements ValueMatcher<ResponseDefinition>
-
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_MAX_BINARY_SIZEstatic longDEFAULT_MAX_TEXT_SIZE
-
Constructor Summary
Constructors Constructor Description ResponseDefinitionBodyMatcher(long textSizeThreshold, long binarySizeThreshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetBinarySizeThreshold()java.lang.StringgetTextSizeThreshold()inthashCode()MatchResultmatch(ResponseDefinition responseDefinition)
-
-
-
Field Detail
-
DEFAULT_MAX_TEXT_SIZE
public static final long DEFAULT_MAX_TEXT_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_MAX_BINARY_SIZE
public static final long DEFAULT_MAX_BINARY_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTextSizeThreshold
public java.lang.String getTextSizeThreshold()
-
getBinarySizeThreshold
public java.lang.String getBinarySizeThreshold()
-
match
public MatchResult match(ResponseDefinition responseDefinition)
- Specified by:
matchin interfaceValueMatcher<ResponseDefinition>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-