Package org.mockserver.mock.breakpoint
Class BreakpointMatcher
java.lang.Object
org.mockserver.mock.breakpoint.BreakpointMatcher
A registered breakpoint: a request matcher + set of phases at which matching
forwarded exchanges should be paused for interactive inspection/modification.
The prebuilt HttpRequestMatcher is created once at registration time
(via MatcherBuilder.transformsToMatcher(RequestDefinition))
and reused for every findMatch call — no allocation on the hot path.
The clientId identifies the owning callback WebSocket client.
It is required -- matched exchanges are always dispatched over the callback
WebSocket to the owning client for interactive resolution.
Value-equality is on id only (UUID assigned at registration).
-
Constructor Summary
ConstructorsConstructorDescriptionBreakpointMatcher(String id, RequestDefinition requestMatcher, Set<BreakpointPhase> phases, HttpRequestMatcher prebuiltMatcher) BreakpointMatcher(String id, RequestDefinition requestMatcher, Set<BreakpointPhase> phases, HttpRequestMatcher prebuiltMatcher, String clientId) -
Method Summary
-
Constructor Details
-
BreakpointMatcher
public BreakpointMatcher(String id, RequestDefinition requestMatcher, Set<BreakpointPhase> phases, HttpRequestMatcher prebuiltMatcher) -
BreakpointMatcher
public BreakpointMatcher(String id, RequestDefinition requestMatcher, Set<BreakpointPhase> phases, HttpRequestMatcher prebuiltMatcher, String clientId)
-
-
Method Details