public class jdk.incubator.http.internal.frame.SettingsFrame extends jdk.incubator.http.internal.frame.Http2Frame
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.incubator.http.internal.frame.SettingsFrame
super_class: jdk.incubator.http.internal.frame.Http2Frame
{
private final int[] parameters;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final int TYPE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int ACK;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int ;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int ENABLE_PUSH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int MAX_CONCURRENT_STREAMS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int INITIAL_WINDOW_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int MAX_FRAME_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int ;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int MAX_PARAM;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
private static final int K;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
public java.lang.String flagAsString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 1 - 1
1: 1
default: 2
}
1: StackMap locals:
StackMap stack:
ldc "ACK"
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial jdk.incubator.http.internal.frame.Http2Frame.flagAsString:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
0 3 1 flag I
MethodParameters:
Name Flags
flag
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokespecial jdk.incubator.http.internal.frame.Http2Frame.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc " Settings: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: iconst_0
istore 2
start local 2 4: goto 11
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
iload 2
iaload
iconst_m1
if_icmpeq 10
6: aload 1
aload 0
iload 2
invokevirtual jdk.incubator.http.internal.frame.SettingsFrame.name:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: aload 0
getfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
iload 2
iaload
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
bipush 6
if_icmplt 5
end local 2 12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
1 13 1 sb Ljava/lang/StringBuilder;
4 12 2 i I
private java.lang.String name(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
iadd
tableswitch { // 1 - 6
1: 1
2: 2
3: 3
4: 4
5: 5
6: 6
default: 7
}
1: StackMap locals:
StackMap stack:
ldc "HEADER_TABLE_SIZE"
areturn
2: StackMap locals:
StackMap stack:
ldc "ENABLE_PUSH"
areturn
3: StackMap locals:
StackMap stack:
ldc "MAX_CONCURRENT_STREAMS"
areturn
4: StackMap locals:
StackMap stack:
ldc "INITIAL_WINDOW_SIZE"
areturn
5: StackMap locals:
StackMap stack:
ldc "MAX_FRAME_SIZE"
areturn
6: StackMap locals:
StackMap stack:
ldc "MAX_HEADER_LIST_SIZE"
areturn
7: StackMap locals:
StackMap stack:
ldc "unknown parameter"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
0 8 1 i I
MethodParameters:
Name Flags
i
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
iload 1
invokespecial jdk.incubator.http.internal.frame.Http2Frame.<init>:(II)V
1: aload 0
bipush 6
newarray 10
putfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
2: aload 0
getfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
0 4 1 flags I
MethodParameters:
Name Flags
flags
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokespecial jdk.incubator.http.internal.frame.SettingsFrame.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
public void <init>(jdk.incubator.http.internal.frame.SettingsFrame);
descriptor: (Ljdk/incubator/http/internal/frame/SettingsFrame;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 1
getfield jdk.incubator.http.internal.frame.SettingsFrame.flags:I
invokespecial jdk.incubator.http.internal.frame.Http2Frame.<init>:(II)V
1: aload 0
aload 1
getfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
bipush 6
invokestatic java.util.Arrays.copyOf:([II)[I
putfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
0 3 1 other Ljdk/incubator/http/internal/frame/SettingsFrame;
MethodParameters:
Name Flags
other
public int type();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_4
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
public int getParameter(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 6
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
ldc "illegal parameter"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
iload 1
iconst_1
isub
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
0 3 1 paramID I
MethodParameters:
Name Flags
paramID
public jdk.incubator.http.internal.frame.SettingsFrame setParameter(int, int);
descriptor: (II)Ljdk/incubator/http/internal/frame/SettingsFrame;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
bipush 6
if_icmple 2
1: new java.lang.IllegalArgumentException
dup
ldc "illegal parameter"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
iload 1
iconst_1
isub
iload 2
iastore
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
0 4 1 paramID I
0 4 2 value I
MethodParameters:
Name Flags
paramID
value
int length();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: jdk.incubator.http.internal.frame.SettingsFrame int top int int int[]
StackMap stack:
2: aload 5
iload 3
iaload
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpeq 5
4: iinc 1 6
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
1 8 1 len I
3 5 2 i I
void toByteBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
iload 2
iaload
iconst_m1
if_icmpeq 5
3: aload 1
iload 2
iconst_1
iadd
i2s
invokevirtual java.nio.ByteBuffer.putShort:(S)Ljava/nio/ByteBuffer;
pop
4: aload 1
aload 0
getfield jdk.incubator.http.internal.frame.SettingsFrame.parameters:[I
iload 2
iaload
invokevirtual java.nio.ByteBuffer.putInt:(I)Ljava/nio/ByteBuffer;
pop
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
bipush 6
if_icmplt 2
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
0 8 1 buf Ljava/nio/ByteBuffer;
1 7 2 i I
MethodParameters:
Name Flags
buf
public byte[] toByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.http.internal.frame.SettingsFrame.length:()I
newarray 8
astore 1
start local 1 1: aload 1
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual jdk.incubator.http.internal.frame.SettingsFrame.toByteBuffer:(Ljava/nio/ByteBuffer;)V
3: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/frame/SettingsFrame;
1 4 1 bytes [B
2 4 2 buf Ljava/nio/ByteBuffer;
public static jdk.incubator.http.internal.frame.SettingsFrame getDefaultSettings();
descriptor: ()Ljdk/incubator/http/internal/frame/SettingsFrame;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: new jdk.incubator.http.internal.frame.SettingsFrame
dup
invokespecial jdk.incubator.http.internal.frame.SettingsFrame.<init>:()V
astore 0
start local 0 1: aload 0
iconst_2
iconst_1
invokevirtual jdk.incubator.http.internal.frame.SettingsFrame.setParameter:(II)Ljdk/incubator/http/internal/frame/SettingsFrame;
pop
2: aload 0
iconst_1
sipush 4096
invokevirtual jdk.incubator.http.internal.frame.SettingsFrame.setParameter:(II)Ljdk/incubator/http/internal/frame/SettingsFrame;
pop
3: aload 0
iconst_3
bipush 35
invokevirtual jdk.incubator.http.internal.frame.SettingsFrame.setParameter:(II)Ljdk/incubator/http/internal/frame/SettingsFrame;
pop
4: aload 0
iconst_4
ldc 65535
invokevirtual jdk.incubator.http.internal.frame.SettingsFrame.setParameter:(II)Ljdk/incubator/http/internal/frame/SettingsFrame;
pop
5: aload 0
iconst_5
sipush 16384
invokevirtual jdk.incubator.http.internal.frame.SettingsFrame.setParameter:(II)Ljdk/incubator/http/internal/frame/SettingsFrame;
pop
6: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 f Ljdk/incubator/http/internal/frame/SettingsFrame;
}
SourceFile: "SettingsFrame.java"