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 .
|