Object V2MatchingEngine
-
- All Implemented Interfaces:
-
au.com.dius.pact.core.matchers.engine.MatchingEngine
public class V2MatchingEngine implements MatchingEngine
-
-
Field Summary
Fields Modifier and Type Field Description public final static V2MatchingEngineINSTANCE
-
Method Summary
Modifier and Type Method Description ExecutionPlanbuildRequestPlan(IRequest expectedRequest, PlanMatchingContext context)Constructs an execution plan for the HTTP request part. ExecutionPlanexecuteRequestPlan(ExecutionPlan plan, IRequest actual, PlanMatchingContext context)Executes the request plan against the actual request. ExecutionPlanbuildResponsePlan(IResponse expectedResponse, PlanMatchingContext context)Constructs an execution plan for the HTTP response part. ExecutionPlanexecuteResponsePlan(ExecutionPlan plan, IResponse actual, PlanMatchingContext context)Executes the response plan against the actual response. ExecutionPlanbuildMessagePlan(MessageContents expected, PlanMatchingContext context)Constructs an execution plan for an asynchronous message interaction. ExecutionPlanexecuteMessagePlan(ExecutionPlan plan, MessageContents actual, PlanMatchingContext context)Executes the message plan against the actual message contents. final ExecutionPlanNodesetupMethodPlan(IRequest expected, PlanMatchingContext context)final ExecutionPlanNodesetupPathPlan(IRequest expected, PlanMatchingContext context)final ExecutionPlanNodesetupQueryPlan(IRequest expected, PlanMatchingContext context)final ExecutionPlanNodesetupHeaderPlan(IHttpPart expected, PlanMatchingContext context)final ExecutionPlanNodesetupBodyPlan(IHttpPart expected, PlanMatchingContext context)final ExecutionPlanNodesetupStatusPlan(IResponse expected, PlanMatchingContext context)final ExecutionPlanNodesetupMessageBodyPlan(MessageContents expected, PlanMatchingContext context)final ExecutionPlanNodesetupMessageMetadataPlan(MessageContents expected, PlanMatchingContext context)final static Booleanv2EngineEnabled()-
-
Method Detail
-
buildRequestPlan
ExecutionPlan buildRequestPlan(IRequest expectedRequest, PlanMatchingContext context)
Constructs an execution plan for the HTTP request part.
-
executeRequestPlan
ExecutionPlan executeRequestPlan(ExecutionPlan plan, IRequest actual, PlanMatchingContext context)
Executes the request plan against the actual request.
-
buildResponsePlan
ExecutionPlan buildResponsePlan(IResponse expectedResponse, PlanMatchingContext context)
Constructs an execution plan for the HTTP response part.
-
executeResponsePlan
ExecutionPlan executeResponsePlan(ExecutionPlan plan, IResponse actual, PlanMatchingContext context)
Executes the response plan against the actual response.
-
buildMessagePlan
ExecutionPlan buildMessagePlan(MessageContents expected, PlanMatchingContext context)
Constructs an execution plan for an asynchronous message interaction.
-
executeMessagePlan
ExecutionPlan executeMessagePlan(ExecutionPlan plan, MessageContents actual, PlanMatchingContext context)
Executes the message plan against the actual message contents.
-
setupMethodPlan
final ExecutionPlanNode setupMethodPlan(IRequest expected, PlanMatchingContext context)
-
setupPathPlan
final ExecutionPlanNode setupPathPlan(IRequest expected, PlanMatchingContext context)
-
setupQueryPlan
final ExecutionPlanNode setupQueryPlan(IRequest expected, PlanMatchingContext context)
-
setupHeaderPlan
final ExecutionPlanNode setupHeaderPlan(IHttpPart expected, PlanMatchingContext context)
-
setupBodyPlan
final ExecutionPlanNode setupBodyPlan(IHttpPart expected, PlanMatchingContext context)
-
setupStatusPlan
final ExecutionPlanNode setupStatusPlan(IResponse expected, PlanMatchingContext context)
-
setupMessageBodyPlan
final ExecutionPlanNode setupMessageBodyPlan(MessageContents expected, PlanMatchingContext context)
-
setupMessageMetadataPlan
final ExecutionPlanNode setupMessageMetadataPlan(MessageContents expected, PlanMatchingContext context)
-
v2EngineEnabled
final static Boolean v2EngineEnabled()
-
-
-
-