final class io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint<F extends io.netty.handler.codec.http2.Http2FlowController> implements io.netty.handler.codec.http2.Http2Connection$Endpoint<F>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint
super_class: java.lang.Object
{
private final boolean server;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int nextStreamIdToCreate;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int nextReservationStreamId;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastStreamKnownByPeer;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean pushToAllowed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private F flowController;
descriptor: Lio/netty/handler/codec/http2/Http2FlowController;
flags: (0x0002) ACC_PRIVATE
Signature: TF;
private int maxStreams;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int maxActiveStreams;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int maxReservedStreams;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
int numActiveStreams;
descriptor: I
flags: (0x0000)
int numStreams;
descriptor: I
flags: (0x0000)
final io.netty.handler.codec.http2.DefaultHttp2Connection this$0;
descriptor: Lio/netty/handler/codec/http2/DefaultHttp2Connection;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/DefaultHttp2Connection;
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.DefaultHttp2Connection$DefaultEndpoint.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(io.netty.handler.codec.http2.DefaultHttp2Connection, boolean, int);
descriptor: (Lio/netty/handler/codec/http2/DefaultHttp2Connection;ZI)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.lastStreamKnownByPeer:I
2: aload 0
iconst_1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.pushToAllowed:Z
3: aload 0
iload 2
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.server:Z
4: iload 2
ifeq 8
5: aload 0
iconst_2
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextStreamIdToCreate:I
6: aload 0
iconst_0
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextReservationStreamId:I
7: goto 10
8: StackMap locals: io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint io.netty.handler.codec.http2.DefaultHttp2Connection int int
StackMap stack:
aload 0
iconst_1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextStreamIdToCreate:I
9: aload 0
iconst_1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextReservationStreamId:I
10: StackMap locals:
StackMap stack:
aload 0
iload 2
ifeq 11
iconst_0
goto 12
StackMap locals:
StackMap stack: io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint
11: iconst_1
StackMap locals: io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint io.netty.handler.codec.http2.DefaultHttp2Connection int int
StackMap stack: io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint int
12: putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.pushToAllowed:Z
13: aload 0
ldc 2147483647
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.maxActiveStreams:I
14: aload 0
iload 3
ldc "maxReservedStreams"
invokestatic io.netty.util.internal.ObjectUtil.checkPositiveOrZero:(ILjava/lang/String;)I
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.maxReservedStreams:I
15: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.updateMaxStreams:()V
16: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 17 2 server Z
0 17 3 maxReservedStreams I
MethodParameters:
Name Flags
this$0 final
server
maxReservedStreams
public int incrementAndGetNextStreamId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextReservationStreamId:I
iflt 1
aload 0
dup
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextReservationStreamId:I
iconst_2
iadd
dup_x1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextReservationStreamId:I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextReservationStreamId:I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
private void incrementExpectedStreamId(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextReservationStreamId:I
if_icmple 2
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextReservationStreamId:I
iflt 2
1: aload 0
iload 1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextReservationStreamId:I
2: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_2
iadd
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextStreamIdToCreate:I
3: aload 0
dup
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.numStreams:I
iconst_1
iadd
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.numStreams:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 5 1 streamId I
MethodParameters:
Name Flags
streamId
public boolean isValidStreamId(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifle 3
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.server:Z
iload 1
iconst_1
iand
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: int
1: iconst_0
StackMap locals: io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint int
StackMap stack: int int
2: if_icmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 4 1 streamId I
MethodParameters:
Name Flags
streamId
public boolean mayHaveCreatedStream(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.isValidStreamId:(I)Z
ifeq 1
iload 1
aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.lastStreamCreated:()I
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 2 1 streamId I
MethodParameters:
Name Flags
streamId
public boolean canOpenStream();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.numActiveStreams:I
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.maxActiveStreams: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/DefaultHttp2Connection$DefaultEndpoint<TF;>;
public io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream createStream(int, boolean);
descriptor: (IZ)Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
getstatic io.netty.handler.codec.http2.Http2Stream$State.IDLE:Lio/netty/handler/codec/http2/Http2Stream$State;
aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.isLocal:()Z
iload 2
invokestatic io.netty.handler.codec.http2.DefaultHttp2Connection.activeState:(ILio/netty/handler/codec/http2/Http2Stream$State;ZZ)Lio/netty/handler/codec/http2/Http2Stream$State;
astore 3
start local 3 1: aload 0
iload 1
aload 3
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.checkNewStreamAllowed:(ILio/netty/handler/codec/http2/Http2Stream$State;)V
2: new io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream
dup
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
iload 1
aload 3
invokespecial io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream.<init>:(Lio/netty/handler/codec/http2/DefaultHttp2Connection;ILio/netty/handler/codec/http2/Http2Stream$State;)V
astore 4
start local 4 3: aload 0
iload 1
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.incrementExpectedStreamId:(I)V
4: aload 0
aload 4
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.addStream:(Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;)V
5: aload 4
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream.activate:()V
6: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 7 1 streamId I
0 7 2 halfClosed Z
1 7 3 state Lio/netty/handler/codec/http2/Http2Stream$State;
3 7 4 stream Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
streamId
halfClosed
public boolean created(io.netty.handler.codec.http2.Http2Stream);
descriptor: (Lio/netty/handler/codec/http2/Http2Stream;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream
ifeq 1
aload 1
checkcast io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream.createdBy:()Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint;
aload 0
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 2 1 stream Lio/netty/handler/codec/http2/Http2Stream;
MethodParameters:
Name Flags
stream
public boolean isServer();
descriptor: ()Z
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$DefaultEndpoint.server:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
public io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream reservePushStream(int, io.netty.handler.codec.http2.Http2Stream);
descriptor: (ILio/netty/handler/codec/http2/Http2Stream;)Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Parent stream missing"
iconst_0
anewarray java.lang.Object
invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.isLocal:()Z
ifeq 3
aload 2
invokeinterface io.netty.handler.codec.http2.Http2Stream.state:()Lio/netty/handler/codec/http2/Http2Stream$State;
invokevirtual io.netty.handler.codec.http2.Http2Stream$State.localSideOpen:()Z
ifne 5
goto 4
StackMap locals:
StackMap stack:
3: aload 2
invokeinterface io.netty.handler.codec.http2.Http2Stream.state:()Lio/netty/handler/codec/http2/Http2Stream$State;
invokevirtual io.netty.handler.codec.http2.Http2Stream$State.remoteSideOpen:()Z
ifne 5
4: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Stream %d is not open for sending push promise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokeinterface io.netty.handler.codec.http2.Http2Stream.id:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.opposite:()Lio/netty/handler/codec/http2/Http2Connection$Endpoint;
invokeinterface io.netty.handler.codec.http2.Http2Connection$Endpoint.allowPushTo:()Z
ifne 7
6: getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Server push not allowed to opposite endpoint"
iconst_0
anewarray java.lang.Object
invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.isLocal:()Z
ifeq 8
getstatic io.netty.handler.codec.http2.Http2Stream$State.RESERVED_LOCAL:Lio/netty/handler/codec/http2/Http2Stream$State;
goto 9
StackMap locals:
StackMap stack:
8: getstatic io.netty.handler.codec.http2.Http2Stream$State.RESERVED_REMOTE:Lio/netty/handler/codec/http2/Http2Stream$State;
StackMap locals:
StackMap stack: io.netty.handler.codec.http2.Http2Stream$State
9: astore 3
start local 3 10: aload 0
iload 1
aload 3
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.checkNewStreamAllowed:(ILio/netty/handler/codec/http2/Http2Stream$State;)V
11: new io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream
dup
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
iload 1
aload 3
invokespecial io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream.<init>:(Lio/netty/handler/codec/http2/DefaultHttp2Connection;ILio/netty/handler/codec/http2/Http2Stream$State;)V
astore 4
start local 4 12: aload 0
iload 1
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.incrementExpectedStreamId:(I)V
13: aload 0
aload 4
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.addStream:(Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;)V
14: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 15 1 streamId I
0 15 2 parent Lio/netty/handler/codec/http2/Http2Stream;
10 15 3 state Lio/netty/handler/codec/http2/Http2Stream$State;
12 15 4 stream Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
streamId
parent
private void addStream(io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream);
descriptor: (Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
getfield io.netty.handler.codec.http2.DefaultHttp2Connection.streamMap:Lio/netty/util/collection/IntObjectMap;
aload 1
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream.id:()I
aload 1
invokeinterface io.netty.util.collection.IntObjectMap.put:(ILjava/lang/Object;)Ljava/lang/Object;
pop
1: iconst_0
istore 2
start local 2 2: goto 8
3: StackMap locals: int
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
getfield io.netty.handler.codec.http2.DefaultHttp2Connection.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.onStreamAdded:(Lio/netty/handler/codec/http2/Http2Stream;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 3
start local 3 6: getstatic io.netty.handler.codec.http2.DefaultHttp2Connection.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Caught Throwable from listener onStreamAdded."
aload 3
invokeinterface io.netty.util.internal.logging.InternalLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
getfield io.netty.handler.codec.http2.DefaultHttp2Connection.listeners:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
end local 2 9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 10 1 stream Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
2 9 2 i I
6 7 3 cause Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 Class java.lang.Throwable
MethodParameters:
Name Flags
stream
public void allowPushTo(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.server:Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Servers do not allow push"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.pushToAllowed:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 4 1 allow Z
MethodParameters:
Name Flags
allow
public boolean allowPushTo();
descriptor: ()Z
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$DefaultEndpoint.pushToAllowed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
public int numActiveStreams();
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$DefaultEndpoint.numActiveStreams:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
public int maxActiveStreams();
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$DefaultEndpoint.maxActiveStreams:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
public void maxActiveStreams(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.maxActiveStreams:I
1: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.updateMaxStreams:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 3 1 maxActiveStreams I
MethodParameters:
Name Flags
maxActiveStreams
public int lastStreamCreated();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextStreamIdToCreate:I
iconst_1
if_icmple 1
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextStreamIdToCreate:I
iconst_2
isub
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
public int lastStreamKnownByPeer();
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$DefaultEndpoint.lastStreamKnownByPeer:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
private void lastStreamKnownByPeer(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.lastStreamKnownByPeer:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 2 1 lastKnownStream I
MethodParameters:
Name Flags
lastKnownStream
public F flowController();
descriptor: ()Lio/netty/handler/codec/http2/Http2FlowController;
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$DefaultEndpoint.flowController:Lio/netty/handler/codec/http2/Http2FlowController;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
Signature: ()TF;
public void flowController();
descriptor: (Lio/netty/handler/codec/http2/Http2FlowController;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "flowController"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.handler.codec.http2.Http2FlowController
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.flowController:Lio/netty/handler/codec/http2/Http2FlowController;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 2 1 flowController TF;
Signature: (TF;)V
MethodParameters:
Name Flags
flowController
public io.netty.handler.codec.http2.Http2Connection$Endpoint<? extends io.netty.handler.codec.http2.Http2FlowController> opposite();
descriptor: ()Lio/netty/handler/codec/http2/Http2Connection$Endpoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.isLocal:()Z
ifeq 1
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
getfield io.netty.handler.codec.http2.DefaultHttp2Connection.remoteEndpoint:Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
getfield io.netty.handler.codec.http2.DefaultHttp2Connection.localEndpoint:Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint;
StackMap locals:
StackMap stack: io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
Signature: ()Lio/netty/handler/codec/http2/Http2Connection$Endpoint<+Lio/netty/handler/codec/http2/Http2FlowController;>;
private void updateMaxStreams();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
ldc 2147483647
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.maxActiveStreams:I
i2l
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.maxReservedStreams:I
i2l
ladd
invokestatic java.lang.Math.min:(JJ)J
l2i
putfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.maxStreams:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
private void checkNewStreamAllowed(int, io.netty.handler.codec.http2.Http2Stream$State);
descriptor: (ILio/netty/handler/codec/http2/Http2Stream$State;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.$assertionsDisabled:Z
ifne 1
aload 2
getstatic io.netty.handler.codec.http2.Http2Stream$State.IDLE:Lio/netty/handler/codec/http2/Http2Stream$State;
if_acmpne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection.goAwayReceived:()Z
ifeq 6
iload 1
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
getfield io.netty.handler.codec.http2.DefaultHttp2Connection.localEndpoint:Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint;
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.lastStreamKnownByPeer:()I
if_icmple 6
2: getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Cannot create stream %d since this endpoint has received a GOAWAY frame with last stream id %d."
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
4: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
getfield io.netty.handler.codec.http2.DefaultHttp2Connection.localEndpoint:Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint;
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.lastStreamKnownByPeer:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
6: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.isValidStreamId:(I)Z
ifne 14
7: iload 1
ifge 9
8: new io.netty.handler.codec.http2.Http2NoMoreStreamIdsException
dup
invokespecial io.netty.handler.codec.http2.Http2NoMoreStreamIdsException.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Request stream %d is not correct for %s connection"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
10: aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.server:Z
ifeq 11
ldc "server"
goto 12
StackMap locals: io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint int io.netty.handler.codec.http2.Http2Stream$State
StackMap stack: io.netty.handler.codec.http2.Http2Error java.lang.String java.lang.Object[] java.lang.Object[] int
11: ldc "client"
StackMap locals: io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint int io.netty.handler.codec.http2.Http2Stream$State
StackMap stack: io.netty.handler.codec.http2.Http2Error java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
12: aastore
13: invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
14: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextStreamIdToCreate:I
if_icmpge 18
15: getstatic io.netty.handler.codec.http2.Http2Error.PROTOCOL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Request stream %d is behind the next expected stream %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
16: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextStreamIdToCreate:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
17: invokestatic io.netty.handler.codec.http2.Http2Exception.closedStreamError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
18: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.nextStreamIdToCreate:I
ifgt 20
19: getstatic io.netty.handler.codec.http2.Http2Error.REFUSED_STREAM:Lio/netty/handler/codec/http2/Http2Error;
ldc "Stream IDs are exhausted for this endpoint."
iconst_0
anewarray java.lang.Object
invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
20: StackMap locals:
StackMap stack:
aload 2
getstatic io.netty.handler.codec.http2.Http2Stream$State.RESERVED_LOCAL:Lio/netty/handler/codec/http2/Http2Stream$State;
if_acmpeq 21
aload 2
getstatic io.netty.handler.codec.http2.Http2Stream$State.RESERVED_REMOTE:Lio/netty/handler/codec/http2/Http2Stream$State;
if_acmpeq 21
iconst_0
goto 22
StackMap locals:
StackMap stack:
21: iconst_1
StackMap locals:
StackMap stack: int
22: istore 3
start local 3 23: iload 3
ifne 24
aload 0
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.canOpenStream:()Z
ifeq 25
StackMap locals: int
StackMap stack:
24: iload 3
ifeq 26
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.numStreams:I
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.maxStreams:I
if_icmplt 26
25: StackMap locals:
StackMap stack:
iload 1
getstatic io.netty.handler.codec.http2.Http2Error.REFUSED_STREAM:Lio/netty/handler/codec/http2/Http2Error;
ldc "Maximum active streams violated for this endpoint."
iconst_0
anewarray java.lang.Object
invokestatic io.netty.handler.codec.http2.Http2Exception.streamError:(ILio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
26: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection.isClosed:()Z
ifeq 30
27: getstatic io.netty.handler.codec.http2.Http2Error.INTERNAL_ERROR:Lio/netty/handler/codec/http2/Http2Error;
ldc "Attempted to create stream id %d after connection was closed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
28: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
29: invokestatic io.netty.handler.codec.http2.Http2Exception.connectionError:(Lio/netty/handler/codec/http2/Http2Error;Ljava/lang/String;[Ljava/lang/Object;)Lio/netty/handler/codec/http2/Http2Exception;
athrow
30: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint<TF;>;
0 31 1 streamId I
0 31 2 state Lio/netty/handler/codec/http2/Http2Stream$State;
23 31 3 isReserved Z
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
MethodParameters:
Name Flags
streamId
state
private boolean isLocal();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.this$0:Lio/netty/handler/codec/http2/DefaultHttp2Connection;
getfield io.netty.handler.codec.http2.DefaultHttp2Connection.localEndpoint:Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultEndpoint;
if_acmpne 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$DefaultEndpoint<TF;>;
public io.netty.handler.codec.http2.Http2Stream reservePushStream(int, io.netty.handler.codec.http2.Http2Stream);
descriptor: (ILio/netty/handler/codec/http2/Http2Stream;)Lio/netty/handler/codec/http2/Http2Stream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
aload 2
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.reservePushStream:(ILio/netty/handler/codec/http2/Http2Stream;)Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
public io.netty.handler.codec.http2.Http2Stream createStream(int, boolean);
descriptor: (IZ)Lio/netty/handler/codec/http2/Http2Stream;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
iload 1
iload 2
invokevirtual io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultEndpoint.createStream:(IZ)Lio/netty/handler/codec/http2/DefaultHttp2Connection$DefaultStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws io.netty.handler.codec.http2.Http2Exception
}
Signature: <F::Lio/netty/handler/codec/http2/Http2FlowController;>Ljava/lang/Object;Lio/netty/handler/codec/http2/Http2Connection$Endpoint<TF;>;
SourceFile: "DefaultHttp2Connection.java"
NestHost: io.netty.handler.codec.http2.DefaultHttp2Connection
InnerClasses:
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
public abstract Endpoint = io.netty.handler.codec.http2.Http2Connection$Endpoint of io.netty.handler.codec.http2.Http2Connection
public abstract Listener = io.netty.handler.codec.http2.Http2Connection$Listener of io.netty.handler.codec.http2.Http2Connection
public final State = io.netty.handler.codec.http2.Http2Stream$State of io.netty.handler.codec.http2.Http2Stream