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 long
DEFAULT_MAX_BINARY_SIZE
static long
DEFAULT_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 boolean
equals(java.lang.Object o)
java.lang.String
getBinarySizeThreshold()
java.lang.String
getTextSizeThreshold()
int
hashCode()
MatchResult
match(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:
match
in interfaceValueMatcher<ResponseDefinition>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-