Class ResponsePredicateResult
- java.lang.Object
-
- io.vertx.reactivex.ext.web.client.predicate.ResponsePredicateResult
-
public class ResponsePredicateResult extends Object
Represents the outcome of aResponsePredicateapplied to an . NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ResponsePredicateResult>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description ResponsePredicateResult(io.vertx.ext.web.client.predicate.ResponsePredicateResult delegate)ResponsePredicateResult(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)static ResponsePredicateResultfailure(String message)Deprecated.io.vertx.ext.web.client.predicate.ResponsePredicateResultgetDelegate()inthashCode()Stringmessage()Deprecated.static ResponsePredicateResultnewInstance(io.vertx.ext.web.client.predicate.ResponsePredicateResult arg)HttpResponse<Buffer>response()Deprecated.booleansucceeded()Deprecated.static ResponsePredicateResultsuccess()Deprecated.StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ResponsePredicateResult> __TYPE_ARG
-
-
Constructor Detail
-
ResponsePredicateResult
public ResponsePredicateResult(io.vertx.ext.web.client.predicate.ResponsePredicateResult delegate)
-
ResponsePredicateResult
public ResponsePredicateResult(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.client.predicate.ResponsePredicateResult getDelegate()
-
success
@Deprecated public static ResponsePredicateResult success()
Deprecated.- Returns:
- a successful result
-
failure
@Deprecated public static ResponsePredicateResult failure(String message)
Deprecated.Creates a failed result.- Parameters:
message- the failure description- Returns:
-
succeeded
@Deprecated public boolean succeeded()
Deprecated.Whether the result is a success or failure.- Returns:
trueif theResponsePredicatewas applied successfully, false otherwise
-
message
@Deprecated public String message()
Deprecated.The failure message. May benull.- Returns:
-
response
@Deprecated public HttpResponse<Buffer> response()
Deprecated.The which has been tested.- Returns:
nullafter the result has been created, or the tested response for converters created withErrorConverter.createFullBody(java.util.function.Function<io.vertx.reactivex.ext.web.client.predicate.ResponsePredicateResult, java.lang.Throwable>)
-
newInstance
public static ResponsePredicateResult newInstance(io.vertx.ext.web.client.predicate.ResponsePredicateResult arg)
-
-