public class org.glassfish.grizzly.http.util.CookieParserUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.util.CookieParserUtils
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$glassfish$grizzly$http$util$DataChunk$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/http/util/CookieParserUtils;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/util/CookieParserUtils;
public static void parseClientCookies(org.glassfish.grizzly.http.Cookies, org.glassfish.grizzly.Buffer, int, int);
descriptor: (Lorg/glassfish/grizzly/http/Cookies;Lorg/glassfish/grizzly/Buffer;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
getstatic org.glassfish.grizzly.http.util.CookieUtils.COOKIE_VERSION_ONE_STRICT_COMPLIANCE:Z
getstatic org.glassfish.grizzly.http.util.CookieUtils.RFC_6265_SUPPORT_ENABLED:Z
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.parseClientCookies:(Lorg/glassfish/grizzly/http/Cookies;Lorg/glassfish/grizzly/Buffer;IIZZ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cookies Lorg/glassfish/grizzly/http/Cookies;
0 2 1 buffer Lorg/glassfish/grizzly/Buffer;
0 2 2 off I
0 2 3 len I
MethodParameters:
Name Flags
cookies
buffer
off
len
public static void parseClientCookies(org.glassfish.grizzly.http.Cookies, org.glassfish.grizzly.Buffer, int, int, boolean, boolean);
descriptor: (Lorg/glassfish/grizzly/http/Cookies;Lorg/glassfish/grizzly/Buffer;IIZZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=17, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "cookies cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "buffer cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 3
ifgt 6
5: return
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.hasArray:()Z
ifeq 11
7: aload 0
8: aload 1
invokeinterface org.glassfish.grizzly.Buffer.array:()[B
iload 2
aload 1
invokeinterface org.glassfish.grizzly.Buffer.arrayOffset:()I
iadd
iload 3
iload 4
iload 5
9: invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.parseClientCookies:(Lorg/glassfish/grizzly/http/Cookies;[BIIZZ)V
10: return
11: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 6
start local 6 12: iload 2
istore 7
start local 7 13: iconst_0
istore 12
start local 12 14: aconst_null
astore 13
start local 13 15: aconst_null
astore 14
start local 14 16: goto 100
17: StackMap locals: org.glassfish.grizzly.http.Cookies org.glassfish.grizzly.Buffer int int int int int int top top top top int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState
StackMap stack:
iconst_0
istore 15
start local 15 18: iconst_0
istore 16
start local 16 19: goto 21
20: StackMap locals: int int
StackMap stack:
iinc 7 1
21: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 22
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(I)Z
ifne 20
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 20
22: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 24
23: return
24: StackMap locals:
StackMap stack:
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 36
if_icmpne 27
25: iconst_1
istore 15
26: iinc 7 1
27: StackMap locals:
StackMap stack:
iload 7
istore 8
start local 8 28: aload 1
iload 7
iload 6
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Lorg/glassfish/grizzly/Buffer;II)I
dup
istore 9
start local 9 29: istore 7
30: goto 32
31: StackMap locals: org.glassfish.grizzly.http.Cookies org.glassfish.grizzly.Buffer int int int int int int int int top top int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState int int
StackMap stack:
iinc 7 1
32: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 33
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 31
33: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 61
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 61
if_icmpne 61
34: StackMap locals:
StackMap stack:
iinc 7 1
35: iload 7
iload 6
if_icmpge 36
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 34
36: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 38
37: return
38: StackMap locals:
StackMap stack:
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
lookupswitch { // 3
34: 39
44: 45
59: 45
default: 48
}
39: StackMap locals:
StackMap stack:
iconst_1
istore 16
40: iload 7
iconst_1
iadd
istore 10
start local 10 41: aload 1
iload 10
iload 6
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getQuotedValueEndPosition:(Lorg/glassfish/grizzly/Buffer;II)I
istore 11
start local 11 42: iload 11
istore 7
43: iload 7
iload 6
if_icmplt 66
44: return
end local 11 end local 10 45: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 11
start local 11 46: istore 10
start local 10 47: goto 66
end local 11 end local 10 48: StackMap locals:
StackMap stack:
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(IZ)Z
ifne 53
49: iload 7
istore 10
start local 10 50: aload 1
iload 10
iload 6
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Lorg/glassfish/grizzly/Buffer;IIZ)I
istore 11
start local 11 51: iload 11
istore 7
52: goto 66
end local 11 end local 10 53: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
ldc "Invalid cookie. Value not a token or quoted value"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
54: goto 56
55: StackMap locals:
StackMap stack:
iinc 7 1
56: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 57
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 59
if_icmpeq 57
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 44
if_icmpne 55
57: StackMap locals:
StackMap stack:
iinc 7 1
58: aconst_null
astore 13
59: aconst_null
astore 14
60: goto 100
61: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 11
start local 11 62: istore 10
start local 10 63: iload 9
istore 7
64: goto 66
65: StackMap locals: org.glassfish.grizzly.http.Cookies org.glassfish.grizzly.Buffer int int int int int int int int int int int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState int int
StackMap stack:
iinc 7 1
66: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 69
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 65
67: goto 69
68: StackMap locals:
StackMap stack:
iinc 7 1
69: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 70
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 59
if_icmpeq 70
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 44
if_icmpne 68
70: StackMap locals:
StackMap stack:
iinc 7 1
71: iload 15
ifeq 89
72: iconst_0
istore 15
73: ldc "Version"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 79
aload 13
ifnonnull 79
74: iload 5
ifeq 76
75: goto 100
76: StackMap locals:
StackMap stack:
aload 1
iload 10
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 49
if_icmpne 100
iload 11
iload 10
iconst_1
iadd
if_icmpne 100
77: iconst_1
istore 12
78: goto 100
79: StackMap locals:
StackMap stack:
aload 13
ifnonnull 81
80: goto 100
81: StackMap locals:
StackMap stack:
ldc "Domain"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 84
82: aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getDomain:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
83: goto 100
84: StackMap locals:
StackMap stack:
ldc "Path"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 87
85: aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getPath:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
86: goto 100
87: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
ldc "Unknown Special Cookie"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
88: goto 100
89: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.Cookies.getNextUnusedCookie:()Lorg/glassfish/grizzly/http/Cookie;
astore 13
90: aload 13
invokevirtual org.glassfish.grizzly.http.Cookie.getLazyCookieState:()Lorg/glassfish/grizzly/http/LazyCookieState;
astore 14
91: iload 5
ifne 93
aload 13
invokevirtual org.glassfish.grizzly.http.Cookie.isVersionSet:()Z
ifne 93
92: aload 13
iload 12
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
93: StackMap locals:
StackMap stack:
aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getName:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 8
iload 9
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
94: iload 10
iconst_m1
if_icmpeq 99
95: aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
96: iload 16
ifeq 100
97: aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.unescapeDoubleQuotes:(Lorg/glassfish/grizzly/http/util/DataChunk;)V
98: goto 100
99: StackMap locals:
StackMap stack:
aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
ldc ""
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
end local 16 end local 15 end local 11 end local 10 end local 9 end local 8 100: StackMap locals: org.glassfish.grizzly.http.Cookies org.glassfish.grizzly.Buffer int int int int int int top top top top int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState
StackMap stack:
iload 7
iload 6
if_icmplt 17
101: return
end local 14 end local 13 end local 12 end local 7 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 102 0 cookies Lorg/glassfish/grizzly/http/Cookies;
0 102 1 buffer Lorg/glassfish/grizzly/Buffer;
0 102 2 off I
0 102 3 len I
0 102 4 versionOneStrictCompliance Z
0 102 5 rfc6265Enabled Z
12 102 6 end I
13 102 7 pos I
28 100 8 nameStart I
29 100 9 nameEnd I
41 45 10 valueStart I
47 48 10 valueStart I
50 53 10 valueStart I
63 100 10 valueStart I
42 45 11 valueEnd I
46 48 11 valueEnd I
51 53 11 valueEnd I
62 100 11 valueEnd I
14 102 12 version I
15 102 13 cookie Lorg/glassfish/grizzly/http/Cookie;
16 102 14 lazyCookie Lorg/glassfish/grizzly/http/LazyCookieState;
18 100 15 isSpecial Z
19 100 16 isQuoted Z
MethodParameters:
Name Flags
cookies
buffer
off
len
versionOneStrictCompliance
rfc6265Enabled
public static void parseClientCookies(org.glassfish.grizzly.http.Cookies, byte[], int, int);
descriptor: (Lorg/glassfish/grizzly/http/Cookies;[BII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
getstatic org.glassfish.grizzly.http.util.CookieUtils.COOKIE_VERSION_ONE_STRICT_COMPLIANCE:Z
iconst_0
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.parseClientCookies:(Lorg/glassfish/grizzly/http/Cookies;[BIIZZ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cookies Lorg/glassfish/grizzly/http/Cookies;
0 2 1 bytes [B
0 2 2 off I
0 2 3 len I
MethodParameters:
Name Flags
cookies
bytes
off
len
public static void parseClientCookies(org.glassfish.grizzly.http.Cookies, byte[], int, int, boolean, boolean);
descriptor: (Lorg/glassfish/grizzly/http/Cookies;[BIIZZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=17, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "cookies cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "bytes cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 3
ifgt 6
5: return
6: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 6
start local 6 7: iload 2
istore 7
start local 7 8: iconst_0
istore 12
start local 12 9: aconst_null
astore 13
start local 13 10: aconst_null
astore 14
start local 14 11: goto 95
12: StackMap locals: org.glassfish.grizzly.http.Cookies byte[] int int int int int int top top top top int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState
StackMap stack:
iconst_0
istore 15
start local 15 13: iconst_0
istore 16
start local 16 14: goto 16
15: StackMap locals: int int
StackMap stack:
iinc 7 1
16: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 17
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(I)Z
ifne 15
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 15
17: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 19
18: return
19: StackMap locals:
StackMap stack:
aload 1
iload 7
baload
bipush 36
if_icmpne 22
20: iconst_1
istore 15
21: iinc 7 1
22: StackMap locals:
StackMap stack:
iload 7
istore 8
start local 8 23: aload 1
iload 7
iload 6
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:([BII)I
dup
istore 9
start local 9 24: istore 7
25: goto 27
26: StackMap locals: org.glassfish.grizzly.http.Cookies byte[] int int int int int int int int top top int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState int int
StackMap stack:
iinc 7 1
27: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 28
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 26
28: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 56
aload 1
iload 7
baload
bipush 61
if_icmpne 56
29: StackMap locals:
StackMap stack:
iinc 7 1
30: iload 7
iload 6
if_icmpge 31
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 29
31: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 33
32: return
33: StackMap locals:
StackMap stack:
aload 1
iload 7
baload
lookupswitch { // 3
34: 34
44: 40
59: 40
default: 43
}
34: StackMap locals:
StackMap stack:
iconst_1
istore 16
35: iload 7
iconst_1
iadd
istore 10
start local 10 36: aload 1
iload 10
iload 6
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getQuotedValueEndPosition:([BII)I
istore 11
start local 11 37: iload 11
istore 7
38: iload 7
iload 6
if_icmplt 61
39: return
end local 11 end local 10 40: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 11
start local 11 41: istore 10
start local 10 42: goto 61
end local 11 end local 10 43: StackMap locals:
StackMap stack:
aload 1
iload 7
baload
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(IZ)Z
ifne 48
44: iload 7
istore 10
start local 10 45: aload 1
iload 10
iload 6
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:([BIIZ)I
istore 11
start local 11 46: iload 11
istore 7
47: goto 61
end local 11 end local 10 48: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
ldc "Invalid cookie. Value not a token or quoted value"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
49: goto 51
50: StackMap locals:
StackMap stack:
iinc 7 1
51: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 52
aload 1
iload 7
baload
bipush 59
if_icmpeq 52
aload 1
iload 7
baload
bipush 44
if_icmpne 50
52: StackMap locals:
StackMap stack:
iinc 7 1
53: aconst_null
astore 13
54: aconst_null
astore 14
55: goto 95
56: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 11
start local 11 57: istore 10
start local 10 58: iload 9
istore 7
59: goto 61
60: StackMap locals: org.glassfish.grizzly.http.Cookies byte[] int int int int int int int int int int int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState int int
StackMap stack:
iinc 7 1
61: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 64
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 60
62: goto 64
63: StackMap locals:
StackMap stack:
iinc 7 1
64: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 65
aload 1
iload 7
baload
bipush 59
if_icmpeq 65
aload 1
iload 7
baload
bipush 44
if_icmpne 63
65: StackMap locals:
StackMap stack:
iinc 7 1
66: iload 15
ifeq 84
67: iconst_0
istore 15
68: ldc "Version"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;[BII)Z
ifeq 74
aload 13
ifnonnull 74
69: iload 5
ifeq 71
70: goto 95
71: StackMap locals:
StackMap stack:
aload 1
iload 10
baload
bipush 49
if_icmpne 95
iload 11
iload 10
iconst_1
iadd
if_icmpne 95
72: iconst_1
istore 12
73: goto 95
74: StackMap locals:
StackMap stack:
aload 13
ifnonnull 76
75: goto 95
76: StackMap locals:
StackMap stack:
ldc "Domain"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;[BII)Z
ifeq 79
77: aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getDomain:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
78: goto 95
79: StackMap locals:
StackMap stack:
ldc "Path"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;[BII)Z
ifeq 82
80: aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getPath:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
81: goto 95
82: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
ldc "Unknown Special Cookie"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
83: goto 95
84: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.Cookies.getNextUnusedCookie:()Lorg/glassfish/grizzly/http/Cookie;
astore 13
85: aload 13
invokevirtual org.glassfish.grizzly.http.Cookie.getLazyCookieState:()Lorg/glassfish/grizzly/http/LazyCookieState;
astore 14
86: iload 5
ifne 88
aload 13
invokevirtual org.glassfish.grizzly.http.Cookie.isVersionSet:()Z
ifne 88
87: aload 13
iload 12
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
88: StackMap locals:
StackMap stack:
aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getName:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 8
iload 9
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
89: iload 10
iconst_m1
if_icmpeq 94
90: aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
91: iload 16
ifeq 95
92: aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.unescapeDoubleQuotes:(Lorg/glassfish/grizzly/http/util/DataChunk;)V
93: goto 95
94: StackMap locals:
StackMap stack:
aload 14
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
ldc ""
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
end local 16 end local 15 end local 11 end local 10 end local 9 end local 8 95: StackMap locals: org.glassfish.grizzly.http.Cookies byte[] int int int int int int top top top top int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState
StackMap stack:
iload 7
iload 6
if_icmplt 12
96: return
end local 14 end local 13 end local 12 end local 7 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 97 0 cookies Lorg/glassfish/grizzly/http/Cookies;
0 97 1 bytes [B
0 97 2 off I
0 97 3 len I
0 97 4 versionOneStrictCompliance Z
0 97 5 rfc6265Enabled Z
7 97 6 end I
8 97 7 pos I
23 95 8 nameStart I
24 95 9 nameEnd I
36 40 10 valueStart I
42 43 10 valueStart I
45 48 10 valueStart I
58 95 10 valueStart I
37 40 11 valueEnd I
41 43 11 valueEnd I
46 48 11 valueEnd I
57 95 11 valueEnd I
9 97 12 version I
10 97 13 cookie Lorg/glassfish/grizzly/http/Cookie;
11 97 14 lazyCookie Lorg/glassfish/grizzly/http/LazyCookieState;
13 95 15 isSpecial Z
14 95 16 isQuoted Z
MethodParameters:
Name Flags
cookies
bytes
off
len
versionOneStrictCompliance
rfc6265Enabled
public static void parseClientCookies(org.glassfish.grizzly.http.Cookies, java.lang.String, boolean, boolean);
descriptor: (Lorg/glassfish/grizzly/http/Cookies;Ljava/lang/String;ZZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "cookies cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "cookieStr cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifne 6
5: return
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: iconst_0
istore 10
start local 10 9: aconst_null
astore 11
start local 11 10: goto 95
11: StackMap locals: org.glassfish.grizzly.http.Cookies java.lang.String int int int int top top top top int org.glassfish.grizzly.http.Cookie
StackMap stack:
iconst_0
istore 12
start local 12 12: iconst_0
istore 13
start local 13 13: goto 15
14: StackMap locals: int int
StackMap stack:
iinc 5 1
15: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 16
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(I)Z
ifne 14
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 14
16: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmplt 18
17: return
18: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 36
if_icmpne 21
19: iconst_1
istore 12
20: iinc 5 1
21: StackMap locals:
StackMap stack:
iload 5
istore 6
start local 6 22: aload 1
iload 5
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Ljava/lang/String;II)I
dup
istore 7
start local 7 23: istore 5
24: goto 26
25: StackMap locals: org.glassfish.grizzly.http.Cookies java.lang.String int int int int int int top top int org.glassfish.grizzly.http.Cookie int int
StackMap stack:
iinc 5 1
26: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 27
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 25
27: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 54
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 61
if_icmpne 54
28: StackMap locals:
StackMap stack:
iinc 5 1
29: iload 5
iload 4
if_icmpge 30
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 28
30: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmplt 32
31: return
32: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 3
34: 33
44: 39
59: 39
default: 42
}
33: StackMap locals:
StackMap stack:
iconst_1
istore 13
34: iload 5
iconst_1
iadd
istore 8
start local 8 35: aload 1
iload 8
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getQuotedValueEndPosition:(Ljava/lang/String;II)I
istore 9
start local 9 36: iload 9
istore 5
37: iload 5
iload 4
if_icmplt 59
38: return
end local 9 end local 8 39: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 9
start local 9 40: istore 8
start local 8 41: goto 59
end local 9 end local 8 42: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(IZ)Z
ifne 47
43: iload 5
istore 8
start local 8 44: aload 1
iload 8
iload 4
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Ljava/lang/String;IIZ)I
istore 9
start local 9 45: iload 9
istore 5
46: goto 59
end local 9 end local 8 47: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
ldc "Invalid cookie. Value not a token or quoted value"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
48: goto 50
49: StackMap locals:
StackMap stack:
iinc 5 1
50: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 51
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 59
if_icmpeq 51
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 44
if_icmpne 49
51: StackMap locals:
StackMap stack:
iinc 5 1
52: aconst_null
astore 11
53: goto 95
54: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 9
start local 9 55: istore 8
start local 8 56: iload 7
istore 5
57: goto 59
58: StackMap locals: org.glassfish.grizzly.http.Cookies java.lang.String int int int int int int int int int org.glassfish.grizzly.http.Cookie int int
StackMap stack:
iinc 5 1
59: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 62
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 58
60: goto 62
61: StackMap locals:
StackMap stack:
iinc 5 1
62: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 63
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 59
if_icmpeq 63
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 44
if_icmpne 61
63: StackMap locals:
StackMap stack:
iinc 5 1
64: iload 12
ifeq 82
65: iconst_0
istore 12
66: ldc "Version"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 72
aload 11
ifnonnull 72
67: iload 3
ifeq 69
68: goto 95
69: StackMap locals:
StackMap stack:
aload 1
iload 8
invokevirtual java.lang.String.charAt:(I)C
bipush 49
if_icmpne 95
iload 9
iload 8
iconst_1
iadd
if_icmpne 95
70: iconst_1
istore 10
71: goto 95
72: StackMap locals:
StackMap stack:
aload 11
ifnonnull 74
73: goto 95
74: StackMap locals:
StackMap stack:
ldc "Domain"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 77
75: aload 11
aload 1
iload 8
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.Cookie.setDomain:(Ljava/lang/String;)V
76: goto 95
77: StackMap locals:
StackMap stack:
ldc "Path"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 80
78: aload 11
aload 1
iload 8
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.Cookie.setPath:(Ljava/lang/String;)V
79: goto 95
80: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
ldc "Unknown Special Cookie"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
81: goto 95
82: StackMap locals:
StackMap stack:
aload 1
iload 6
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 14
start local 14 83: iload 8
iconst_m1
if_icmpeq 89
84: iload 13
ifeq 87
85: aload 1
iload 8
iload 9
iload 8
isub
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.unescapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
astore 15
start local 15 86: goto 90
end local 15 87: StackMap locals: java.lang.String
StackMap stack:
aload 1
iload 8
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 15
start local 15 88: goto 90
end local 15 89: StackMap locals:
StackMap stack:
ldc ""
astore 15
start local 15 90: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.Cookies.getNextUnusedCookie:()Lorg/glassfish/grizzly/http/Cookie;
astore 11
91: aload 11
aload 14
invokevirtual org.glassfish.grizzly.http.Cookie.setName:(Ljava/lang/String;)V
92: aload 11
aload 15
invokevirtual org.glassfish.grizzly.http.Cookie.setValue:(Ljava/lang/String;)V
93: iload 3
ifne 95
aload 11
invokevirtual org.glassfish.grizzly.http.Cookie.isVersionSet:()Z
ifne 95
94: aload 11
iload 10
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
end local 15 end local 14 end local 13 end local 12 end local 9 end local 8 end local 7 end local 6 95: StackMap locals: org.glassfish.grizzly.http.Cookies java.lang.String int int int int top top top top int org.glassfish.grizzly.http.Cookie
StackMap stack:
iload 5
iload 4
if_icmplt 11
96: return
end local 11 end local 10 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 97 0 cookies Lorg/glassfish/grizzly/http/Cookies;
0 97 1 cookiesStr Ljava/lang/String;
0 97 2 versionOneStrictCompliance Z
0 97 3 rfc6265Enabled Z
7 97 4 end I
8 97 5 pos I
22 95 6 nameStart I
23 95 7 nameEnd I
35 39 8 valueStart I
41 42 8 valueStart I
44 47 8 valueStart I
56 95 8 valueStart I
36 39 9 valueEnd I
40 42 9 valueEnd I
45 47 9 valueEnd I
55 95 9 valueEnd I
9 97 10 version I
10 97 11 cookie Lorg/glassfish/grizzly/http/Cookie;
12 95 12 isSpecial Z
13 95 13 isQuoted Z
83 95 14 name Ljava/lang/String;
86 87 15 value Ljava/lang/String;
88 89 15 value Ljava/lang/String;
90 95 15 value Ljava/lang/String;
MethodParameters:
Name Flags
cookies
cookiesStr
versionOneStrictCompliance
rfc6265Enabled
public static void parseServerCookies(org.glassfish.grizzly.http.Cookies, byte[], int, int, boolean, boolean);
descriptor: (Lorg/glassfish/grizzly/http/Cookies;[BIIZZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=17, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "cookies cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "bytes cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 3
ifgt 6
5: return
6: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 6
start local 6 7: iload 2
istore 7
start local 7 8: aconst_null
astore 12
start local 12 9: aconst_null
astore 13
start local 13 10: goto 110
11: StackMap locals: org.glassfish.grizzly.http.Cookies byte[] int int int int int int top top top top org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState
StackMap stack:
iconst_0
istore 14
start local 14 12: goto 14
13: StackMap locals: int
StackMap stack:
iinc 7 1
14: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 15
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(I)Z
ifne 13
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 13
15: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 17
16: return
17: StackMap locals:
StackMap stack:
iload 7
istore 8
start local 8 18: aload 1
iload 7
iload 6
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:([BII)I
dup
istore 9
start local 9 19: istore 7
20: goto 22
21: StackMap locals: org.glassfish.grizzly.http.Cookies byte[] int int int int int int int int top top org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState int
StackMap stack:
iinc 7 1
22: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 23
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 21
23: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 51
aload 1
iload 7
baload
bipush 61
if_icmpne 51
24: StackMap locals:
StackMap stack:
iinc 7 1
25: iload 7
iload 6
if_icmpge 26
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 24
26: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 28
27: return
28: StackMap locals:
StackMap stack:
aload 1
iload 7
baload
lookupswitch { // 3
34: 29
44: 35
59: 35
default: 38
}
29: StackMap locals:
StackMap stack:
iconst_1
istore 14
30: iload 7
iconst_1
iadd
istore 10
start local 10 31: aload 1
iload 10
iload 6
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getQuotedValueEndPosition:([BII)I
istore 11
start local 11 32: iload 11
istore 7
33: iload 7
iload 6
if_icmplt 56
34: return
end local 11 end local 10 35: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 11
start local 11 36: istore 10
start local 10 37: goto 56
end local 11 end local 10 38: StackMap locals:
StackMap stack:
aload 1
iload 7
baload
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(IZ)Z
ifne 43
39: iload 7
istore 10
start local 10 40: aload 1
iload 10
iload 6
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:([BIIZ)I
istore 11
start local 11 41: iload 11
istore 7
42: goto 56
end local 11 end local 10 43: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
ldc "Invalid cookie. Value not a token or quoted value"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
44: goto 46
45: StackMap locals:
StackMap stack:
iinc 7 1
46: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 47
aload 1
iload 7
baload
bipush 59
if_icmpeq 47
aload 1
iload 7
baload
bipush 44
if_icmpne 45
47: StackMap locals:
StackMap stack:
iinc 7 1
48: aconst_null
astore 12
49: aconst_null
astore 13
50: goto 110
51: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 11
start local 11 52: istore 10
start local 10 53: iload 9
istore 7
54: goto 56
55: StackMap locals: org.glassfish.grizzly.http.Cookies byte[] int int int int int int int int int int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState int
StackMap stack:
iinc 7 1
56: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 59
aload 1
iload 7
baload
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 55
57: goto 59
58: StackMap locals:
StackMap stack:
iinc 7 1
59: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 60
aload 1
iload 7
baload
bipush 59
if_icmpeq 60
aload 1
iload 7
baload
bipush 44
if_icmpne 58
60: StackMap locals:
StackMap stack:
iinc 7 1
61: aload 12
ifnull 99
62: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getDomain:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.isNull:()Z
ifeq 65
ldc "Domain"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;[BII)Z
ifeq 65
63: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getDomain:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
64: goto 110
65: StackMap locals:
StackMap stack:
aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getPath:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.isNull:()Z
ifeq 68
ldc "Path"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;[BII)Z
ifeq 68
66: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getPath:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
67: goto 110
68: StackMap locals:
StackMap stack:
ldc "Version"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;[BII)Z
ifeq 74
69: iload 5
ifeq 71
70: goto 110
71: StackMap locals:
StackMap stack:
aload 1
iload 10
baload
bipush 49
if_icmpne 110
iload 11
iload 10
iconst_1
iadd
if_icmpne 110
72: aload 12
iconst_1
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
73: goto 110
74: StackMap locals:
StackMap stack:
aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getComment:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.isNull:()Z
ifeq 77
ldc "Comment"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;[BII)Z
ifeq 77
75: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getComment:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
76: goto 110
77: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.getMaxAge:()I
iconst_m1
if_icmpne 80
ldc "Max-Age"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;[BII)Z
ifeq 80
78: aload 12
aload 1
iload 10
iload 11
iload 10
isub
invokestatic org.glassfish.grizzly.http.util.Ascii.parseInt:([BII)I
invokevirtual org.glassfish.grizzly.http.Cookie.setMaxAge:(I)V
79: goto 110
80: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.getVersion:()I
ifeq 81
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.isVersionSet:()Z
ifne 91
StackMap locals:
StackMap stack:
81: aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.getMaxAge:()I
iconst_m1
if_icmpne 91
82: ldc "Expires"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;[BII)Z
ifeq 91
83: aload 1
iload 11
iconst_1
iadd
iload 6
iconst_0
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:([BIIZ)I
istore 11
84: iload 11
iconst_1
iadd
istore 7
85: new java.lang.String
dup
aload 1
iload 10
iload 11
iload 10
isub
getstatic org.glassfish.grizzly.utils.Charsets.ASCII_CHARSET:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BIILjava/nio/charset/Charset;)V
astore 15
start local 15 86: getstatic org.glassfish.grizzly.http.util.CookieUtils.OLD_COOKIE_FORMAT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.text.SimpleDateFormat
aload 15
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
astore 16
start local 16 87: aload 12
aload 16
invokevirtual java.util.Date.getTime:()J
invokestatic java.lang.System.currentTimeMillis:()J
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.getMaxAgeDelta:(JJ)I
sipush 1000
idiv
invokevirtual org.glassfish.grizzly.http.Cookie.setMaxAge:(I)V
end local 16 end local 15 88: goto 110
StackMap locals:
StackMap stack: java.text.ParseException
89: pop
90: goto 110
91: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.isSecure:()Z
ifne 94
ldc "Secure"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;[BII)Z
ifeq 94
92: aload 13
iconst_1
invokevirtual org.glassfish.grizzly.http.LazyCookieState.setSecure:(Z)V
93: goto 110
94: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.isHttpOnly:()Z
ifne 97
ldc "HttpOnly"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;[BII)Z
ifeq 97
95: aload 12
iconst_1
invokevirtual org.glassfish.grizzly.http.Cookie.setHttpOnly:(Z)V
96: goto 110
97: StackMap locals:
StackMap stack:
ldc "Discard"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;[BII)Z
ifeq 99
98: goto 110
99: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.Cookies.getNextUnusedCookie:()Lorg/glassfish/grizzly/http/Cookie;
astore 12
100: iload 5
ifne 102
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.isVersionSet:()Z
ifne 102
101: aload 12
iconst_0
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
102: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.getLazyCookieState:()Lorg/glassfish/grizzly/http/LazyCookieState;
astore 13
103: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getName:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 8
iload 9
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
104: iload 10
iconst_m1
if_icmpeq 109
105: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
106: iload 14
ifeq 110
107: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.unescapeDoubleQuotes:(Lorg/glassfish/grizzly/http/util/DataChunk;)V
108: goto 110
109: StackMap locals:
StackMap stack:
aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
ldc ""
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
end local 14 end local 11 end local 10 end local 9 end local 8 110: StackMap locals: org.glassfish.grizzly.http.Cookies byte[] int int int int int int top top top top org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState
StackMap stack:
iload 7
iload 6
if_icmplt 11
111: return
end local 13 end local 12 end local 7 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 112 0 cookies Lorg/glassfish/grizzly/http/Cookies;
0 112 1 bytes [B
0 112 2 off I
0 112 3 len I
0 112 4 versionOneStrictCompliance Z
0 112 5 rfc6265Enabled Z
7 112 6 end I
8 112 7 pos I
18 110 8 nameStart I
19 110 9 nameEnd I
31 35 10 valueStart I
37 38 10 valueStart I
40 43 10 valueStart I
53 110 10 valueStart I
32 35 11 valueEnd I
36 38 11 valueEnd I
41 43 11 valueEnd I
52 110 11 valueEnd I
9 112 12 cookie Lorg/glassfish/grizzly/http/Cookie;
10 112 13 lazyCookie Lorg/glassfish/grizzly/http/LazyCookieState;
12 110 14 isQuoted Z
86 88 15 expiresDate Ljava/lang/String;
87 88 16 date Ljava/util/Date;
Exception table:
from to target type
83 88 89 Class java.text.ParseException
MethodParameters:
Name Flags
cookies
bytes
off
len
versionOneStrictCompliance
rfc6265Enabled
public static void parseServerCookies(org.glassfish.grizzly.http.Cookies, org.glassfish.grizzly.Buffer, int, int, boolean, boolean);
descriptor: (Lorg/glassfish/grizzly/http/Cookies;Lorg/glassfish/grizzly/Buffer;IIZZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=17, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "cookies cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "buffer cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 3
ifgt 6
5: return
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.glassfish.grizzly.Buffer.hasArray:()Z
ifeq 11
7: aload 0
8: aload 1
invokeinterface org.glassfish.grizzly.Buffer.array:()[B
iload 2
aload 1
invokeinterface org.glassfish.grizzly.Buffer.arrayOffset:()I
iadd
iload 3
iload 4
iload 5
9: invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.parseServerCookies:(Lorg/glassfish/grizzly/http/Cookies;[BIIZZ)V
10: return
11: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 6
start local 6 12: iload 2
istore 7
start local 7 13: aconst_null
astore 12
start local 12 14: aconst_null
astore 13
start local 13 15: goto 115
16: StackMap locals: org.glassfish.grizzly.http.Cookies org.glassfish.grizzly.Buffer int int int int int int top top top top org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState
StackMap stack:
iconst_0
istore 14
start local 14 17: goto 19
18: StackMap locals: int
StackMap stack:
iinc 7 1
19: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 20
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(I)Z
ifne 18
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 18
20: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 22
21: return
22: StackMap locals:
StackMap stack:
iload 7
istore 8
start local 8 23: aload 1
iload 7
iload 6
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Lorg/glassfish/grizzly/Buffer;II)I
dup
istore 9
start local 9 24: istore 7
25: goto 27
26: StackMap locals: org.glassfish.grizzly.http.Cookies org.glassfish.grizzly.Buffer int int int int int int int int top top org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState int
StackMap stack:
iinc 7 1
27: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 28
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 26
28: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 56
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 61
if_icmpne 56
29: StackMap locals:
StackMap stack:
iinc 7 1
30: iload 7
iload 6
if_icmpge 31
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 29
31: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 33
32: return
33: StackMap locals:
StackMap stack:
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
lookupswitch { // 3
34: 34
44: 40
59: 40
default: 43
}
34: StackMap locals:
StackMap stack:
iconst_1
istore 14
35: iload 7
iconst_1
iadd
istore 10
start local 10 36: aload 1
iload 10
iload 6
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getQuotedValueEndPosition:(Lorg/glassfish/grizzly/Buffer;II)I
istore 11
start local 11 37: iload 11
istore 7
38: iload 7
iload 6
if_icmplt 61
39: return
end local 11 end local 10 40: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 11
start local 11 41: istore 10
start local 10 42: goto 61
end local 11 end local 10 43: StackMap locals:
StackMap stack:
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(IZ)Z
ifne 48
44: iload 7
istore 10
start local 10 45: aload 1
iload 10
iload 6
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Lorg/glassfish/grizzly/Buffer;IIZ)I
istore 11
start local 11 46: iload 11
istore 7
47: goto 61
end local 11 end local 10 48: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
ldc "Invalid cookie. Value not a token or quoted value"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
49: goto 51
50: StackMap locals:
StackMap stack:
iinc 7 1
51: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 52
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 59
if_icmpeq 52
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 44
if_icmpne 50
52: StackMap locals:
StackMap stack:
iinc 7 1
53: aconst_null
astore 12
54: aconst_null
astore 13
55: goto 115
56: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 11
start local 11 57: istore 10
start local 10 58: iload 9
istore 7
59: goto 61
60: StackMap locals: org.glassfish.grizzly.http.Cookies org.glassfish.grizzly.Buffer int int int int int int int int int int org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState int
StackMap stack:
iinc 7 1
61: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 64
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 60
62: goto 64
63: StackMap locals:
StackMap stack:
iinc 7 1
64: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmpge 65
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 59
if_icmpeq 65
aload 1
iload 7
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 44
if_icmpne 63
65: StackMap locals:
StackMap stack:
iinc 7 1
66: aload 12
ifnull 104
67: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getDomain:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.isNull:()Z
ifeq 70
ldc "Domain"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 70
68: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getDomain:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
69: goto 115
70: StackMap locals:
StackMap stack:
aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getPath:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.isNull:()Z
ifeq 73
ldc "Path"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 73
71: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getPath:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
72: goto 115
73: StackMap locals:
StackMap stack:
ldc "Version"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 79
74: iload 5
ifeq 76
75: goto 115
76: StackMap locals:
StackMap stack:
aload 1
iload 10
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 49
if_icmpne 115
iload 11
iload 10
iconst_1
iadd
if_icmpne 115
77: aload 12
iconst_1
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
78: goto 115
79: StackMap locals:
StackMap stack:
aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getComment:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.isNull:()Z
ifeq 82
ldc "Comment"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 82
80: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getComment:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
81: goto 115
82: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.getMaxAge:()I
iconst_m1
if_icmpne 85
ldc "Max-Age"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 85
83: aload 12
aload 1
iload 10
iload 11
iload 10
isub
invokestatic org.glassfish.grizzly.http.util.Ascii.parseInt:(Lorg/glassfish/grizzly/Buffer;II)I
invokevirtual org.glassfish.grizzly.http.Cookie.setMaxAge:(I)V
84: goto 115
85: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.getVersion:()I
ifeq 86
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.isVersionSet:()Z
ifne 96
StackMap locals:
StackMap stack:
86: aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.getMaxAge:()I
iconst_m1
if_icmpne 96
87: ldc "Expires"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 96
88: aload 1
iload 11
iconst_1
iadd
iload 6
iconst_0
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Lorg/glassfish/grizzly/Buffer;IIZ)I
istore 11
89: iload 11
iconst_1
iadd
istore 7
90: aload 1
getstatic org.glassfish.grizzly.utils.Charsets.ASCII_CHARSET:Ljava/nio/charset/Charset;
iload 10
iload 11
invokeinterface org.glassfish.grizzly.Buffer.toStringContent:(Ljava/nio/charset/Charset;II)Ljava/lang/String;
astore 15
start local 15 91: getstatic org.glassfish.grizzly.http.util.CookieUtils.OLD_COOKIE_FORMAT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.text.SimpleDateFormat
aload 15
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
astore 16
start local 16 92: aload 12
aload 16
invokevirtual java.util.Date.getTime:()J
invokestatic java.lang.System.currentTimeMillis:()J
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.getMaxAgeDelta:(JJ)I
sipush 1000
idiv
invokevirtual org.glassfish.grizzly.http.Cookie.setMaxAge:(I)V
end local 16 end local 15 93: goto 115
StackMap locals:
StackMap stack: java.text.ParseException
94: pop
95: goto 115
96: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.isSecure:()Z
ifne 99
ldc "Secure"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 99
97: aload 13
iconst_1
invokevirtual org.glassfish.grizzly.http.LazyCookieState.setSecure:(Z)V
98: goto 115
99: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.isHttpOnly:()Z
ifne 102
ldc "HttpOnly"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 102
100: aload 12
iconst_1
invokevirtual org.glassfish.grizzly.http.Cookie.setHttpOnly:(Z)V
101: goto 115
102: StackMap locals:
StackMap stack:
ldc "Discard"
aload 1
iload 8
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;II)Z
ifeq 104
103: goto 115
104: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.Cookies.getNextUnusedCookie:()Lorg/glassfish/grizzly/http/Cookie;
astore 12
105: iload 5
ifne 107
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.isVersionSet:()Z
ifne 107
106: aload 12
iconst_0
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
107: StackMap locals:
StackMap stack:
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.getLazyCookieState:()Lorg/glassfish/grizzly/http/LazyCookieState;
astore 13
108: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getName:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 8
iload 9
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
109: iload 10
iconst_m1
if_icmpeq 114
110: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 1
iload 10
iload 11
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
111: iload 14
ifeq 115
112: aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.unescapeDoubleQuotes:(Lorg/glassfish/grizzly/http/util/DataChunk;)V
113: goto 115
114: StackMap locals:
StackMap stack:
aload 13
invokevirtual org.glassfish.grizzly.http.LazyCookieState.getValue:()Lorg/glassfish/grizzly/http/util/DataChunk;
ldc ""
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
end local 14 end local 11 end local 10 end local 9 end local 8 115: StackMap locals: org.glassfish.grizzly.http.Cookies org.glassfish.grizzly.Buffer int int int int int int top top top top org.glassfish.grizzly.http.Cookie org.glassfish.grizzly.http.LazyCookieState
StackMap stack:
iload 7
iload 6
if_icmplt 16
116: return
end local 13 end local 12 end local 7 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 117 0 cookies Lorg/glassfish/grizzly/http/Cookies;
0 117 1 buffer Lorg/glassfish/grizzly/Buffer;
0 117 2 off I
0 117 3 len I
0 117 4 versionOneStrictCompliance Z
0 117 5 rfc6265Enabled Z
12 117 6 end I
13 117 7 pos I
23 115 8 nameStart I
24 115 9 nameEnd I
36 40 10 valueStart I
42 43 10 valueStart I
45 48 10 valueStart I
58 115 10 valueStart I
37 40 11 valueEnd I
41 43 11 valueEnd I
46 48 11 valueEnd I
57 115 11 valueEnd I
14 117 12 cookie Lorg/glassfish/grizzly/http/Cookie;
15 117 13 lazyCookie Lorg/glassfish/grizzly/http/LazyCookieState;
17 115 14 isQuoted Z
91 93 15 expiresDate Ljava/lang/String;
92 93 16 date Ljava/util/Date;
Exception table:
from to target type
88 93 94 Class java.text.ParseException
MethodParameters:
Name Flags
cookies
buffer
off
len
versionOneStrictCompliance
rfc6265Enabled
public static void parseServerCookies(org.glassfish.grizzly.http.Cookies, java.lang.String, boolean, boolean);
descriptor: (Lorg/glassfish/grizzly/http/Cookies;Ljava/lang/String;ZZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "cookies cannot be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifne 6
5: return
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: aconst_null
astore 10
start local 10 9: goto 113
10: StackMap locals: org.glassfish.grizzly.http.Cookies java.lang.String int int int int top top top top org.glassfish.grizzly.http.Cookie
StackMap stack:
iconst_0
istore 11
start local 11 11: goto 13
12: StackMap locals: int
StackMap stack:
iinc 5 1
13: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 14
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(I)Z
ifne 12
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 12
14: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmplt 16
15: return
16: StackMap locals:
StackMap stack:
iload 5
istore 6
start local 6 17: aload 1
iload 5
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Ljava/lang/String;II)I
dup
istore 7
start local 7 18: istore 5
19: goto 21
20: StackMap locals: org.glassfish.grizzly.http.Cookies java.lang.String int int int int int int top top org.glassfish.grizzly.http.Cookie int
StackMap stack:
iinc 5 1
21: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 22
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 20
22: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 49
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 61
if_icmpne 49
23: StackMap locals:
StackMap stack:
iinc 5 1
24: iload 5
iload 4
if_icmpge 25
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 23
25: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmplt 27
26: return
27: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 3
34: 28
44: 34
59: 34
default: 37
}
28: StackMap locals:
StackMap stack:
iconst_1
istore 11
29: iload 5
iconst_1
iadd
istore 8
start local 8 30: aload 1
iload 8
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getQuotedValueEndPosition:(Ljava/lang/String;II)I
istore 9
start local 9 31: iload 9
istore 5
32: iload 5
iload 4
if_icmplt 54
33: return
end local 9 end local 8 34: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 9
start local 9 35: istore 8
start local 8 36: goto 54
end local 9 end local 8 37: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isSeparator:(IZ)Z
ifne 42
38: iload 5
istore 8
start local 8 39: aload 1
iload 8
iload 4
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Ljava/lang/String;IIZ)I
istore 9
start local 9 40: iload 9
istore 5
41: goto 54
end local 9 end local 8 42: StackMap locals:
StackMap stack:
getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
ldc "Invalid cookie. Value not a token or quoted value"
invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
43: goto 45
44: StackMap locals:
StackMap stack:
iinc 5 1
45: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 46
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 59
if_icmpeq 46
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 44
if_icmpne 44
46: StackMap locals:
StackMap stack:
iinc 5 1
47: aconst_null
astore 10
48: goto 113
49: StackMap locals:
StackMap stack:
iconst_m1
dup
istore 9
start local 9 50: istore 8
start local 8 51: iload 7
istore 5
52: goto 54
53: StackMap locals: org.glassfish.grizzly.http.Cookies java.lang.String int int int int int int int int org.glassfish.grizzly.http.Cookie int
StackMap stack:
iinc 5 1
54: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 57
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isWhiteSpace:(I)Z
ifne 53
55: goto 57
56: StackMap locals:
StackMap stack:
iinc 5 1
57: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpge 58
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 59
if_icmpeq 58
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 44
if_icmpne 56
58: StackMap locals:
StackMap stack:
iinc 5 1
59: aload 10
ifnull 100
60: aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.getDomain:()Ljava/lang/String;
ifnonnull 63
ldc "Domain"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 63
61: aload 10
aload 1
iload 8
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.Cookie.setDomain:(Ljava/lang/String;)V
62: goto 113
63: StackMap locals:
StackMap stack:
aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.getPath:()Ljava/lang/String;
ifnonnull 66
ldc "Path"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 66
64: aload 10
aload 1
iload 8
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.Cookie.setPath:(Ljava/lang/String;)V
65: goto 113
66: StackMap locals:
StackMap stack:
ldc "Version"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 75
67: iload 3
ifeq 69
68: goto 113
69: StackMap locals:
StackMap stack:
aload 1
iload 8
invokevirtual java.lang.String.charAt:(I)C
bipush 49
if_icmpne 72
iload 9
iload 8
iconst_1
iadd
if_icmpne 72
70: aload 10
iconst_1
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
71: goto 113
72: StackMap locals:
StackMap stack:
iload 3
ifne 113
73: aload 10
iconst_0
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
74: goto 113
75: StackMap locals:
StackMap stack:
aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.getComment:()Ljava/lang/String;
ifnonnull 78
ldc "Comment"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 78
76: aload 10
aload 1
iload 8
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.Cookie.setComment:(Ljava/lang/String;)V
77: goto 113
78: StackMap locals:
StackMap stack:
aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.getMaxAge:()I
iconst_m1
if_icmpne 81
ldc "Max-Age"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 81
79: aload 10
aload 1
iload 8
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
invokevirtual org.glassfish.grizzly.http.Cookie.setMaxAge:(I)V
80: goto 113
81: StackMap locals:
StackMap stack:
aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.getVersion:()I
ifeq 82
aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.isVersionSet:()Z
ifeq 92
StackMap locals:
StackMap stack:
82: aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.getMaxAge:()I
iconst_m1
if_icmpne 92
83: ldc "Expires"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 92
84: aload 1
iload 9
iconst_1
iadd
iload 4
iconst_0
invokestatic org.glassfish.grizzly.http.util.CookieUtils.getTokenEndPosition:(Ljava/lang/String;IIZ)I
istore 9
85: iload 9
iconst_1
iadd
istore 5
86: aload 1
iload 8
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 12
start local 12 87: getstatic org.glassfish.grizzly.http.util.CookieUtils.OLD_COOKIE_FORMAT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.text.SimpleDateFormat
aload 12
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
astore 13
start local 13 88: aload 10
aload 13
invokevirtual java.util.Date.getTime:()J
invokestatic java.lang.System.currentTimeMillis:()J
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.getMaxAgeDelta:(JJ)I
sipush 1000
idiv
invokevirtual org.glassfish.grizzly.http.Cookie.setMaxAge:(I)V
end local 13 end local 12 89: goto 113
StackMap locals:
StackMap stack: java.text.ParseException
90: pop
91: goto 113
92: StackMap locals:
StackMap stack:
aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.isSecure:()Z
ifne 95
ldc "Secure"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equalsIgnoreCase:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 95
93: aload 10
iconst_1
invokevirtual org.glassfish.grizzly.http.Cookie.setSecure:(Z)V
94: goto 113
95: StackMap locals:
StackMap stack:
aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.isHttpOnly:()Z
ifne 98
ldc "HttpOnly"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 98
96: aload 10
iconst_1
invokevirtual org.glassfish.grizzly.http.Cookie.setHttpOnly:(Z)V
97: goto 113
98: StackMap locals:
StackMap stack:
ldc "Discard"
aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.CookieUtils.equals:(Ljava/lang/String;Ljava/lang/String;II)Z
ifeq 100
99: goto 113
100: StackMap locals:
StackMap stack:
aload 1
iload 6
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 12
start local 12 101: iload 8
iconst_m1
if_icmpeq 107
102: iload 11
ifeq 105
103: aload 1
iload 8
iload 9
iload 8
isub
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.unescapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
astore 13
start local 13 104: goto 108
end local 13 105: StackMap locals: java.lang.String
StackMap stack:
aload 1
iload 8
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 13
start local 13 106: goto 108
end local 13 107: StackMap locals:
StackMap stack:
ldc ""
astore 13
start local 13 108: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.Cookies.getNextUnusedCookie:()Lorg/glassfish/grizzly/http/Cookie;
astore 10
109: iload 3
ifne 111
aload 10
invokevirtual org.glassfish.grizzly.http.Cookie.isVersionSet:()Z
ifne 111
110: aload 10
iconst_0
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
111: StackMap locals:
StackMap stack:
aload 10
aload 12
invokevirtual org.glassfish.grizzly.http.Cookie.setName:(Ljava/lang/String;)V
112: aload 10
aload 13
invokevirtual org.glassfish.grizzly.http.Cookie.setValue:(Ljava/lang/String;)V
end local 13 end local 12 end local 11 end local 9 end local 8 end local 7 end local 6 113: StackMap locals: org.glassfish.grizzly.http.Cookies java.lang.String int int int int top top top top org.glassfish.grizzly.http.Cookie
StackMap stack:
iload 5
iload 4
if_icmplt 10
114: return
end local 10 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 115 0 cookies Lorg/glassfish/grizzly/http/Cookies;
0 115 1 cookiesStr Ljava/lang/String;
0 115 2 versionOneStrictCompliance Z
0 115 3 rfc6265Enabled Z
7 115 4 end I
8 115 5 pos I
17 113 6 nameStart I
18 113 7 nameEnd I
30 34 8 valueStart I
36 37 8 valueStart I
39 42 8 valueStart I
51 113 8 valueStart I
31 34 9 valueEnd I
35 37 9 valueEnd I
40 42 9 valueEnd I
50 113 9 valueEnd I
9 115 10 cookie Lorg/glassfish/grizzly/http/Cookie;
11 113 11 isQuoted Z
87 89 12 expiresDate Ljava/lang/String;
88 89 13 date Ljava/util/Date;
101 113 12 name Ljava/lang/String;
104 105 13 value Ljava/lang/String;
106 107 13 value Ljava/lang/String;
108 113 13 value Ljava/lang/String;
Exception table:
from to target type
84 89 90 Class java.text.ParseException
MethodParameters:
Name Flags
cookies
cookiesStr
versionOneStrictCompliance
rfc6265Enabled
public static void unescapeDoubleQuotes(org.glassfish.grizzly.http.util.DataChunk);
descriptor: (Lorg/glassfish/grizzly/http/util/DataChunk;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.$SWITCH_TABLE$org$glassfish$grizzly$http$util$DataChunk$Type:()[I
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getType:()Lorg/glassfish/grizzly/http/util/DataChunk$Type;
invokevirtual org.glassfish.grizzly.http.util.DataChunk$Type.ordinal:()I
iaload
tableswitch { // 2 - 5
2: 1
3: 3
4: 8
5: 5
default: 8
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getByteChunk:()Lorg/glassfish/grizzly/http/util/ByteChunk;
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.unescapeDoubleQuotes:(Lorg/glassfish/grizzly/http/util/ByteChunk;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getBufferChunk:()Lorg/glassfish/grizzly/http/util/BufferChunk;
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.unescapeDoubleQuotes:(Lorg/glassfish/grizzly/http/util/BufferChunk;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
astore 1
start local 1 6: aload 0
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokestatic org.glassfish.grizzly.http.util.CookieParserUtils.unescapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
7: return
end local 1 8: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 dc Lorg/glassfish/grizzly/http/util/DataChunk;
6 8 1 s Ljava/lang/String;
MethodParameters:
Name Flags
dc
public static void unescapeDoubleQuotes(org.glassfish.grizzly.http.util.ByteChunk);
descriptor: (Lorg/glassfish/grizzly/http/util/ByteChunk;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
istore 1
start local 1 3: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getEnd:()I
istore 2
start local 2 4: iload 1
istore 3
start local 3 5: aload 0
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBuffer:()[B
astore 4
start local 4 6: goto 12
7: StackMap locals: org.glassfish.grizzly.http.util.ByteChunk int int int byte[]
StackMap stack:
aload 4
iload 1
baload
bipush 92
if_icmpne 9
iload 1
iload 2
if_icmpge 9
aload 4
iload 1
iconst_1
iadd
baload
bipush 34
if_icmpne 9
8: iinc 1 1
9: StackMap locals:
StackMap stack:
aload 4
iload 3
aload 4
iload 1
baload
bastore
10: iinc 3 1
11: iinc 1 1
12: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 7
13: aload 0
iload 3
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.setEnd:(I)V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 bc Lorg/glassfish/grizzly/http/util/ByteChunk;
3 15 1 src I
4 15 2 end I
5 15 3 dest I
6 15 4 buffer [B
MethodParameters:
Name Flags
bc final
public static void unescapeDoubleQuotes(org.glassfish.grizzly.http.util.BufferChunk);
descriptor: (Lorg/glassfish/grizzly/http/util/BufferChunk;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getLength:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getStart:()I
istore 1
start local 1 3: aload 0
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getEnd:()I
istore 2
start local 2 4: iload 1
istore 3
start local 3 5: aload 0
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 6: goto 12
7: StackMap locals: org.glassfish.grizzly.http.util.BufferChunk int int int org.glassfish.grizzly.Buffer
StackMap stack:
aload 4
iload 1
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 92
if_icmpne 9
iload 1
iload 2
if_icmpge 9
aload 4
iload 1
iconst_1
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 34
if_icmpne 9
8: iinc 1 1
9: StackMap locals:
StackMap stack:
aload 4
iload 3
aload 4
iload 1
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokeinterface org.glassfish.grizzly.Buffer.put:(IB)Lorg/glassfish/grizzly/Buffer;
pop
10: iinc 3 1
11: iinc 1 1
12: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 7
13: aload 0
iload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.setEnd:(I)V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 bc Lorg/glassfish/grizzly/http/util/BufferChunk;
3 15 1 src I
4 15 2 end I
5 15 3 dest I
6 15 4 buffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
bc
public static void unescapeDoubleQuotes(org.glassfish.grizzly.http.util.CharChunk);
descriptor: (Lorg/glassfish/grizzly/http/util/CharChunk;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getLength:()I
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getStart:()I
istore 1
start local 1 3: aload 0
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getLimit:()I
istore 2
start local 2 4: iload 1
istore 3
start local 3 5: aload 0
invokevirtual org.glassfish.grizzly.http.util.CharChunk.getBuffer:()[C
astore 4
start local 4 6: goto 12
7: StackMap locals: org.glassfish.grizzly.http.util.CharChunk int int int char[]
StackMap stack:
aload 4
iload 1
caload
bipush 92
if_icmpne 9
iload 1
iload 2
if_icmpge 9
aload 4
iload 1
iconst_1
iadd
caload
bipush 34
if_icmpne 9
8: iinc 1 1
9: StackMap locals:
StackMap stack:
aload 4
iload 3
aload 4
iload 1
caload
castore
10: iinc 3 1
11: iinc 1 1
12: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmplt 7
13: aload 0
iload 3
invokevirtual org.glassfish.grizzly.http.util.CharChunk.setLimit:(I)V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 cc Lorg/glassfish/grizzly/http/util/CharChunk;
3 15 1 src I
4 15 2 end I
5 15 3 dest I
6 15 4 buffer [C
MethodParameters:
Name Flags
cc
public static int unescapeDoubleQuotes(org.glassfish.grizzly.Buffer, int, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
iload 2
ifgt 2
1: StackMap locals:
StackMap stack:
iload 2
ireturn
2: StackMap locals:
StackMap stack:
iload 1
istore 3
start local 3 3: iload 3
iload 2
iadd
istore 4
start local 4 4: iload 3
istore 5
start local 5 5: goto 11
6: StackMap locals: int int int
StackMap stack:
aload 0
iload 3
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 92
if_icmpne 8
iload 3
iload 4
if_icmpge 8
aload 0
iload 3
iconst_1
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 34
if_icmpne 8
7: iinc 3 1
8: StackMap locals:
StackMap stack:
aload 0
iload 5
aload 0
iload 3
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
invokeinterface org.glassfish.grizzly.Buffer.put:(IB)Lorg/glassfish/grizzly/Buffer;
pop
9: iinc 5 1
10: iinc 3 1
11: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmplt 6
12: iload 5
iload 1
isub
ireturn
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 13 0 buffer Lorg/glassfish/grizzly/Buffer;
0 13 1 start I
0 13 2 length I
3 13 3 src I
4 13 4 end I
5 13 5 dest I
MethodParameters:
Name Flags
buffer
start
length
public static java.lang.String unescapeDoubleQuotes(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 3: iload 1
istore 4
start local 4 4: iload 4
iload 2
iadd
istore 5
start local 5 5: goto 10
6: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpne 8
iload 4
iload 5
if_icmpge 8
aload 0
iload 4
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 8
7: iinc 4 1
8: StackMap locals:
StackMap stack:
aload 3
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: iinc 4 1
10: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 6
11: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 12 0 s Ljava/lang/String;
0 12 1 start I
0 12 2 length I
3 12 3 sb Ljava/lang/StringBuilder;
4 12 4 src I
5 12 5 end I
MethodParameters:
Name Flags
s
start
length
private static int getMaxAgeDelta(long, long);
descriptor: (JJ)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 2 0: lload 0
lload 2
lsub
lstore 4
start local 4 1: lload 4
ldc 2147483647
lcmp
ifle 7
2: getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 6
3: getstatic org.glassfish.grizzly.http.util.CookieParserUtils.LOGGER:Ljava/util/logging/Logger;
new java.lang.StringBuilder
dup
ldc "Integer overflow when calculating max age delta. Date: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 0
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", current date: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
4: ldc ". Using Integer.MAX_VALUE for further calculation."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual java.util.logging.Logger.fine:(Ljava/lang/String;)V
6: StackMap locals: long
StackMap stack:
ldc 2147483647
ireturn
7: StackMap locals:
StackMap stack:
lload 4
l2i
ireturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 date1 J
0 8 2 date2 J
1 8 4 result J
MethodParameters:
Name Flags
date1
date2
static int[] $SWITCH_TABLE$org$glassfish$grizzly$http$util$DataChunk$Type();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.glassfish.grizzly.http.util.CookieParserUtils.$SWITCH_TABLE$org$glassfish$grizzly$http$util$DataChunk$Type:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.glassfish.grizzly.http.util.DataChunk$Type.values:()[Lorg/glassfish/grizzly/http/util/DataChunk$Type;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.glassfish.grizzly.http.util.DataChunk$Type.Buffer:Lorg/glassfish/grizzly/http/util/DataChunk$Type;
invokevirtual org.glassfish.grizzly.http.util.DataChunk$Type.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.glassfish.grizzly.http.util.DataChunk$Type.Bytes:Lorg/glassfish/grizzly/http/util/DataChunk$Type;
invokevirtual org.glassfish.grizzly.http.util.DataChunk$Type.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.glassfish.grizzly.http.util.DataChunk$Type.Chars:Lorg/glassfish/grizzly/http/util/DataChunk$Type;
invokevirtual org.glassfish.grizzly.http.util.DataChunk$Type.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.glassfish.grizzly.http.util.DataChunk$Type.None:Lorg/glassfish/grizzly/http/util/DataChunk$Type;
invokevirtual org.glassfish.grizzly.http.util.DataChunk$Type.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.glassfish.grizzly.http.util.DataChunk$Type.String:Lorg/glassfish/grizzly/http/util/DataChunk$Type;
invokevirtual org.glassfish.grizzly.http.util.DataChunk$Type.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic org.glassfish.grizzly.http.util.CookieParserUtils.$SWITCH_TABLE$org$glassfish$grizzly$http$util$DataChunk$Type:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "CookieParserUtils.java"
InnerClasses:
public final Type = org.glassfish.grizzly.http.util.DataChunk$Type of org.glassfish.grizzly.http.util.DataChunk