public interface io.vertx.ext.web.codec.BodyCodec<T>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: io.vertx.ext.web.codec.BodyCodec
super_class: java.lang.Object
{
public static io.vertx.ext.web.codec.BodyCodec<java.lang.String> string();
descriptor: ()Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.vertx.ext.web.codec.impl.BodyCodecImpl.STRING:Lio/vertx/ext/web/codec/BodyCodec;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lio/vertx/ext/web/codec/BodyCodec<Ljava/lang/String;>;
public static io.vertx.ext.web.codec.BodyCodec<java.lang.String> string(java.lang.String);
descriptor: (Ljava/lang/String;)Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.vertx.ext.web.codec.impl.BodyCodecImpl.string:(Ljava/lang/String;)Lio/vertx/ext/web/codec/impl/BodyCodecImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 encoding Ljava/lang/String;
Signature: (Ljava/lang/String;)Lio/vertx/ext/web/codec/BodyCodec<Ljava/lang/String;>;
MethodParameters:
Name Flags
encoding
public static io.vertx.ext.web.codec.BodyCodec<io.vertx.core.buffer.Buffer> buffer();
descriptor: ()Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.vertx.ext.web.codec.impl.BodyCodecImpl.BUFFER:Lio/vertx/ext/web/codec/BodyCodec;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lio/vertx/ext/web/codec/BodyCodec<Lio/vertx/core/buffer/Buffer;>;
public static io.vertx.ext.web.codec.BodyCodec<io.vertx.core.json.JsonObject> jsonObject();
descriptor: ()Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.vertx.ext.web.codec.impl.BodyCodecImpl.JSON_OBJECT:Lio/vertx/ext/web/codec/BodyCodec;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lio/vertx/ext/web/codec/BodyCodec<Lio/vertx/core/json/JsonObject;>;
public static io.vertx.ext.web.codec.BodyCodec<io.vertx.core.json.JsonArray> jsonArray();
descriptor: ()Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.vertx.ext.web.codec.impl.BodyCodecImpl.JSON_ARRAY:Lio/vertx/ext/web/codec/BodyCodec;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lio/vertx/ext/web/codec/BodyCodec<Lio/vertx/core/json/JsonArray;>;
public static <U> io.vertx.ext.web.codec.BodyCodec<U> json(java.lang.Class<U>);
descriptor: (Ljava/lang/Class;)Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.vertx.ext.web.codec.impl.BodyCodecImpl.json:(Ljava/lang/Class;)Lio/vertx/ext/web/codec/BodyCodec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/Class<TU;>;
Signature: <U:Ljava/lang/Object;>(Ljava/lang/Class<TU;>;)Lio/vertx/ext/web/codec/BodyCodec<TU;>;
MethodParameters:
Name Flags
type
public static io.vertx.ext.web.codec.BodyCodec<java.lang.Void> none();
descriptor: ()Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic io.vertx.ext.web.codec.impl.BodyCodecImpl.NONE:Lio/vertx/ext/web/codec/BodyCodec;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lio/vertx/ext/web/codec/BodyCodec<Ljava/lang/Void;>;
public static <T> io.vertx.ext.web.codec.BodyCodec<T> create(java.util.function.Function<io.vertx.core.buffer.Buffer, T>);
descriptor: (Ljava/util/function/Function;)Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.vertx.ext.web.codec.impl.BodyCodecImpl
dup
aload 0
invokespecial io.vertx.ext.web.codec.impl.BodyCodecImpl.<init>:(Ljava/util/function/Function;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 decode Ljava/util/function/Function<Lio/vertx/core/buffer/Buffer;TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/function/Function<Lio/vertx/core/buffer/Buffer;TT;>;)Lio/vertx/ext/web/codec/BodyCodec<TT;>;
MethodParameters:
Name Flags
decode
public static io.vertx.ext.web.codec.BodyCodec<java.lang.Void> pipe(io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>);
descriptor: (Lio/vertx/core/streams/WriteStream;)Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic io.vertx.ext.web.codec.BodyCodec.pipe:(Lio/vertx/core/streams/WriteStream;Z)Lio/vertx/ext/web/codec/BodyCodec;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stream Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
Signature: (Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;)Lio/vertx/ext/web/codec/BodyCodec<Ljava/lang/Void;>;
MethodParameters:
Name Flags
stream
public static io.vertx.ext.web.codec.BodyCodec<java.lang.Void> pipe(io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>, boolean);
descriptor: (Lio/vertx/core/streams/WriteStream;Z)Lio/vertx/ext/web/codec/BodyCodec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new io.vertx.ext.web.codec.impl.StreamingBodyCodec
dup
aload 0
iload 1
invokespecial io.vertx.ext.web.codec.impl.StreamingBodyCodec.<init>:(Lio/vertx/core/streams/WriteStream;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 stream Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
0 1 1 close Z
Signature: (Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;Z)Lio/vertx/ext/web/codec/BodyCodec<Ljava/lang/Void;>;
MethodParameters:
Name Flags
stream
close
public abstract void create(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.ext.web.codec.spi.BodyStream<T>>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/web/codec/spi/BodyStream<TT;>;>;>;)V
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.GenIgnore()
MethodParameters:
Name Flags
handler
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "BodyCodec.java"
RuntimeVisibleAnnotations:
io.vertx.codegen.annotations.VertxGen()