Class ResponseDefinitionBodyMatcher
java.lang.Object
com.github.tomakehurst.wiremock.recording.ResponseDefinitionBodyMatcher
- All Implemented Interfaces:
ValueMatcher<ResponseDefinition>
public class ResponseDefinitionBodyMatcher
extends Object
implements ValueMatcher<ResponseDefinition>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionResponseDefinitionBodyMatcher(long textSizeThreshold, long binarySizeThreshold) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()match(ResponseDefinition responseDefinition)
-
Field Details
-
DEFAULT_MAX_TEXT_SIZE
public static final long DEFAULT_MAX_TEXT_SIZE- See Also:
-
DEFAULT_MAX_BINARY_SIZE
public static final long DEFAULT_MAX_BINARY_SIZE- See Also:
-
-
Constructor Details
-
ResponseDefinitionBodyMatcher
public ResponseDefinitionBodyMatcher(long textSizeThreshold, long binarySizeThreshold)
-
-
Method Details
-
getTextSizeThreshold
-
getBinarySizeThreshold
-
match
- Specified by:
matchin interfaceValueMatcher<ResponseDefinition>
-
equals
-
hashCode
public int hashCode()
-