Package | Description |
---|---|
io.vertx.rxjava3.ext.web.client | |
io.vertx.rxjava3.ext.web.client.predicate |
Modifier and Type | Method and Description |
---|---|
HttpRequest<T> |
HttpRequest.expect(java.util.function.Function<HttpResponse<Void>,ResponsePredicateResult> predicate)
Add an expectation that the response is valid according to the provided
predicate . |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<ResponsePredicateResult> |
ResponsePredicateResult.__TYPE_ARG |
Modifier and Type | Method and 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() |
Modifier and Type | Method and Description |
---|---|
Throwable |
ErrorConverter.apply(ResponsePredicateResult result) |
Modifier and Type | Method and Description |
---|---|
static ResponsePredicate |
ResponsePredicate.create(java.util.function.Function<HttpResponse<Void>,ResponsePredicateResult> test)
Creates a new
ResponsePredicate . |
static ResponsePredicate |
ResponsePredicate.create(java.util.function.Function<HttpResponse<Void>,ResponsePredicateResult> test,
ErrorConverter errorConverter)
Creates a new
ResponsePredicate , using a custom errorConverter . |
static ErrorConverter |
ErrorConverter.create(java.util.function.Function<ResponsePredicateResult,Throwable> converter)
Creates a full
ErrorConverter , that will passed a predicate result with the response body. |
static ErrorConverter |
ErrorConverter.createFullBody(java.util.function.Function<ResponsePredicateResult,Throwable> converter)
Creates a full
ErrorConverter , that will passed a predicate result with the response body. |
Copyright © 2021 Eclipse. All rights reserved.