open class BodyCodec<T : Any>
A codec for encoding and decoding HTTP bodies. NOTE: This class has been automatically generated from the io.vertx.ext.web.codec.BodyCodec non RX-ified interface using Vert.x codegen.
BodyCodec(delegate: BodyCodec<Any>)BodyCodec(delegate: BodyCodec<Any>, typeArg_0: TypeArg<T>) |
static val __TYPE_ARG: TypeArg<BodyCodec<Any>> |
|
val __typeArg_0: TypeArg<T> |
open static fun buffer(): BodyCodec<Buffer> |
|
open static fun <T : Any> create(decode: Function<Buffer, T>): BodyCodec<T>
Create a codec that buffers the entire body and then apply the |
|
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): BodyCodec<Any> |
|
open fun hashCode(): Int |
|
open static fun <U : Any> json(type: Class<U>): BodyCodec<U>
Create and return a codec for Java objects encoded using Jackson mapper. |
|
open static fun jsonArray(): BodyCodec<JsonArray> |
|
open static fun jsonObject(): BodyCodec<JsonObject> |
|
open static fun <T : Any> newInstance(arg: BodyCodec<Any>): BodyCodec<T>open static fun <T : Any> newInstance(arg: BodyCodec<Any>, __typeArg_T: TypeArg<T>): BodyCodec<T> |
|
open static fun none(): BodyCodec<Void> |
|
open static fun pipe(stream: WriteStream<Buffer>): BodyCodec<Void>
A body codec that pipes the body to a write stream. |
|
open static fun string(): BodyCodec<String>open static fun string(encoding: String): BodyCodec<String>
A codec for strings using a specific |
|
open fun toString(): String |