Class BinaryEqualToPattern
- java.lang.Object
-
- com.github.tomakehurst.wiremock.matching.ContentPattern<byte[]>
-
- com.github.tomakehurst.wiremock.matching.BinaryEqualToPattern
-
- All Implemented Interfaces:
NamedValueMatcher<byte[]>
,ValueMatcher<byte[]>
public class BinaryEqualToPattern extends ContentPattern<byte[]>
-
-
Field Summary
-
Fields inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
expectedValue
-
-
Constructor Summary
Constructors Constructor Description BinaryEqualToPattern(byte[] expected)
BinaryEqualToPattern(java.lang.String expected)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getBinaryEqualTo()
java.lang.String
getExpected()
java.lang.String
getName()
int
hashCode()
MatchResult
match(byte[] actual)
java.lang.String
toString()
-
Methods inherited from class com.github.tomakehurst.wiremock.matching.ContentPattern
getValue, isNullValuePermitted
-
-
-
-
Method Detail
-
match
public MatchResult match(byte[] actual)
-
getName
public java.lang.String getName()
-
getExpected
public java.lang.String getExpected()
-
getBinaryEqualTo
public java.lang.String getBinaryEqualTo()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classContentPattern<byte[]>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classContentPattern<byte[]>
-
-