Package software.xdev.mockserver.mock
Class RequestMatchers
java.lang.Object
software.xdev.mockserver.mock.listeners.MockServerMatcherNotifier
software.xdev.mockserver.mock.RequestMatchers
-
Nested Class Summary
Nested classes/interfaces inherited from class software.xdev.mockserver.mock.listeners.MockServerMatcherNotifier
MockServerMatcherNotifier.Cause -
Constructor Summary
ConstructorsConstructorDescriptionRequestMatchers(ServerConfiguration configuration, Scheduler scheduler, WebSocketClientRegistry webSocketClientRegistry) -
Method Summary
Modifier and TypeMethodDescriptionadd(Expectation expectation, MockServerMatcherNotifier.Cause cause) voidclear(ExpectationId expectationId, String logCorrelationId) voidclear(RequestDefinition requestDefinition) booleanfirstMatchingExpectation(HttpRequest httpRequest) inthashCode()booleanisEmpty()protected voidnotifyListeners(RequestMatchers notifier, MockServerMatcherNotifier.Cause cause) voidreset()voidretrieveActiveExpectations(RequestDefinition requestDefinition) retrieveRequestDefinitions(List<ExpectationId> expectationIds) retrieveRequestMatchers(RequestDefinition requestDefinition) intsize()voidupdate(Expectation[] expectations, MockServerMatcherNotifier.Cause cause) Methods inherited from class software.xdev.mockserver.mock.listeners.MockServerMatcherNotifier
registerListener, unregisterListener
-
Constructor Details
-
RequestMatchers
public RequestMatchers(ServerConfiguration configuration, Scheduler scheduler, WebSocketClientRegistry webSocketClientRegistry)
-
-
Method Details
-
add
-
update
-
size
public int size() -
reset
-
reset
public void reset() -
firstMatchingExpectation
-
clear
-
clear
-
retrieveRequestDefinitions
-
retrieveActiveExpectations
-
retrieveRequestMatchers
-
isEmpty
public boolean isEmpty() -
notifyListeners
- Overrides:
notifyListenersin classMockServerMatcherNotifier
-
equals
- Overrides:
equalsin classMockServerMatcherNotifier
-
hashCode
public int hashCode()- Overrides:
hashCodein classMockServerMatcherNotifier
-