final class io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams
super_class: java.lang.Object
{
private final java.util.List<io.netty.handler.codec.http2.Http2Connection$Listener> listeners;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/netty/handler/codec/http2/Http2Connection$Listener;>;
private final java.util.Queue<io.netty.handler.codec.http2.DefaultHttp2Connection$Event> pendingEvents;
descriptor: Ljava/util/Queue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Queue<Lio/netty/handler/codec/http2/DefaultHttp2Connection$Event;>;
private final java.util.Set<io.netty.handler.codec.http2.Http2Stream> streams;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lio/netty/handler/codec/http2/Http2Stream;>;
private int pendingIterations;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final io.netty.handler.codec.http2.DefaultHttp2Connection this$0;
descriptor: Lio/netty/handler/codec/http2/DefaultHttp2Connection;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(java.util.List<io.netty.handler.codec.http2.Http2Connection$Listener>);
descriptor: (Lio/netty/handler/codec/http2/DefaultHttp2Connection;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayDeque
dup
iconst_4
invokespecial java.util.ArrayDeque.<init>:(I)V
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.pendingEvents:Ljava/util/Queue;
2: aload 0
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.streams:Ljava/util/Set;
3: aload 0
aload 2
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.listeners:Ljava/util/List;
4: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;
0 5 2 listeners Ljava/util/List<Lio/netty/handler/codec/http2/Http2Connection$Listener;>;
Signature: (Ljava/util/List<Lio/netty/handler/codec/http2/Http2Connection$Listener;>;)V
MethodParameters:
Name Flags
this$0 final
listeners
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.streams:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;
public void activate(io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream);
descriptor: (Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.allowModifications:()Z
ifeq 3
1: aload 0
aload 1
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.addToActiveStreams:(Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.pendingEvents:Ljava/util/Queue;
new io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams$1
dup
aload 0
aload 1
invokespecial io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams$1.<init>:(Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;)V
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;
0 5 1 stream Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
MethodParameters:
Name Flags
stream final
public void deactivate(io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream, java.util.Iterator<?>);
descriptor: (Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;Ljava/util/Iterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.allowModifications:()Z
ifne 1
aload 2
ifnull 3
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.removeFromActiveStreams:(Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;Ljava/util/Iterator;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.pendingEvents:Ljava/util/Queue;
new io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams$2
dup
aload 0
aload 1
aload 2
invokespecial io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams$2.<init>:(Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;Ljava/util/Iterator;)V
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;
0 5 1 stream Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
0 5 2 itr Ljava/util/Iterator<*>;
Signature: (Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;Ljava/util/Iterator<*>;)V
MethodParameters:
Name Flags
stream final
itr final
public io.netty.handler.codec.http2.Http2Stream forEachActiveStream(io.netty.handler.codec.http2.Http2StreamVisitor);
descriptor: (Lio/netty/handler/codec/http2/Http2StreamVisitor;)Lio/netty/handler/codec/http2/Http2Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.incrementPendingIterations:()V
1: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.streams:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams io.netty.handler.codec.http2.Http2StreamVisitor top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.netty.handler.codec.http2.Http2Stream
astore 2
start local 2 3: aload 1
aload 2
invokeinterface io.netty.handler.codec.http2.Http2StreamVisitor.visit:(Lio/netty/handler/codec/http2/Http2Stream;)Z
ifne 7
4: aload 2
astore 5
5: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.decrementPendingIterations:()V
6: aload 5
areturn
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.decrementPendingIterations:()V
9: aconst_null
areturn
10: StackMap locals: io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams io.netty.handler.codec.http2.Http2StreamVisitor
StackMap stack: java.lang.Throwable
astore 4
11: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.decrementPendingIterations:()V
12: aload 4
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;
0 13 1 visitor Lio/netty/handler/codec/http2/Http2StreamVisitor;
3 7 2 stream Lio/netty/handler/codec/http2/Http2Stream;
Exception table:
from to target type
1 5 10 any
7 8 10 any
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
visitor
void addToActiveStreams(io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream);
descriptor: (Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.streams:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifeq 10
1: aload 1
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream.createdBy:()Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint;
dup
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.numActiveStreams:I
iconst_1
iadd
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.numActiveStreams:I
2: iconst_0
istore 2
start local 2 3: goto 9
4: StackMap locals: int
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.listeners:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.netty.handler.codec.http2.Http2Connection$Listener
aload 1
invokeinterface io.netty.handler.codec.http2.Http2Connection$Listener.onStreamActive:(Lio/netty/handler/codec/http2/Http2Stream;)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 3
start local 3 7: getstatic io.netty.handler.codec.http2.DefaultHttp2Connection.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Caught Throwable from listener onStreamActive."
aload 3
invokeinterface io.netty.util.internal.logging.InternalLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.listeners:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 4
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;
0 11 1 stream Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
3 10 2 i I
7 8 3 cause Ljava/lang/Throwable;
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
MethodParameters:
Name Flags
stream
void removeFromActiveStreams(io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream, java.util.Iterator<?>);
descriptor: (Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;Ljava/util/Iterator;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.streams:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
ifeq 3
1: aload 1
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream.createdBy:()Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint;
dup
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.numActiveStreams:I
iconst_1
isub
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.numActiveStreams:I
2: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
aload 1
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection.notifyClosed:(Lio/netty/handler/codec/http2/Http2Stream;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
aload 1
aload 2
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection.removeStream:(Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;Ljava/util/Iterator;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;
0 5 1 stream Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
0 5 2 itr Ljava/util/Iterator<*>;
Signature: (Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;Ljava/util/Iterator<*>;)V
MethodParameters:
Name Flags
stream
itr
boolean allowModifications();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.pendingIterations:I
ifne 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/DefaultHttp2Connection$ActiveStreams;
void incrementPendingIterations();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.pendingIterations:I
iconst_1
iadd
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.pendingIterations:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;
void decrementPendingIterations();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
dup
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.pendingIterations:I
iconst_1
isub
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.pendingIterations:I
1: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.allowModifications:()Z
ifeq 10
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.pendingEvents:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast io.netty.handler.codec.http2.DefaultHttp2Connection$Event
astore 1
start local 1 3: aload 1
ifnonnull 5
4: goto 10
5: StackMap locals: io.netty.handler.codec.http2.DefaultHttp2Connection$Event
StackMap stack:
aload 1
invokeinterface io.netty.handler.codec.http2.DefaultHttp2Connection$Event.process:()V
6: goto 2
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
start local 2 8: getstatic io.netty.handler.codec.http2.DefaultHttp2Connection.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Caught Throwable while processing pending ActiveStreams$Event."
aload 2
invokeinterface io.netty.util.internal.logging.InternalLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 end local 1 9: goto 2
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$ActiveStreams;
3 9 1 event Lio/netty/handler/codec/http2/DefaultHttp2Connection$Event;
8 9 2 cause Ljava/lang/Throwable;
Exception table:
from to target type
5 6 7 Class java.lang.Throwable
}
SourceFile: "DefaultHttp2Connection.java"
NestHost: io.netty.handler.codec.http2.DefaultHttp2Connection
InnerClasses:
private final ActiveStreams = io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams of io.netty.handler.codec.http2.DefaultHttp2Connection
io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams$1
io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams$2
private final DefaultEndpoint = io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint of io.netty.handler.codec.http2.DefaultHttp2Connection
private DefaultStream = io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream of io.netty.handler.codec.http2.DefaultHttp2Connection
abstract Event = io.netty.handler.codec.http2.DefaultHttp2Connection$Event of io.netty.handler.codec.http2.DefaultHttp2Connection
public abstract Listener = io.netty.handler.codec.http2.Http2Connection$Listener of io.netty.handler.codec.http2.Http2Connection