class io.vertx.ext.web.codec.impl.BodyCodecImpl$1 implements io.vertx.ext.web.codec.spi.BodyStream<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.ext.web.codec.impl.BodyCodecImpl$1
super_class: java.lang.Object
{
io.vertx.core.buffer.Buffer buffer;
descriptor: Lio/vertx/core/buffer/Buffer;
flags: (0x0000)
io.vertx.core.Promise<T> state;
descriptor: Lio/vertx/core/Promise;
flags: (0x0000)
Signature: Lio/vertx/core/Promise<TT;>;
final io.vertx.ext.web.codec.impl.BodyCodecImpl this$0;
descriptor: Lio/vertx/ext/web/codec/impl/BodyCodecImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(io.vertx.ext.web.codec.impl.BodyCodecImpl);
descriptor: (Lio/vertx/ext/web/codec/impl/BodyCodecImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.this$0:Lio/vertx/ext/web/codec/impl/BodyCodecImpl;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
putfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.buffer:Lio/vertx/core/buffer/Buffer;
2: aload 0
invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
putfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.state:Lio/vertx/core/Promise;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
MethodParameters:
Name Flags
this$0 final
public void handle(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.state:Lio/vertx/core/Promise;
aload 1
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
0 2 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
cause
public io.vertx.core.Future<T> result();
descriptor: ()Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.state:Lio/vertx/core/Promise;
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
Signature: ()Lio/vertx/core/Future<TT;>;
public io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
0 1 1 handler Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
MethodParameters:
Name Flags
handler
public void write(io.vertx.core.buffer.Buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.buffer:Lio/vertx/core/buffer/Buffer;
aload 1
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
1: aload 2
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
0 3 1 data Lio/vertx/core/buffer/Buffer;
0 3 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
data
handler
public io.vertx.core.Future<java.lang.Void> write(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.buffer:Lio/vertx/core/buffer/Buffer;
aload 1
invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
pop
1: invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
0 2 1 data Lio/vertx/core/buffer/Buffer;
Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
MethodParameters:
Name Flags
data
public void end(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.state:Lio/vertx/core/Promise;
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Future.isComplete:()Z
ifne 13
1: aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.buffer:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.buffer.Buffer.length:()I
ifle 9
2: aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.this$0:Lio/vertx/ext/web/codec/impl/BodyCodecImpl;
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl.decoder:Ljava/util/function/Function;
aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.buffer:Lio/vertx/core/buffer/Buffer;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 3: goto 10
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 3
start local 3 5: aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.state:Lio/vertx/core/Promise;
aload 3
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
6: aload 1
ifnull 8
7: aload 1
aload 3
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
8: StackMap locals: io.vertx.ext.web.codec.impl.BodyCodecImpl$1 io.vertx.core.Handler top java.lang.Throwable
StackMap stack:
return
end local 3 9: StackMap locals: io.vertx.ext.web.codec.impl.BodyCodecImpl$1 io.vertx.core.Handler
StackMap stack:
aconst_null
astore 2
start local 2 10: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield io.vertx.ext.web.codec.impl.BodyCodecImpl$1.state:Lio/vertx/core/Promise;
aload 2
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
11: aload 1
ifnull 13
12: aload 1
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
0 14 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
3 4 2 result TT;
10 13 2 result TT;
5 9 3 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
handler
public io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> setWriteQueueMaxSize(int);
descriptor: (I)Lio/vertx/core/streams/WriteStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
0 1 1 maxSize I
Signature: (I)Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
MethodParameters:
Name Flags
maxSize
public boolean writeQueueFull();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
public io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> drainHandler(io.vertx.core.Handler<java.lang.Void>);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/web/codec/impl/BodyCodecImpl$1;
0 1 1 handler Lio/vertx/core/Handler<Ljava/lang/Void;>;
Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/core/streams/WriteStream<Lio/vertx/core/buffer/Buffer;>;
MethodParameters:
Name Flags
handler
public io.vertx.core.Future write(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/vertx/core/Future;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.buffer.Buffer
invokevirtual io.vertx.ext.web.codec.impl.BodyCodecImpl$1.write:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void write(java.lang.Object, io.vertx.core.Handler);
descriptor: (Ljava/lang/Object;Lio/vertx/core/Handler;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast io.vertx.core.buffer.Buffer
aload 2
invokevirtual io.vertx.ext.web.codec.impl.BodyCodecImpl$1.write:(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Handler;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void handle(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Throwable
invokevirtual io.vertx.ext.web.codec.impl.BodyCodecImpl$1.handle:(Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.ext.web.codec.impl.BodyCodecImpl$1.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/WriteStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/vertx/ext/web/codec/spi/BodyStream<TT;>;
SourceFile: "BodyCodecImpl.java"
EnclosingMethod: io.vertx.ext.web.codec.impl.BodyCodecImpl.create:(Lio/vertx/core/Handler;)V
NestHost: io.vertx.ext.web.codec.impl.BodyCodecImpl
InnerClasses:
io.vertx.ext.web.codec.impl.BodyCodecImpl$1