public class ConsumerPactBuilder.PactDslResponse
extends java.lang.Object
| Constructor and Description |
|---|
ConsumerPactBuilder.PactDslResponse(ConsumerPactBuilder.PactDslRequestWithPath existing) |
| Modifier and Type | Method and Description |
|---|---|
ConsumerPactBuilder.PactDslResponse |
body(org.json.JSONObject body) |
ConsumerPactBuilder.PactDslResponse |
body(PactDslJsonBody body) |
ConsumerPactBuilder.PactDslResponse |
body(java.lang.String body) |
ConsumerPactBuilder.PactDslResponse |
headers(java.util.Map<java.lang.String,java.lang.String> headers) |
ConsumerPactBuilder.PactDslResponse |
status(int status) |
au.com.dius.pact.model.PactFragment |
toFragment() |
ConsumerPactBuilder.PactDslRequestWithPath |
uponReceiving(java.lang.String description) |
public ConsumerPactBuilder.PactDslResponse(ConsumerPactBuilder.PactDslRequestWithPath existing)
public ConsumerPactBuilder.PactDslResponse status(int status)
public ConsumerPactBuilder.PactDslResponse headers(java.util.Map<java.lang.String,java.lang.String> headers)
public ConsumerPactBuilder.PactDslResponse body(java.lang.String body)
public ConsumerPactBuilder.PactDslResponse body(org.json.JSONObject body)
public ConsumerPactBuilder.PactDslResponse body(PactDslJsonBody body)
public au.com.dius.pact.model.PactFragment toFragment()
public ConsumerPactBuilder.PactDslRequestWithPath uponReceiving(java.lang.String description)