class io.undertow.protocols.http2.Http2FramePriority implements io.undertow.server.protocol.framed.FramePriority<io.undertow.protocols.http2.Http2Channel, io.undertow.protocols.http2.AbstractHttp2StreamSourceChannel, io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.undertow.protocols.http2.Http2FramePriority
super_class: java.lang.Object
{
private int nextId;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/undertow/protocols/http2/Http2FramePriority;
0 3 1 nextId I
MethodParameters:
Name Flags
nextId
public boolean insertFrame(io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel, java.util.List<io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel>);
descriptor: (Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;Ljava/util/List;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
invokevirtual io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel.getChannel:()Lio/undertow/server/protocol/framed/AbstractFramedChannel;
checkcast io.undertow.protocols.http2.Http2Channel
invokevirtual io.undertow.protocols.http2.Http2Channel.isClient:()Z
ifeq 2
aload 1
instanceof io.undertow.protocols.http2.Http2HeadersStreamSinkChannel
ifne 3
2: StackMap locals: int
StackMap stack:
aload 1
instanceof io.undertow.protocols.http2.Http2PushPromiseStreamSinkChannel
ifeq 15
3: StackMap locals:
StackMap stack:
aload 1
instanceof io.undertow.protocols.http2.Http2PushPromiseStreamSinkChannel
ifeq 10
4: aload 1
checkcast io.undertow.protocols.http2.Http2PushPromiseStreamSinkChannel
invokevirtual io.undertow.protocols.http2.Http2PushPromiseStreamSinkChannel.getStreamId:()I
istore 4
start local 4 5: iload 4
aload 0
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
if_icmple 7
6: iconst_0
ireturn
7: StackMap locals: int
StackMap stack:
iload 4
aload 0
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
if_icmpne 15
8: iconst_1
istore 3
end local 4 9: goto 15
10: StackMap locals:
StackMap stack:
aload 1
checkcast io.undertow.protocols.http2.Http2HeadersStreamSinkChannel
invokevirtual io.undertow.protocols.http2.Http2HeadersStreamSinkChannel.getStreamId:()I
istore 4
start local 4 11: iload 4
aload 0
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
if_icmple 13
12: iconst_0
ireturn
13: StackMap locals: int
StackMap stack:
iload 4
aload 0
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
if_icmpne 15
14: iconst_1
istore 3
end local 4 15: StackMap locals:
StackMap stack:
aload 1
instanceof io.undertow.protocols.http2.Http2StreamSinkChannel
ifeq 24
16: aload 1
invokevirtual io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel.isBroken:()Z
ifne 17
aload 1
invokevirtual io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel.isOpen:()Z
ifne 18
17: StackMap locals:
StackMap stack:
iconst_1
ireturn
18: StackMap locals:
StackMap stack:
aload 1
checkcast io.undertow.protocols.http2.Http2StreamSinkChannel
invokevirtual io.undertow.protocols.http2.Http2StreamSinkChannel.generateSendFrameHeader:()Lio/undertow/server/protocol/framed/SendFrameHeader;
astore 4
start local 4 19: aload 4
invokevirtual io.undertow.server.protocol.framed.SendFrameHeader.getByteBuffer:()Lio/undertow/connector/PooledByteBuffer;
ifnonnull 24
20: aload 1
checkcast io.undertow.protocols.http2.Http2StreamSinkChannel
invokevirtual io.undertow.protocols.http2.Http2StreamSinkChannel.clearHeader:()V
21: iconst_0
ireturn
end local 4 22: StackMap locals:
StackMap stack: java.lang.Exception
pop
23: getstatic io.undertow.UndertowLogger.REQUEST_LOGGER:Lio/undertow/UndertowLogger;
ldc "Failed to generate header %s"
aload 1
invokeinterface io.undertow.UndertowLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
24: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
25: iload 3
ifeq 27
26: aload 0
dup
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
iconst_2
iadd
putfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
27: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lio/undertow/protocols/http2/Http2FramePriority;
0 28 1 newFrame Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;
0 28 2 pendingFrames Ljava/util/List<Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;>;
1 28 3 incrementIfAccepted Z
5 9 4 streamId I
11 15 4 streamId I
19 22 4 header Lio/undertow/server/protocol/framed/SendFrameHeader;
Exception table:
from to target type
18 21 22 Class java.lang.Exception
Signature: (Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;Ljava/util/List<Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;>;)Z
MethodParameters:
Name Flags
newFrame
pendingFrames
public void frameAdded(io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel, java.util.List<io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel>, java.util.Deque<io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel>);
descriptor: (Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;Ljava/util/List;Ljava/util/Deque;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface java.util.Deque.iterator:()Ljava/util/Iterator;
astore 4
start local 4 1: goto 28
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: aload 5
invokevirtual io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel.getChannel:()Lio/undertow/server/protocol/framed/AbstractFramedChannel;
checkcast io.undertow.protocols.http2.Http2Channel
invokevirtual io.undertow.protocols.http2.Http2Channel.isClient:()Z
ifeq 5
aload 5
instanceof io.undertow.protocols.http2.Http2HeadersStreamSinkChannel
ifne 6
5: StackMap locals: io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel int
StackMap stack:
aload 5
instanceof io.undertow.protocols.http2.Http2PushPromiseStreamSinkChannel
ifeq 18
6: StackMap locals:
StackMap stack:
aload 5
instanceof io.undertow.protocols.http2.Http2PushPromiseStreamSinkChannel
ifeq 13
7: aload 5
checkcast io.undertow.protocols.http2.Http2PushPromiseStreamSinkChannel
invokevirtual io.undertow.protocols.http2.Http2PushPromiseStreamSinkChannel.getStreamId:()I
istore 7
start local 7 8: iload 7
aload 0
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
if_icmple 10
9: goto 28
10: StackMap locals: int
StackMap stack:
iload 7
aload 0
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
if_icmpne 18
11: iconst_1
istore 6
end local 7 12: goto 18
13: StackMap locals:
StackMap stack:
aload 5
checkcast io.undertow.protocols.http2.Http2HeadersStreamSinkChannel
invokevirtual io.undertow.protocols.http2.Http2HeadersStreamSinkChannel.getStreamId:()I
istore 7
start local 7 14: iload 7
aload 0
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
if_icmple 16
15: goto 28
16: StackMap locals: int
StackMap stack:
iload 7
aload 0
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
if_icmpne 18
17: iconst_1
istore 6
end local 7 18: StackMap locals:
StackMap stack:
aload 5
instanceof io.undertow.protocols.http2.Http2StreamSinkChannel
ifeq 28
19: aload 5
checkcast io.undertow.protocols.http2.Http2StreamSinkChannel
invokevirtual io.undertow.protocols.http2.Http2StreamSinkChannel.generateSendFrameHeader:()Lio/undertow/server/protocol/framed/SendFrameHeader;
astore 7
start local 7 20: aload 7
invokevirtual io.undertow.server.protocol.framed.SendFrameHeader.getByteBuffer:()Lio/undertow/connector/PooledByteBuffer;
ifnull 27
21: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: aload 4
invokeinterface java.util.Iterator.remove:()V
23: aload 3
invokeinterface java.util.Deque.iterator:()Ljava/util/Iterator;
astore 4
24: iload 6
ifeq 28
25: aload 0
dup
getfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
iconst_2
iadd
putfield io.undertow.protocols.http2.Http2FramePriority.nextId:I
26: goto 28
27: StackMap locals: io.undertow.server.protocol.framed.SendFrameHeader
StackMap stack:
aload 5
checkcast io.undertow.protocols.http2.Http2StreamSinkChannel
invokevirtual io.undertow.protocols.http2.Http2StreamSinkChannel.clearHeader:()V
end local 7 end local 6 end local 5 28: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lio/undertow/protocols/http2/Http2FramePriority;
0 30 1 addedFrame Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;
0 30 2 pendingFrames Ljava/util/List<Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;>;
0 30 3 holdFrames Ljava/util/Deque<Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;>;
1 30 4 it Ljava/util/Iterator<Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;>;
3 28 5 pending Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;
4 28 6 incrementNextId Z
8 12 7 streamId I
14 18 7 streamId I
20 28 7 header Lio/undertow/server/protocol/framed/SendFrameHeader;
Signature: (Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;Ljava/util/List<Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;>;Ljava/util/Deque<Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;>;)V
MethodParameters:
Name Flags
addedFrame
pendingFrames
holdFrames
public void frameAdded(io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel, java.util.List, java.util.Deque);
descriptor: (Lio/undertow/server/protocol/framed/AbstractFramedStreamSinkChannel;Ljava/util/List;Ljava/util/Deque;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
checkcast io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel
aload 2
checkcast java.util.List
aload 3
checkcast java.util.Deque
invokevirtual io.undertow.protocols.http2.Http2FramePriority.frameAdded:(Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;Ljava/util/List;Ljava/util/Deque;)V
return
LocalVariableTable:
Start End Slot Name Signature
public boolean insertFrame(io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel, java.util.List);
descriptor: (Lio/undertow/server/protocol/framed/AbstractFramedStreamSinkChannel;Ljava/util/List;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast io.undertow.protocols.http2.AbstractHttp2StreamSinkChannel
aload 2
checkcast java.util.List
invokevirtual io.undertow.protocols.http2.Http2FramePriority.insertFrame:(Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;Ljava/util/List;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/undertow/server/protocol/framed/FramePriority<Lio/undertow/protocols/http2/Http2Channel;Lio/undertow/protocols/http2/AbstractHttp2StreamSourceChannel;Lio/undertow/protocols/http2/AbstractHttp2StreamSinkChannel;>;
SourceFile: "Http2FramePriority.java"