Package org.mockserver.mock
Class MockServerMatcher
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.ui.MockServerMatcherNotifier
-
- org.mockserver.mock.MockServerMatcher
-
public class MockServerMatcher extends MockServerMatcherNotifier
- Author:
- jamesdbloom
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Expectation expectation)
void
clear(HttpRequest httpRequest)
Expectation
firstMatchingExpectation(HttpRequest httpRequest)
boolean
isEmpty()
void
reset()
List<Expectation>
retrieveExpectations(HttpRequest httpRequest)
-
Methods inherited from class org.mockserver.ui.MockServerMatcherNotifier
notifyListeners, registerListener, unregisterListener
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key, toString
-
-
-
-
Method Detail
-
add
public void add(Expectation expectation)
-
reset
public void reset()
-
firstMatchingExpectation
public Expectation firstMatchingExpectation(HttpRequest httpRequest)
-
clear
public void clear(HttpRequest httpRequest)
-
retrieveExpectations
public List<Expectation> retrieveExpectations(HttpRequest httpRequest)
-
isEmpty
public boolean isEmpty()
-
-