Package | Description |
---|---|
io.vertx.ext.web.client | |
io.vertx.ext.web.client.predicate | |
io.vertx.reactivex.ext.web.client.predicate | |
io.vertx.rxjava.ext.web.client.predicate |
Modifier and Type | Method and Description |
---|---|
default 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 | Method and Description |
---|---|
static ResponsePredicateResult |
ResponsePredicateResult.failure(String message)
Creates a failed result.
|
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. |
Modifier and Type | Method and Description |
---|---|
ResponsePredicateResult |
ResponsePredicateResult.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static ResponsePredicateResult |
ResponsePredicateResult.newInstance(ResponsePredicateResult arg) |
Constructor and Description |
---|
ResponsePredicateResult(ResponsePredicateResult delegate) |
Modifier and Type | Method and Description |
---|---|
ResponsePredicateResult |
ResponsePredicateResult.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static ResponsePredicateResult |
ResponsePredicateResult.newInstance(ResponsePredicateResult arg) |
Constructor and Description |
---|
ResponsePredicateResult(ResponsePredicateResult delegate) |
Copyright © 2021 Eclipse. All rights reserved.