ExpectedResponse |
MockClient.defaultResponse() |
return this status for any request that doesn't match a expectation
|
static ExpectedResponse |
ExpectedResponse.of(int status) |
Create a independent expected response.
|
ExpectedResponse |
Expectation.thenReturn() |
expect a null response
|
ExpectedResponse |
Expectation.thenReturn(java.lang.Object pojo) |
expect a object response as defined by a pojo using the requests / configuration object mapper
|
ExpectedResponse |
Expectation.thenReturn(java.lang.String body) |
expect a string response
|
ExpectedResponse |
Expectation.thenReturn(java.util.function.Supplier<java.lang.String> supplier) |
A supplier for the expected body which will get invoked at the time of build the response.
|
ExpectedResponse |
Expectation.thenReturn(JSONElement jsonObject) |
expect a json response
|
ExpectedResponse |
ExpectedResponse.thenReturn(java.lang.Object pojo) |
expect a object response as defined by a pojo using the requests / configuration object mapper
|
ExpectedResponse |
ExpectedResponse.thenReturn(java.lang.String body) |
expect a string response
|
ExpectedResponse |
ExpectedResponse.thenReturn(java.util.function.Supplier<java.lang.String> supplier) |
A supplier for the expected body which will get invoked at the time of build the response.
|
ExpectedResponse |
ExpectedResponse.thenReturn(JSONElement jsonObject) |
expect a json response
|
ExpectedResponse |
ExpectedResponseRecord.thenReturn(java.lang.Object pojo) |
|
ExpectedResponse |
ExpectedResponseRecord.thenReturn(java.lang.String body) |
|
ExpectedResponse |
ExpectedResponseRecord.thenReturn(java.util.function.Supplier<java.lang.String> supplier) |
|
ExpectedResponse |
ExpectedResponseRecord.thenReturn(JSONElement jsonObject) |
|
private ExpectedResponse |
ExpectedResponseRecord.thenReturn(MockResponse res) |
|
ExpectedResponse |
Invocation.thenReturn() |
|
ExpectedResponse |
Invocation.thenReturn(java.lang.Object pojo) |
|
ExpectedResponse |
Invocation.thenReturn(java.lang.String body) |
|
ExpectedResponse |
Invocation.thenReturn(java.util.function.Supplier<java.lang.String> supplier) |
|
ExpectedResponse |
Invocation.thenReturn(JSONElement jsonObject) |
|
ExpectedResponse |
ExpectedResponse.withHeader(java.lang.String key,
java.lang.String value) |
adds a header to the expected response
|
ExpectedResponse |
ExpectedResponseRecord.withHeader(java.lang.String key,
java.lang.String value) |
|
ExpectedResponse |
ExpectedResponse.withHeaders(Headers headers) |
adds a collection of headers to the expected response
|
ExpectedResponse |
ExpectedResponseRecord.withHeaders(Headers value) |
|
ExpectedResponse |
ExpectedResponse.withStatus(int httpStatus) |
sets the status of the expected response
|
ExpectedResponse |
ExpectedResponse.withStatus(int httpStatus,
java.lang.String statusMessage) |
sets the status of the expected response
|
ExpectedResponse |
ExpectedResponseRecord.withStatus(int httpStatus) |
|
ExpectedResponse |
ExpectedResponseRecord.withStatus(int httpStatus,
java.lang.String statusMessage) |
|