final class jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter implements jdk.incubator.http.internal.hpack.BinaryRepresentationWriter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter
super_class: java.lang.Object
{
private final jdk.incubator.http.internal.hpack.SizeUpdateWriter writer;
descriptor: Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Iterator<java.lang.Integer> maxSizes;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<Ljava/lang/Integer;>;
private boolean writing;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean configured;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.incubator.http.internal.hpack.SizeUpdateWriter
dup
invokespecial jdk.incubator.http.internal.hpack.SizeUpdateWriter.<init>:()V
putfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.writer:Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter maxHeaderTableSizes(java.lang.Iterable<java.lang.Integer>);
descriptor: (Ljava/lang/Iterable;)Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.configured:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Already configured"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ldc "sizes"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aload 0
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
putfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.maxSizes:Ljava/util/Iterator;
4: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.configured:Z
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
0 6 1 sizes Ljava/lang/Iterable<Ljava/lang/Integer;>;
Signature: (Ljava/lang/Iterable<Ljava/lang/Integer;>;)Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
MethodParameters:
Name Flags
sizes
public boolean (jdk.incubator.http.internal.hpack.HeaderTable, java.nio.ByteBuffer);
descriptor: (Ljdk/incubator/http/internal/hpack/HeaderTable;Ljava/nio/ByteBuffer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.configured:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Configure first"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.writing:Z
ifeq 7
3: aload 0
getfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.writer:Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
aload 1
aload 2
invokevirtual jdk.incubator.http.internal.hpack.SizeUpdateWriter.write:(Ljdk/incubator/http/internal/hpack/HeaderTable;Ljava/nio/ByteBuffer;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.writing:Z
6: goto 2
StackMap locals:
StackMap stack:
7: aload 0
getfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.maxSizes:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 12
8: aload 0
iconst_1
putfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.writing:Z
9: aload 0
getfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.writer:Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
invokevirtual jdk.incubator.http.internal.hpack.SizeUpdateWriter.reset:()Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
pop
10: aload 0
getfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.writer:Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
aload 0
getfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.maxSizes:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual jdk.incubator.http.internal.hpack.SizeUpdateWriter.maxHeaderTableSize:(I)Ljdk/incubator/http/internal/hpack/SizeUpdateWriter;
pop
11: goto 2
12: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.configured:Z
13: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
0 14 1 table Ljdk/incubator/http/internal/hpack/HeaderTable;
0 14 2 destination Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
table
destination
public jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter reset();
descriptor: ()Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.maxSizes:Ljava/util/Iterator;
1: aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.writing:Z
2: aload 0
iconst_0
putfield jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.configured:Z
3: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
public jdk.incubator.http.internal.hpack.BinaryRepresentationWriter reset();
descriptor: ()Ljdk/incubator/http/internal/hpack/BinaryRepresentationWriter;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.incubator.http.internal.hpack.BulkSizeUpdateWriter.reset:()Ljdk/incubator/http/internal/hpack/BulkSizeUpdateWriter;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "BulkSizeUpdateWriter.java"