Package | Description |
---|---|
io.vertx.rxjava3.ext.web.client | |
io.vertx.rxjava3.ext.web.client.predicate |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<HttpResponse> |
HttpResponse.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static <T> HttpResponse<T> |
HttpResponse.newInstance(HttpResponse arg) |
static <T> HttpResponse<T> |
HttpResponse.newInstance(HttpResponse arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
Modifier and Type | Method and Description |
---|---|
Single<HttpResponse<T>> |
HttpRequest.rxSend()
Send a request, the
handler will receive the response as an HttpResponse . |
Single<HttpResponse<T>> |
HttpRequest.rxSendBuffer(Buffer body)
Like
HttpRequest.send() but with an HTTP request body buffer. |
Single<HttpResponse<T>> |
HttpRequest.rxSendForm(MultiMap body)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
Single<HttpResponse<T>> |
HttpRequest.rxSendForm(MultiMap body,
String charset)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
Single<HttpResponse<T>> |
HttpRequest.rxSendJson(Object body)
Like
HttpRequest.send() but with an HTTP request body object encoded as json and the content type
set to application/json . |
Single<HttpResponse<T>> |
HttpRequest.rxSendJsonObject(JsonObject body)
Like
HttpRequest.send() but with an HTTP request body object encoded as json and the content type
set to application/json . |
Single<HttpResponse<T>> |
HttpRequest.rxSendMultipartForm(MultipartForm body)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to multipart/form-data . |
Single<HttpResponse<T>> |
HttpRequest.rxSendStream(Flowable<Buffer> body)
Like
HttpRequest.send() but with an HTTP request body stream. |
Single<HttpResponse<T>> |
HttpRequest.send()
Send a request, the
handler will receive the response as an HttpResponse . |
Single<HttpResponse<T>> |
HttpRequest.sendBuffer(Buffer body)
Like
HttpRequest.send() but with an HTTP request body buffer. |
Single<HttpResponse<T>> |
HttpRequest.sendForm(MultiMap body)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
Single<HttpResponse<T>> |
HttpRequest.sendForm(MultiMap body,
String charset)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to application/x-www-form-urlencoded . |
Single<HttpResponse<T>> |
HttpRequest.sendJson(Object body)
Like
HttpRequest.send() but with an HTTP request body object encoded as json and the content type
set to application/json . |
Single<HttpResponse<T>> |
HttpRequest.sendJsonObject(JsonObject body)
Like
HttpRequest.send() but with an HTTP request body object encoded as json and the content type
set to application/json . |
Single<HttpResponse<T>> |
HttpRequest.sendMultipartForm(MultipartForm body)
Like
HttpRequest.send() but with an HTTP request body multimap encoded as form and the content type
set to multipart/form-data . |
Single<HttpResponse<T>> |
HttpRequest.sendStream(Flowable<Buffer> body)
Like
HttpRequest.send() but with an HTTP request body stream. |
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 | Method and Description |
---|---|
HttpResponse<Buffer> |
ResponsePredicateResult.response()
The which has been tested.
|
Modifier and Type | Method and Description |
---|---|
ResponsePredicateResult |
ResponsePredicate.apply(HttpResponse<Void> in) |
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 . |
Copyright © 2023 Eclipse. All rights reserved.