Object PlainTextBuilder
-
- All Implemented Interfaces:
-
au.com.dius.pact.core.matchers.engine.bodies.PlanBodyBuilder
public class PlainTextBuilder implements PlanBodyBuilder
Plan builder for plain text. This just sets up an equality matcher
-
-
Field Summary
Fields Modifier and Type Field Description public final static PlainTextBuilderINSTANCE
-
Method Summary
Modifier and Type Method Description BooleansupportsType(ContentType contentType)If this builder supports the given content type ExecutionPlanNodebuildPlan(ByteArray content, PlanMatchingContext context)Build the plan for the expected body -
-
Method Detail
-
supportsType
Boolean supportsType(ContentType contentType)
If this builder supports the given content type
-
buildPlan
ExecutionPlanNode buildPlan(ByteArray content, PlanMatchingContext context)
Build the plan for the expected body
-
-
-
-