HttpResponseExpectation
@Deprecated public interface ResponsePredicateResult
ResponsePredicate
applied to an HttpResponse
.Modifier and Type | Method and Description |
---|---|
static ResponsePredicateResult |
failure(String message)
Deprecated.
Creates a failed result.
|
String |
message()
Deprecated.
The failure message.
|
HttpResponse<Buffer> |
response()
Deprecated.
The
HttpResponse which has been tested. |
boolean |
succeeded()
Deprecated.
Whether the result is a success or failure.
|
static ResponsePredicateResult |
success()
Deprecated.
|
static ResponsePredicateResult success()
static ResponsePredicateResult failure(String message)
message
- the failure descriptionboolean succeeded()
true
if the ResponsePredicate
was applied successfully, false otherwiseString message()
null
.HttpResponse<Buffer> response()
HttpResponse
which has been tested.null
after the result has been created, or the tested response for converters created
with ErrorConverter.createFullBody(Function)
Copyright © 2024 Eclipse. All rights reserved.