Package | Description |
---|---|
io.vertx.rxjava3.ext.web.client | |
io.vertx.rxjava3.ext.web.codec |
Modifier and Type | Method and Description |
---|---|
<U> HttpRequest<U> |
HttpRequest.as(BodyCodec<U> responseCodec)
Configure the request to decode the response with the
responseCodec . |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<BodyCodec> |
BodyCodec.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static BodyCodec<Buffer> |
BodyCodec.buffer() |
static <T> BodyCodec<T> |
BodyCodec.create(java.util.function.Function<Buffer,T> decode)
Create a codec that buffers the entire body and then apply the
decode function and returns the result. |
static <U> BodyCodec<U> |
BodyCodec.json(Class<U> type)
Create and return a codec for Java objects encoded using Jackson mapper.
|
static BodyCodec<JsonArray> |
BodyCodec.jsonArray() |
static BodyCodec<JsonObject> |
BodyCodec.jsonObject() |
static BodyCodec<Void> |
BodyCodec.jsonStream(JsonParser parser)
A body codec that parse the response as a JSON stream.
|
static <T> BodyCodec<T> |
BodyCodec.newInstance(BodyCodec arg) |
static <T> BodyCodec<T> |
BodyCodec.newInstance(BodyCodec arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
static BodyCodec<Void> |
BodyCodec.none() |
static BodyCodec<Void> |
BodyCodec.pipe(WriteStream<Buffer> stream)
A body codec that pipes the body to a write stream.
|
static BodyCodec<Void> |
BodyCodec.pipe(WriteStream<Buffer> stream,
boolean close)
A body codec that pipes the body to a write stream.
|
static BodyCodec<String> |
BodyCodec.string() |
static BodyCodec<String> |
BodyCodec.string(String encoding)
A codec for strings using a specific
encoding . |
Copyright © 2021 Eclipse. All rights reserved.