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