public class ResponseDefinitionBodyMatcher extends java.lang.Object implements ValueMatcher<ResponseDefinition>
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_BINARY_SIZE |
static long |
DEFAULT_MAX_TEXT_SIZE |
Constructor and Description |
---|
ResponseDefinitionBodyMatcher(long textSizeThreshold,
long binarySizeThreshold) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBinarySizeThreshold() |
java.lang.String |
getTextSizeThreshold() |
int |
hashCode() |
MatchResult |
match(ResponseDefinition responseDefinition) |
public static final long DEFAULT_MAX_TEXT_SIZE
public static final long DEFAULT_MAX_BINARY_SIZE
public ResponseDefinitionBodyMatcher(long textSizeThreshold, long binarySizeThreshold)
public java.lang.String getTextSizeThreshold()
public java.lang.String getBinarySizeThreshold()
public MatchResult match(ResponseDefinition responseDefinition)
match
in interface ValueMatcher<ResponseDefinition>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object