final class io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator extends io.netty.channel.DefaultChannelPromise
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator
super_class: io.netty.channel.DefaultChannelPromise
{
private final io.netty.channel.ChannelPromise promise;
descriptor: Lio/netty/channel/ChannelPromise;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int expectedCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int doneCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.Throwable lastFailure;
descriptor: Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
private boolean doneAllocating;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/handler/codec/http2/Http2CodecUtil;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(io.netty.channel.ChannelPromise, io.netty.channel.Channel, io.netty.util.concurrent.EventExecutor);
descriptor: (Lio/netty/channel/ChannelPromise;Lio/netty/channel/Channel;Lio/netty/util/concurrent/EventExecutor;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokespecial io.netty.channel.DefaultChannelPromise.<init>:(Lio/netty/channel/Channel;Lio/netty/util/concurrent/EventExecutor;)V
1: getstatic io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.$assertionsDisabled:Z
ifne 3
aload 1
ifnull 2
aload 1
invokeinterface io.netty.channel.ChannelPromise.isDone:()Z
ifeq 3
StackMap locals: io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator io.netty.channel.ChannelPromise io.netty.channel.Channel io.netty.util.concurrent.EventExecutor
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.promise:Lio/netty/channel/ChannelPromise;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
0 5 1 promise Lio/netty/channel/ChannelPromise;
0 5 2 c Lio/netty/channel/Channel;
0 5 3 e Lio/netty/util/concurrent/EventExecutor;
MethodParameters:
Name Flags
promise
c
e
public io.netty.channel.ChannelPromise newPromise();
descriptor: ()Lio/netty/channel/ChannelPromise;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.$assertionsDisabled:Z
ifne 1
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneAllocating:Z
ifeq 1
new java.lang.AssertionError
dup
ldc "Done allocating. No more promises can be allocated."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
dup
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.expectedCount:I
iconst_1
iadd
putfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.expectedCount:I
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
public io.netty.channel.ChannelPromise doneAllocatingPromises();
descriptor: ()Lio/netty/channel/ChannelPromise;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneAllocating:Z
ifne 4
1: aload 0
iconst_1
putfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneAllocating:Z
2: aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.expectedCount:I
if_icmpeq 3
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.expectedCount:I
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.setPromise:()Lio/netty/channel/ChannelPromise;
areturn
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
public boolean tryFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.allowFailure:()Z
ifeq 6
1: aload 0
dup
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
iconst_1
iadd
putfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
2: aload 0
aload 1
putfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.lastFailure:Ljava/lang/Throwable;
3: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.allPromisesDone:()Z
ifeq 5
4: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.tryPromise:()Z
ireturn
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
0 7 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
cause
public io.netty.channel.ChannelPromise setFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.allowFailure:()Z
ifeq 5
1: aload 0
dup
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
iconst_1
iadd
putfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
2: aload 0
aload 1
putfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.lastFailure:Ljava/lang/Throwable;
3: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.allPromisesDone:()Z
ifeq 5
4: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.setPromise:()Lio/netty/channel/ChannelPromise;
areturn
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
0 6 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
cause
public io.netty.channel.ChannelPromise setSuccess(java.lang.Void);
descriptor: (Ljava/lang/Void;)Lio/netty/channel/ChannelPromise;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.awaitingPromises:()Z
ifeq 4
1: aload 0
dup
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
iconst_1
iadd
putfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
2: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.allPromisesDone:()Z
ifeq 4
3: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.setPromise:()Lio/netty/channel/ChannelPromise;
pop
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
0 5 1 result Ljava/lang/Void;
MethodParameters:
Name Flags
result
public boolean trySuccess(java.lang.Void);
descriptor: (Ljava/lang/Void;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.awaitingPromises:()Z
ifeq 5
1: aload 0
dup
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
iconst_1
iadd
putfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
2: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.allPromisesDone:()Z
ifeq 4
3: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.tryPromise:()Z
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
0 6 1 result Ljava/lang/Void;
MethodParameters:
Name Flags
result
private boolean allowFailure();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.awaitingPromises:()Z
ifne 1
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.expectedCount:I
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
private boolean awaitingPromises();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.expectedCount:I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
private boolean allPromisesDone();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneCount:I
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.expectedCount:I
if_icmpne 1
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.doneAllocating:Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
private io.netty.channel.ChannelPromise setPromise();
descriptor: ()Lio/netty/channel/ChannelPromise;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.lastFailure:Ljava/lang/Throwable;
ifnonnull 3
1: aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.promise:Lio/netty/channel/ChannelPromise;
invokeinterface io.netty.channel.ChannelPromise.setSuccess:()Lio/netty/channel/ChannelPromise;
pop
2: aload 0
aconst_null
invokespecial io.netty.channel.DefaultChannelPromise.setSuccess:(Ljava/lang/Void;)Lio/netty/channel/ChannelPromise;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.promise:Lio/netty/channel/ChannelPromise;
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.lastFailure:Ljava/lang/Throwable;
invokeinterface io.netty.channel.ChannelPromise.setFailure:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;
pop
4: aload 0
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.lastFailure:Ljava/lang/Throwable;
invokespecial io.netty.channel.DefaultChannelPromise.setFailure:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
private boolean tryPromise();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.lastFailure:Ljava/lang/Throwable;
ifnonnull 3
1: aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.promise:Lio/netty/channel/ChannelPromise;
invokeinterface io.netty.channel.ChannelPromise.trySuccess:()Z
pop
2: aload 0
aconst_null
invokespecial io.netty.channel.DefaultChannelPromise.trySuccess:(Ljava/lang/Object;)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.promise:Lio/netty/channel/ChannelPromise;
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.lastFailure:Ljava/lang/Throwable;
invokeinterface io.netty.channel.ChannelPromise.tryFailure:(Ljava/lang/Throwable;)Z
pop
4: aload 0
aload 0
getfield io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.lastFailure:Ljava/lang/Throwable;
invokespecial io.netty.channel.DefaultChannelPromise.tryFailure:(Ljava/lang/Throwable;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/Http2CodecUtil$SimpleChannelPromiseAggregator;
public io.netty.util.concurrent.Promise setFailure(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.setFailure:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;
areturn
LocalVariableTable:
Start End Slot Name Signature
public io.netty.util.concurrent.Promise setSuccess(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lio/netty/util/concurrent/Promise;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Void
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.setSuccess:(Ljava/lang/Void;)Lio/netty/channel/ChannelPromise;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean trySuccess(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Void
invokevirtual io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator.trySuccess:(Ljava/lang/Void;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Http2CodecUtil.java"
NestHost: io.netty.handler.codec.http2.Http2CodecUtil
InnerClasses:
final SimpleChannelPromiseAggregator = io.netty.handler.codec.http2.Http2CodecUtil$SimpleChannelPromiseAggregator of io.netty.handler.codec.http2.Http2CodecUtil