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
-
-
Constructor Summary
Constructors Constructor Description MockServerMatcher(MockServerLogger logFormatter, Scheduler scheduler, WebSocketClientRegistry webSocketClientRegistry)
-
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>
retrieveActiveExpectations(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
-
-
-
-
Constructor Detail
-
MockServerMatcher
public MockServerMatcher(MockServerLogger logFormatter, Scheduler scheduler, WebSocketClientRegistry webSocketClientRegistry)
-
-
Method Detail
-
add
public void add(Expectation expectation)
-
reset
public void reset()
-
firstMatchingExpectation
public Expectation firstMatchingExpectation(HttpRequest httpRequest)
-
clear
public void clear(HttpRequest httpRequest)
-
retrieveActiveExpectations
public List<Expectation> retrieveActiveExpectations(HttpRequest httpRequest)
-
isEmpty
public boolean isEmpty()
-
-