static <H extends HttpResponseHead> SingleTransformer<H,H> |
HttpResponseExpectation.contentType(String mimeType) |
Creates an expectation validating the response has a content-type header matching the mimeType .
|
static <H extends HttpResponseHead> SingleTransformer<H,H> |
HttpResponseExpectation.contentType(String... mimeTypes) |
Creates an expectation validating the response has a content-type header matching one of the mimeTypes .
|
static <H extends HttpResponseHead> SingleTransformer<H,H> |
HttpResponseExpectation.contentType(List<String> mimeTypes) |
Creates an expectation validating the response has a content-type header matching one of the mimeTypes .
|
static <H extends HttpResponseHead> SingleTransformer<H,H> |
HttpResponseExpectation.status(int statusCode) |
Creates an expectation asserting that the status response code is equal to statusCode .
|
static <H extends HttpResponseHead> SingleTransformer<H,H> |
HttpResponseExpectation.status(int min,
int max) |
Creates an expectation asserting that the status response code is between to min (inclusive) and max (exclusive).
|