final class io.netty.handler.codec.http.cookie.CookieUtil
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.http.cookie.CookieUtil
super_class: java.lang.Object
{
private static final java.util.BitSet VALID_COOKIE_NAME_OCTETS;
descriptor: Ljava/util/BitSet;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.BitSet VALID_COOKIE_VALUE_OCTETS;
descriptor: Ljava/util/BitSet;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.BitSet VALID_COOKIE_ATTRIBUTE_VALUE_OCTETS;
descriptor: Ljava/util/BitSet;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic io.netty.handler.codec.http.cookie.CookieUtil.validCookieNameOctets:()Ljava/util/BitSet;
putstatic io.netty.handler.codec.http.cookie.CookieUtil.VALID_COOKIE_NAME_OCTETS:Ljava/util/BitSet;
1: invokestatic io.netty.handler.codec.http.cookie.CookieUtil.validCookieValueOctets:()Ljava/util/BitSet;
putstatic io.netty.handler.codec.http.cookie.CookieUtil.VALID_COOKIE_VALUE_OCTETS:Ljava/util/BitSet;
2: invokestatic io.netty.handler.codec.http.cookie.CookieUtil.validCookieAttributeValueOctets:()Ljava/util/BitSet;
putstatic io.netty.handler.codec.http.cookie.CookieUtil.VALID_COOKIE_ATTRIBUTE_VALUE_OCTETS:Ljava/util/BitSet;
return
LocalVariableTable:
Start End Slot Name Signature
private static java.util.BitSet validCookieNameOctets();
descriptor: ()Ljava/util/BitSet;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=0
0: new java.util.BitSet
dup
invokespecial java.util.BitSet.<init>:()V
astore 0
start local 0 1: bipush 32
istore 1
start local 1 2: goto 5
3: StackMap locals: java.util.BitSet int
StackMap stack:
aload 0
iload 1
invokevirtual java.util.BitSet.set:(I)V
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
bipush 127
if_icmplt 3
end local 1 6: bipush 19
newarray 10
dup
iconst_0
bipush 40
iastore
dup
iconst_1
bipush 41
iastore
dup
iconst_2
bipush 60
iastore
dup
iconst_3
bipush 62
iastore
dup
iconst_4
bipush 64
iastore
dup
iconst_5
bipush 44
iastore
dup
bipush 6
bipush 59
iastore
dup
bipush 7
bipush 58
iastore
dup
bipush 8
bipush 92
iastore
dup
bipush 9
bipush 34
iastore
dup
bipush 10
bipush 47
iastore
dup
bipush 11
bipush 91
iastore
dup
bipush 12
bipush 93
iastore
dup
bipush 13
bipush 63
iastore
dup
bipush 14
bipush 61
iastore
dup
bipush 15
bipush 123
iastore
dup
bipush 16
bipush 125
iastore
dup
bipush 17
bipush 32
iastore
dup
bipush 18
bipush 9
iastore
7: astore 1
start local 1 8: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 12
StackMap locals: java.util.BitSet int[] top int int int[]
StackMap stack:
9: aload 5
iload 3
iaload
istore 2
start local 2 10: aload 0
iload 2
iconst_0
invokevirtual java.util.BitSet.set:(IZ)V
end local 2 11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 4
if_icmplt 9
13: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 14 0 bits Ljava/util/BitSet;
2 6 1 i I
8 14 1 separators [I
10 11 2 separator I
private static java.util.BitSet validCookieValueOctets();
descriptor: ()Ljava/util/BitSet;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: new java.util.BitSet
dup
invokespecial java.util.BitSet.<init>:()V
astore 0
start local 0 1: aload 0
bipush 33
invokevirtual java.util.BitSet.set:(I)V
2: bipush 35
istore 1
start local 1 3: goto 6
4: StackMap locals: java.util.BitSet int
StackMap stack:
aload 0
iload 1
invokevirtual java.util.BitSet.set:(I)V
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
bipush 43
if_icmple 4
end local 1 7: bipush 45
istore 1
start local 1 8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual java.util.BitSet.set:(I)V
10: iinc 1 1
StackMap locals:
StackMap stack:
11: iload 1
bipush 58
if_icmple 9
end local 1 12: bipush 60
istore 1
start local 1 13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual java.util.BitSet.set:(I)V
15: iinc 1 1
StackMap locals:
StackMap stack:
16: iload 1
bipush 91
if_icmple 14
end local 1 17: bipush 93
istore 1
start local 1 18: goto 21
19: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual java.util.BitSet.set:(I)V
20: iinc 1 1
StackMap locals:
StackMap stack:
21: iload 1
bipush 126
if_icmple 19
end local 1 22: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 23 0 bits Ljava/util/BitSet;
3 7 1 i I
8 12 1 i I
13 17 1 i I
18 22 1 i I
private static java.util.BitSet validCookieAttributeValueOctets();
descriptor: ()Ljava/util/BitSet;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: new java.util.BitSet
dup
invokespecial java.util.BitSet.<init>:()V
astore 0
start local 0 1: bipush 32
istore 1
start local 1 2: goto 5
3: StackMap locals: java.util.BitSet int
StackMap stack:
aload 0
iload 1
invokevirtual java.util.BitSet.set:(I)V
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
bipush 127
if_icmplt 3
end local 1 6: aload 0
bipush 59
iconst_0
invokevirtual java.util.BitSet.set:(IZ)V
7: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 8 0 bits Ljava/util/BitSet;
2 6 1 i I
static java.lang.StringBuilder stringBuilder();
descriptor: ()Ljava/lang/StringBuilder;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic io.netty.util.internal.InternalThreadLocalMap.get:()Lio/netty/util/internal/InternalThreadLocalMap;
invokevirtual io.netty.util.internal.InternalThreadLocalMap.stringBuilder:()Ljava/lang/StringBuilder;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String stripTrailingSeparatorOrNull(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.StringBuilder.length:()I
ifne 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.stripTrailingSeparator:(Ljava/lang/StringBuilder;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
buf
static java.lang.String stripTrailingSeparator(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.StringBuilder.length:()I
ifle 2
1: aload 0
aload 0
invokevirtual java.lang.StringBuilder.length:()I
iconst_2
isub
invokevirtual java.lang.StringBuilder.setLength:(I)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
buf
static void add(java.lang.StringBuilder, java.lang.String, long);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;J)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: aload 0
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 0
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
3: aload 0
bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 0
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sb Ljava/lang/StringBuilder;
0 6 1 name Ljava/lang/String;
0 6 2 val J
MethodParameters:
Name Flags
sb
name
val
static void add(java.lang.StringBuilder, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: aload 0
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 0
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 0
bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 0
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 sb Ljava/lang/StringBuilder;
0 6 1 name Ljava/lang/String;
0 6 2 val Ljava/lang/String;
MethodParameters:
Name Flags
sb
name
val
static void add(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: aload 0
bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 0
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 sb Ljava/lang/StringBuilder;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
sb
name
static void addQuoted(java.lang.StringBuilder, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: ldc ""
astore 2
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 0
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 0
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: aload 0
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 0
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 0
bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 0
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 sb Ljava/lang/StringBuilder;
0 10 1 name Ljava/lang/String;
0 10 2 val Ljava/lang/String;
MethodParameters:
Name Flags
sb
name
val
static int firstInvalidCookieNameOctet(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.netty.handler.codec.http.cookie.CookieUtil.VALID_COOKIE_NAME_OCTETS:Ljava/util/BitSet;
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.firstInvalidOctet:(Ljava/lang/CharSequence;Ljava/util/BitSet;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cs Ljava/lang/CharSequence;
MethodParameters:
Name Flags
cs
static int firstInvalidCookieValueOctet(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic io.netty.handler.codec.http.cookie.CookieUtil.VALID_COOKIE_VALUE_OCTETS:Ljava/util/BitSet;
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.firstInvalidOctet:(Ljava/lang/CharSequence;Ljava/util/BitSet;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cs Ljava/lang/CharSequence;
MethodParameters:
Name Flags
cs
static int firstInvalidOctet(java.lang.CharSequence, java.util.BitSet);
descriptor: (Ljava/lang/CharSequence;Ljava/util/BitSet;)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, 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
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 3
start local 3 3: aload 1
iload 3
invokevirtual java.util.BitSet.get:(I)Z
ifne 5
4: iload 2
ireturn
end local 3 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 2
end local 2 7: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 cs Ljava/lang/CharSequence;
0 8 1 bits Ljava/util/BitSet;
1 7 2 i I
3 5 3 c C
MethodParameters:
Name Flags
cs
bits
static java.lang.CharSequence unwrapValue(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.CharSequence.length:()I
istore 1
start local 1 1: iload 1
ifle 7
aload 0
iconst_0
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 34
if_icmpne 7
2: iload 1
iconst_2
if_icmplt 6
aload 0
iload 1
iconst_1
isub
invokeinterface java.lang.CharSequence.charAt:(I)C
bipush 34
if_icmpne 6
3: iload 1
iconst_2
if_icmpne 4
ldc ""
goto 5
StackMap locals: int
StackMap stack:
4: aload 0
iconst_1
iload 1
iconst_1
isub
invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
StackMap locals:
StackMap stack: java.lang.CharSequence
5: areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 cs Ljava/lang/CharSequence;
1 8 1 len I
MethodParameters:
Name Flags
cs
static java.lang.String validateAttributeValue(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
3: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 1
getstatic io.netty.handler.codec.http.cookie.CookieUtil.VALID_COOKIE_ATTRIBUTE_VALUE_OCTETS:Ljava/util/BitSet;
invokestatic io.netty.handler.codec.http.cookie.CookieUtil.firstInvalidOctet:(Ljava/lang/CharSequence;Ljava/util/BitSet;)I
istore 2
start local 2 6: iload 2
iconst_m1
if_icmpeq 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " contains the prohibited characters: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: int
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Ljava/lang/String;
0 9 1 value Ljava/lang/String;
6 9 2 i I
MethodParameters:
Name Flags
name
value
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/cookie/CookieUtil;
}
SourceFile: "CookieUtil.java"