abstract class jdk.internal.net.http.hpack.IndexNameValueWriter implements jdk.internal.net.http.hpack.BinaryRepresentationWriter
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: jdk.internal.net.http.hpack.IndexNameValueWriter
super_class: java.lang.Object
{
private final int pattern;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int prefix;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.hpack.IntegerWriter intWriter;
descriptor: Ljdk/internal/net/http/hpack/IntegerWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.hpack.StringWriter nameWriter;
descriptor: Ljdk/internal/net/http/hpack/StringWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.net.http.hpack.StringWriter valueWriter;
descriptor: Ljdk/internal/net/http/hpack/StringWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected boolean indexedRepresentation;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private static final int NEW;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int NAME_PART_WRITTEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int VALUE_WRITTEN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private int state;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected void <init>(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.internal.net.http.hpack.IntegerWriter
dup
invokespecial jdk.internal.net.http.hpack.IntegerWriter.<init>:()V
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.intWriter:Ljdk/internal/net/http/hpack/IntegerWriter;
2: aload 0
new jdk.internal.net.http.hpack.StringWriter
dup
invokespecial jdk.internal.net.http.hpack.StringWriter.<init>:()V
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.nameWriter:Ljdk/internal/net/http/hpack/StringWriter;
3: aload 0
new jdk.internal.net.http.hpack.StringWriter
dup
invokespecial jdk.internal.net.http.hpack.StringWriter.<init>:()V
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.valueWriter:Ljdk/internal/net/http/hpack/StringWriter;
4: aload 0
iconst_0
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.state:I
5: aload 0
iload 1
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.pattern:I
6: aload 0
iload 2
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.prefix:I
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/net/http/hpack/IndexNameValueWriter;
0 8 1 pattern I
0 8 2 prefix I
MethodParameters:
Name Flags
pattern
prefix
jdk.internal.net.http.hpack.IndexNameValueWriter index(int);
descriptor: (I)Ljdk/internal/net/http/hpack/IndexNameValueWriter;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.indexedRepresentation:Z
1: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.intWriter:Ljdk/internal/net/http/hpack/IntegerWriter;
iload 1
aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.prefix:I
aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.pattern:I
invokevirtual jdk.internal.net.http.hpack.IntegerWriter.configure:(III)Ljdk/internal/net/http/hpack/IntegerWriter;
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/net/http/hpack/IndexNameValueWriter;
0 3 1 index I
MethodParameters:
Name Flags
index
jdk.internal.net.http.hpack.IndexNameValueWriter name(java.lang.CharSequence, boolean);
descriptor: (Ljava/lang/CharSequence;Z)Ljdk/internal/net/http/hpack/IndexNameValueWriter;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.indexedRepresentation:Z
1: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.intWriter:Ljdk/internal/net/http/hpack/IntegerWriter;
iconst_0
aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.prefix:I
aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.pattern:I
invokevirtual jdk.internal.net.http.hpack.IntegerWriter.configure:(III)Ljdk/internal/net/http/hpack/IntegerWriter;
pop
2: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.nameWriter:Ljdk/internal/net/http/hpack/StringWriter;
aload 1
iload 2
invokevirtual jdk.internal.net.http.hpack.StringWriter.configure:(Ljava/lang/CharSequence;Z)Ljdk/internal/net/http/hpack/StringWriter;
pop
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/net/http/hpack/IndexNameValueWriter;
0 4 1 name Ljava/lang/CharSequence;
0 4 2 useHuffman Z
MethodParameters:
Name Flags
name
useHuffman
jdk.internal.net.http.hpack.IndexNameValueWriter value(java.lang.CharSequence, boolean);
descriptor: (Ljava/lang/CharSequence;Z)Ljdk/internal/net/http/hpack/IndexNameValueWriter;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.valueWriter:Ljdk/internal/net/http/hpack/StringWriter;
aload 1
iload 2
invokevirtual jdk.internal.net.http.hpack.StringWriter.configure:(Ljava/lang/CharSequence;Z)Ljdk/internal/net/http/hpack/StringWriter;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/net/http/hpack/IndexNameValueWriter;
0 2 1 value Ljava/lang/CharSequence;
0 2 2 useHuffman Z
MethodParameters:
Name Flags
value
useHuffman
public boolean (jdk.internal.net.http.hpack.HeaderTable, java.nio.ByteBuffer);
descriptor: (Ljdk/internal/net/http/hpack/HeaderTable;Ljava/nio/ByteBuffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.state:I
iconst_1
if_icmpge 8
1: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.indexedRepresentation:Z
ifeq 4
2: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.intWriter:Ljdk/internal/net/http/hpack/IntegerWriter;
aload 2
invokevirtual jdk.internal.net.http.hpack.IntegerWriter.write:(Ljava/nio/ByteBuffer;)Z
ifne 7
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.intWriter:Ljdk/internal/net/http/hpack/IntegerWriter;
aload 2
invokevirtual jdk.internal.net.http.hpack.IntegerWriter.write:(Ljava/nio/ByteBuffer;)Z
ifeq 6
5: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.nameWriter:Ljdk/internal/net/http/hpack/StringWriter;
aload 2
invokevirtual jdk.internal.net.http.hpack.StringWriter.write:(Ljava/nio/ByteBuffer;)Z
ifne 7
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.state:I
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.state:I
iconst_2
if_icmpge 12
9: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.valueWriter:Ljdk/internal/net/http/hpack/StringWriter;
aload 2
invokevirtual jdk.internal.net.http.hpack.StringWriter.write:(Ljava/nio/ByteBuffer;)Z
ifne 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.state:I
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.state:I
iconst_2
if_icmpne 13
iconst_1
ireturn
StackMap locals:
StackMap stack:
13: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/net/http/hpack/IndexNameValueWriter;
0 14 1 table Ljdk/internal/net/http/hpack/HeaderTable;
0 14 2 destination Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
table
destination
public jdk.internal.net.http.hpack.IndexNameValueWriter reset();
descriptor: ()Ljdk/internal/net/http/hpack/IndexNameValueWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.intWriter:Ljdk/internal/net/http/hpack/IntegerWriter;
invokevirtual jdk.internal.net.http.hpack.IntegerWriter.reset:()Ljdk/internal/net/http/hpack/IntegerWriter;
pop
1: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.indexedRepresentation:Z
ifne 3
2: aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.nameWriter:Ljdk/internal/net/http/hpack/StringWriter;
invokevirtual jdk.internal.net.http.hpack.StringWriter.reset:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.net.http.hpack.IndexNameValueWriter.valueWriter:Ljdk/internal/net/http/hpack/StringWriter;
invokevirtual jdk.internal.net.http.hpack.StringWriter.reset:()V
4: aload 0
iconst_0
putfield jdk.internal.net.http.hpack.IndexNameValueWriter.state:I
5: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/net/http/hpack/IndexNameValueWriter;
public jdk.internal.net.http.hpack.BinaryRepresentationWriter reset();
descriptor: ()Ljdk/internal/net/http/hpack/BinaryRepresentationWriter;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.internal.net.http.hpack.IndexNameValueWriter.reset:()Ljdk/internal/net/http/hpack/IndexNameValueWriter;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "IndexNameValueWriter.java"