Package org.mockserver.matchers
Class BinaryMatcher
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.matchers.NotMatcher<MatchedType>
-
- org.mockserver.matchers.BodyMatcher<byte[]>
-
- org.mockserver.matchers.BinaryMatcher
-
- All Implemented Interfaces:
Matcher<byte[]>
public class BinaryMatcher extends BodyMatcher<byte[]>
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description BinaryMatcher(MockServerLogger mockServerLogger, byte[] matcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
fieldsExcludedFromEqualsAndHashCode()
boolean
matches(HttpRequest context, byte[] matched)
-
Methods inherited from class org.mockserver.matchers.NotMatcher
not
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, hashCode, key, toString
-
-
-
-
Constructor Detail
-
BinaryMatcher
public BinaryMatcher(MockServerLogger mockServerLogger, byte[] matcher)
-
-
Method Detail
-
matches
public boolean matches(HttpRequest context, byte[] matched)
-
fieldsExcludedFromEqualsAndHashCode
public String[] fieldsExcludedFromEqualsAndHashCode()
- Overrides:
fieldsExcludedFromEqualsAndHashCode
in classObjectWithReflectiveEqualsHashCodeToString
-
-