final class io.netty.handler.codec.http.HttpHeadersEncoder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http.HttpHeadersEncoder
super_class: java.lang.Object
{
private static final int COLON_AND_SPACE_SHORT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 14880
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/http/HttpHeadersEncoder;
static void encoderHeader(java.lang.CharSequence, java.lang.CharSequence, io.netty.buffer.ByteBuf);
descriptor: (Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lio/netty/buffer/ByteBuf;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface java.lang.CharSequence.length:()I
istore 3
start local 3 1: aload 1
invokeinterface java.lang.CharSequence.length:()I
istore 4
start local 4 2: iload 3
iload 4
iadd
iconst_4
iadd
istore 5
start local 5 3: aload 2
iload 5
invokevirtual io.netty.buffer.ByteBuf.ensureWritable:(I)Lio/netty/buffer/ByteBuf;
pop
4: aload 2
invokevirtual io.netty.buffer.ByteBuf.writerIndex:()I
istore 6
start local 6 5: aload 2
iload 6
aload 0
invokestatic io.netty.handler.codec.http.HttpHeadersEncoder.writeAscii:(Lio/netty/buffer/ByteBuf;ILjava/lang/CharSequence;)V
6: iload 6
iload 3
iadd
istore 6
7: aload 2
iload 6
sipush 14880
invokestatic io.netty.buffer.ByteBufUtil.setShortBE:(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
pop
8: iinc 6 2
9: aload 2
iload 6
aload 1
invokestatic io.netty.handler.codec.http.HttpHeadersEncoder.writeAscii:(Lio/netty/buffer/ByteBuf;ILjava/lang/CharSequence;)V
10: iload 6
iload 4
iadd
istore 6
11: aload 2
iload 6
sipush 3338
invokestatic io.netty.buffer.ByteBufUtil.setShortBE:(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
pop
12: iinc 6 2
13: aload 2
iload 6
invokevirtual io.netty.buffer.ByteBuf.writerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
14: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 name Ljava/lang/CharSequence;
0 15 1 value Ljava/lang/CharSequence;
0 15 2 buf Lio/netty/buffer/ByteBuf;
1 15 3 nameLen I
2 15 4 valueLen I
3 15 5 entryLen I
5 15 6 offset I
MethodParameters:
Name Flags
name
value
buf
private static void writeAscii(io.netty.buffer.ByteBuf, int, java.lang.CharSequence);
descriptor: (Lio/netty/buffer/ByteBuf;ILjava/lang/CharSequence;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof io.netty.util.AsciiString
ifeq 3
1: aload 2
checkcast io.netty.util.AsciiString
iconst_0
aload 0
iload 1
aload 2
invokeinterface java.lang.CharSequence.length:()I
invokestatic io.netty.buffer.ByteBufUtil.copy:(Lio/netty/util/AsciiString;ILio/netty/buffer/ByteBuf;II)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
getstatic io.netty.util.CharsetUtil.US_ASCII:Ljava/nio/charset/Charset;
invokevirtual io.netty.buffer.ByteBuf.setCharSequence:(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I
pop
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 buf Lio/netty/buffer/ByteBuf;
0 5 1 offset I
0 5 2 value Ljava/lang/CharSequence;
MethodParameters:
Name Flags
buf
offset
value
}
SourceFile: "HttpHeadersEncoder.java"