public final class HttpResponseAssertion extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpResponseAssertion.Builder
HTTP Response Assertion Builder.
|
Modifier and Type | Method and Description |
---|---|
static HttpResponseAssertion.Builder |
builder() |
BodyAssertion |
getBody() |
Map<String,String> |
getHeaders() |
HttpStatus |
getHttpStatus() |
Optional<Consumer<HttpResponse<?>>> |
getResponseConsumer() |
@NonNull public Optional<Consumer<HttpResponse<?>>> getResponseConsumer()
public HttpStatus getHttpStatus()
public BodyAssertion getBody()
public static HttpResponseAssertion.Builder builder()
HttpResponseAssertion.Builder
.