public class ResponsePredicateResult extends Object
ResponsePredicate
applied to an .
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<ResponsePredicateResult> |
__TYPE_ARG |
Constructor and Description |
---|
ResponsePredicateResult(Object delegate) |
ResponsePredicateResult(ResponsePredicateResult delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ResponsePredicateResult |
failure(String message)
Creates a failed result.
|
ResponsePredicateResult |
getDelegate() |
int |
hashCode() |
String |
message()
The failure message.
|
static ResponsePredicateResult |
newInstance(ResponsePredicateResult arg) |
HttpResponse<Buffer> |
response()
The which has been tested.
|
boolean |
succeeded()
Whether the result is a success or failure.
|
static ResponsePredicateResult |
success() |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<ResponsePredicateResult> __TYPE_ARG
public ResponsePredicateResult(ResponsePredicateResult delegate)
public ResponsePredicateResult(Object delegate)
public ResponsePredicateResult getDelegate()
public static ResponsePredicateResult success()
public static ResponsePredicateResult failure(String message)
message
- the failure descriptionpublic boolean succeeded()
true
if the ResponsePredicate
was applied successfully, false otherwisepublic String message()
null
.public HttpResponse<Buffer> response()
null
after the result has been created, or the tested response for converters created with ErrorConverter.createFullBody(java.util.function.Function<io.vertx.reactivex.ext.web.client.predicate.ResponsePredicateResult, java.lang.Throwable>)
public static ResponsePredicateResult newInstance(ResponsePredicateResult arg)
Copyright © 2021 Eclipse. All rights reserved.