A codec for encoding and decoding HTTP bodies.
| package |
Default |
|---|
__construct()
buffer() : \io\vertx\jphp\ext\web\codec\BodyCodec<Buffer>
\io\vertx\jphp\ext\web\codec\BodyCodecthe {@link Buffer} codec
create( $arg0) : \io\vertx\jphp\ext\web\codec\BodyCodec<T>
callable
\io\vertx\jphp\ext\web\codec\BodyCodecthe created codec
json( $arg0) : \io\vertx\jphp\ext\web\codec\BodyCodec<U>
string
\io\vertx\jphp\ext\web\codec\BodyCodeca codec for mapping POJO to Json
jsonArray() : \io\vertx\jphp\ext\web\codec\BodyCodec<JsonArray>
\io\vertx\jphp\ext\web\codec\BodyCodecthe {@link JsonArray} codec
jsonObject() : \io\vertx\jphp\ext\web\codec\BodyCodec<JsonObject>
\io\vertx\jphp\ext\web\codec\BodyCodecthe {@link JsonObject} codec
none() : \io\vertx\jphp\ext\web\codec\BodyCodec<Void>
\io\vertx\jphp\ext\web\codec\BodyCodeca codec that simply discards the response
pipe( $arg0) : \io\vertx\jphp\ext\web\codec\BodyCodec<Void>
WriteStream
\io\vertx\jphp\ext\web\codec\BodyCodecthe body codec for a write stream
string( $arg0 = null) : \io\vertx\jphp\ext\web\codec\BodyCodec<String>
A codec for strings using a specific encoding.
param $encoding [string] the encoding string($encoding)
string
\io\vertx\jphp\ext\web\codec\BodyCodecthe UTF-8 string codec