public class
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http2.HeadersEncoder
super_class: java.lang.Object
{
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "org.glassfish.grizzly.http2.HeadersEncoder.DEFAULT_BUFFER_SIZE"
private static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "8192"
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.glassfish.grizzly.http2.hpack.Encoder ;
descriptor: Lorg/glassfish/grizzly/http2/hpack/Encoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.memory.MemoryManager ;
descriptor: Lorg/glassfish/grizzly/memory/MemoryManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.glassfish.grizzly.memory.CompositeBuffer ;
descriptor: Lorg/glassfish/grizzly/memory/CompositeBuffer;
flags: (0x0002) ACC_PRIVATE
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "org.glassfish.grizzly.http2.HeadersEncoder.DEFAULT_BUFFER_SIZE"
ldc "8192"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic org.glassfish.grizzly.http2.HeadersEncoder.DEFAULT_BUFFER_SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
public void (org.glassfish.grizzly.memory.MemoryManager, int);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
aload 1
putfield org.glassfish.grizzly.http2.HeadersEncoder.memoryManager:Lorg/glassfish/grizzly/memory/MemoryManager;
2: aload 0
new org.glassfish.grizzly.http2.hpack.Encoder
dup
iload 2
invokespecial org.glassfish.grizzly.http2.hpack.Encoder.<init>:(I)V
putfield org.glassfish.grizzly.http2.HeadersEncoder.hpackEncoder:Lorg/glassfish/grizzly/http2/hpack/Encoder;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/HeadersEncoder;
0 4 1 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 4 2 maxHeaderTableSize I
MethodParameters:
Name Flags
memoryManager final
maxHeaderTableSize final
public void encodeHeader(java.lang.String, java.lang.String, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 2
1: aload 3
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http2.HeadersEncoder.init:()V
3: aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.hpackEncoder:Lorg/glassfish/grizzly/http2/hpack/Encoder;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.header:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.buffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.memoryManager:Lorg/glassfish/grizzly/memory/MemoryManager;
getstatic org.glassfish.grizzly.http2.HeadersEncoder.DEFAULT_BUFFER_SIZE:I
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.hpackEncoder:Lorg/glassfish/grizzly/http2/hpack/Encoder;
aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.buffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
invokevirtual org.glassfish.grizzly.http2.hpack.Encoder.encode:(Lorg/glassfish/grizzly/Buffer;)Z
ifeq 5
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/glassfish/grizzly/http2/HeadersEncoder;
0 8 1 name Ljava/lang/String;
0 8 2 value Ljava/lang/String;
0 8 3 capture Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
name final
value final
capture final
public org.glassfish.grizzly.Buffer ();
descriptor: ()Lorg/glassfish/grizzly/Buffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.buffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
astore 1
start local 1 1: aload 1
invokeinterface org.glassfish.grizzly.Buffer.trim:()V
2: aload 0
aconst_null
putfield org.glassfish.grizzly.http2.HeadersEncoder.buffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http2/HeadersEncoder;
1 4 1 bufferLocal Lorg/glassfish/grizzly/Buffer;
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.buffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
ifnonnull 5
1: aload 0
aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.memoryManager:Lorg/glassfish/grizzly/memory/MemoryManager;
invokestatic org.glassfish.grizzly.memory.CompositeBuffer.newBuffer:(Lorg/glassfish/grizzly/memory/MemoryManager;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
putfield org.glassfish.grizzly.http2.HeadersEncoder.buffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
2: aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.buffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
iconst_1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.allowInternalBuffersDispose:(Z)V
3: aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.buffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
iconst_1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.allowBufferDispose:(Z)V
4: aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.buffer:Lorg/glassfish/grizzly/memory/CompositeBuffer;
aload 0
getfield org.glassfish.grizzly.http2.HeadersEncoder.memoryManager:Lorg/glassfish/grizzly/memory/MemoryManager;
getstatic org.glassfish.grizzly.http2.HeadersEncoder.DEFAULT_BUFFER_SIZE:I
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.append:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/memory/CompositeBuffer;
pop
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http2/HeadersEncoder;
}
SourceFile: "HeadersEncoder.java"