Uses of Class
org.mockserver.model.CaptureRule
Packages that use CaptureRule
Package
Description
-
Uses of CaptureRule in org.mockserver.client
Methods in org.mockserver.client with parameters of type CaptureRuleModifier and TypeMethodDescriptionForwardChainExpectation.withCapture(CaptureRule... capture) Set the capture rules that extract values from the matched request into scenario state, so later template responses can read them via thescenariohelper.Method parameters in org.mockserver.client with type arguments of type CaptureRuleModifier and TypeMethodDescriptionForwardChainExpectation.withCapture(List<CaptureRule> capture) Set the capture rules that extract values from the matched request into scenario state, so later template responses can read them via thescenariohelper. -
Uses of CaptureRule in org.mockserver.mock
Methods in org.mockserver.mock that return types with arguments of type CaptureRuleMethods in org.mockserver.mock with parameters of type CaptureRuleMethod parameters in org.mockserver.mock with type arguments of type CaptureRuleModifier and TypeMethodDescriptionstatic voidCaptureProcessor.process(List<CaptureRule> captureRules, RequestDefinition requestDefinition) Evaluates each capture rule against the request and writes the captured value into scenario state.Expectation.withCapture(List<CaptureRule> capture) -
Uses of CaptureRule in org.mockserver.model
Methods in org.mockserver.model that return CaptureRuleModifier and TypeMethodDescriptionstatic CaptureRuleCaptureRule.capture(CaptureRule.Source source, String expression, String into) static CaptureRuleCaptureRule.captureRule()CaptureRule.withExpression(String expression) CaptureRule.withSource(CaptureRule.Source source) -
Uses of CaptureRule in org.mockserver.serialization.model
Methods in org.mockserver.serialization.model that return CaptureRuleConstructors in org.mockserver.serialization.model with parameters of type CaptureRule