Uses of Class
io.vertx.rxjava.ext.web.client.predicate.ResponsePredicateResult
-
Packages that use ResponsePredicateResult Package Description io.vertx.rxjava.ext.web.client io.vertx.rxjava.ext.web.client.predicate -
-
Uses of ResponsePredicateResult in io.vertx.rxjava.ext.web.client
Method parameters in io.vertx.rxjava.ext.web.client with type arguments of type ResponsePredicateResult Modifier and Type Method Description HttpRequest<T>
HttpRequest. expect(Function<HttpResponse<Void>,ResponsePredicateResult> predicate)
Add an expectation that the response is valid according to the providedpredicate
. -
Uses of ResponsePredicateResult in io.vertx.rxjava.ext.web.client.predicate
Fields in io.vertx.rxjava.ext.web.client.predicate with type parameters of type ResponsePredicateResult Modifier and Type Field Description static TypeArg<ResponsePredicateResult>
ResponsePredicateResult. __TYPE_ARG
Methods in io.vertx.rxjava.ext.web.client.predicate that return ResponsePredicateResult Modifier and Type Method Description ResponsePredicateResult
ResponsePredicate. apply(HttpResponse<Void> in)
static ResponsePredicateResult
ResponsePredicateResult. failure(String message)
Creates a failed result.static ResponsePredicateResult
ResponsePredicateResult. newInstance(ResponsePredicateResult arg)
static ResponsePredicateResult
ResponsePredicateResult. success()
Methods in io.vertx.rxjava.ext.web.client.predicate with parameters of type ResponsePredicateResult Modifier and Type Method Description Throwable
ErrorConverter. apply(ResponsePredicateResult result)
Method parameters in io.vertx.rxjava.ext.web.client.predicate with type arguments of type ResponsePredicateResult Modifier and Type Method Description static ErrorConverter
ErrorConverter. create(Function<ResponsePredicateResult,Throwable> converter)
Creates a fullErrorConverter
, that will passed a predicate result with the response body.static ResponsePredicate
ResponsePredicate. create(Function<HttpResponse<Void>,ResponsePredicateResult> test)
Creates a newResponsePredicate
.static ResponsePredicate
ResponsePredicate. create(Function<HttpResponse<Void>,ResponsePredicateResult> test, ErrorConverter errorConverter)
Creates a newResponsePredicate
, using a customerrorConverter
.static ErrorConverter
ErrorConverter. createFullBody(Function<ResponsePredicateResult,Throwable> converter)
Creates a fullErrorConverter
, that will passed a predicate result with the response body.
-