Package | Description |
---|---|
io.vertx.rxjava.ext.web.client | |
io.vertx.rxjava.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 TypeArg<BodyCodec> |
BodyCodec.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static BodyCodec<Buffer> |
BodyCodec.buffer() |
static <T> BodyCodec<T> |
BodyCodec.create(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<io.vertx.core.json.JsonArray> |
BodyCodec.jsonArray() |
static BodyCodec<io.vertx.core.json.JsonObject> |
BodyCodec.jsonObject() |
static <T> BodyCodec<T> |
BodyCodec.newInstance(io.vertx.ext.web.codec.BodyCodec arg) |
static <T> BodyCodec<T> |
BodyCodec.newInstance(io.vertx.ext.web.codec.BodyCodec arg,
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 © 2019 Eclipse. All rights reserved.