public class org.glassfish.grizzly.http.util.CookieSerializerUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.util.CookieSerializerUtils
super_class: java.lang.Object
{
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/CookieSerializerUtils;
public static void serializeServerCookie(java.lang.StringBuilder, org.glassfish.grizzly.http.Cookie);
descriptor: (Ljava/lang/StringBuilder;Lorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
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
getstatic org.glassfish.grizzly.http.util.CookieUtils.ALWAYS_ADD_EXPIRES:Z
aload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.serializeServerCookie:(Ljava/lang/StringBuilder;ZZZLorg/glassfish/grizzly/http/Cookie;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buf Ljava/lang/StringBuilder;
0 2 1 cookie Lorg/glassfish/grizzly/http/Cookie;
MethodParameters:
Name Flags
buf
cookie
public static void serializeServerCookie(java.lang.StringBuilder, boolean, boolean, boolean, org.glassfish.grizzly.http.Cookie);
descriptor: (Ljava/lang/StringBuilder;ZZZLorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=13, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
aload 4
invokevirtual org.glassfish.grizzly.http.Cookie.getName:()Ljava/lang/String;
aload 4
invokevirtual org.glassfish.grizzly.http.Cookie.getValue:()Ljava/lang/String;
aload 4
invokevirtual org.glassfish.grizzly.http.Cookie.getVersion:()I
1: aload 4
invokevirtual org.glassfish.grizzly.http.Cookie.getPath:()Ljava/lang/String;
aload 4
invokevirtual org.glassfish.grizzly.http.Cookie.getDomain:()Ljava/lang/String;
aload 4
invokevirtual org.glassfish.grizzly.http.Cookie.getComment:()Ljava/lang/String;
aload 4
invokevirtual org.glassfish.grizzly.http.Cookie.getMaxAge:()I
aload 4
invokevirtual org.glassfish.grizzly.http.Cookie.isSecure:()Z
aload 4
invokevirtual org.glassfish.grizzly.http.Cookie.isHttpOnly:()Z
2: invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.serializeServerCookie:(Ljava/lang/StringBuilder;ZZZLjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buf Ljava/lang/StringBuilder;
0 4 1 versionOneStrictCompliance Z
0 4 2 rfc6265Support Z
0 4 3 alwaysAddExpires Z
0 4 4 cookie Lorg/glassfish/grizzly/http/Cookie;
MethodParameters:
Name Flags
buf final
versionOneStrictCompliance final
rfc6265Support final
alwaysAddExpires final
cookie final
public static void serializeServerCookie(java.lang.StringBuilder, boolean, boolean, boolean, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, int, boolean, boolean);
descriptor: (Ljava/lang/StringBuilder;ZZZLjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=14, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aload 0
aload 4
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: iload 6
aload 0
aload 5
iconst_1
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;ZZ)I
istore 6
3: iload 6
iconst_1
if_icmpne 8
4: aload 0
ldc "; Version=1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 9
ifnull 8
6: aload 0
ldc "; Comment="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: iload 6
aload 0
aload 9
iload 1
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;ZZ)I
pop
8: StackMap locals:
StackMap stack:
aload 8
ifnull 11
9: aload 0
ldc "; Domain="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: iload 6
aload 0
aload 8
iload 1
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;ZZ)I
pop
11: StackMap locals:
StackMap stack:
iload 10
iflt 21
12: iload 6
ifle 15
13: aload 0
ldc "; Max-Age="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 0
iload 10
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
iload 6
ifeq 16
iload 3
ifeq 21
16: StackMap locals:
StackMap stack:
aload 0
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: iload 10
ifne 20
18: aload 0
getstatic org.glassfish.grizzly.http.util.CookieUtils.ancientDate:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: goto 21
20: StackMap locals:
StackMap stack:
aload 0
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
new java.util.Date
dup
invokestatic java.lang.System.currentTimeMillis:()J
iload 10
i2l
ldc 1000
lmul
ladd
invokespecial java.util.Date.<init>:(J)V
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 7
ifnull 31
22: aload 0
ldc "; Path="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: new org.glassfish.grizzly.http.util.UEncoder
dup
invokespecial org.glassfish.grizzly.http.util.UEncoder.<init>:()V
astore 13
start local 13 24: aload 13
bipush 47
invokevirtual org.glassfish.grizzly.http.util.UEncoder.addSafeCharacter:(C)V
25: aload 13
bipush 34
invokevirtual org.glassfish.grizzly.http.util.UEncoder.addSafeCharacter:(C)V
26: aload 13
aload 7
iconst_1
invokevirtual org.glassfish.grizzly.http.util.UEncoder.encodeURL:(Ljava/lang/String;Z)Ljava/lang/String;
astore 7
27: iload 6
ifne 30
28: iload 6
aload 0
aload 7
iload 1
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;ZZ)I
pop
29: goto 31
30: StackMap locals: org.glassfish.grizzly.http.util.UEncoder
StackMap stack:
iload 6
aload 0
aload 7
ldc "()<>@,;:\\\"[]?={} \t"
iconst_0
iload 1
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;ZZZ)I
pop
end local 13 31: StackMap locals:
StackMap stack:
iload 11
ifeq 33
32: aload 0
ldc "; Secure"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: StackMap locals:
StackMap stack:
iload 12
ifeq 35
34: aload 0
ldc "; HttpOnly"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: StackMap locals:
StackMap stack:
return
end local 12 end local 11 end local 10 end local 9 end local 8 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 36 0 buf Ljava/lang/StringBuilder;
0 36 1 versionOneStrictCompliance Z
0 36 2 rfc6265Support Z
0 36 3 alwaysAddExpires Z
0 36 4 name Ljava/lang/String;
0 36 5 value Ljava/lang/String;
0 36 6 version I
0 36 7 path Ljava/lang/String;
0 36 8 domain Ljava/lang/String;
0 36 9 comment Ljava/lang/String;
0 36 10 maxAge I
0 36 11 isSecure Z
0 36 12 isHttpOnly Z
24 31 13 encoder Lorg/glassfish/grizzly/http/util/UEncoder;
MethodParameters:
Name Flags
buf final
versionOneStrictCompliance final
rfc6265Support final
alwaysAddExpires final
name final
value final
version
path
domain final
comment final
maxAge final
isSecure final
isHttpOnly final
public static void serializeServerCookie(org.glassfish.grizzly.Buffer, org.glassfish.grizzly.http.Cookie);
descriptor: (Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.glassfish.grizzly.http.util.CookieUtils.COOKIE_VERSION_ONE_STRICT_COMPLIANCE:Z
getstatic org.glassfish.grizzly.http.util.CookieUtils.ALWAYS_ADD_EXPIRES:Z
aload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.serializeServerCookie:(Lorg/glassfish/grizzly/Buffer;ZZLorg/glassfish/grizzly/http/Cookie;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buf Lorg/glassfish/grizzly/Buffer;
0 2 1 cookie Lorg/glassfish/grizzly/http/Cookie;
MethodParameters:
Name Flags
buf
cookie
public static void serializeServerCookie(org.glassfish.grizzly.Buffer, boolean, boolean, org.glassfish.grizzly.http.Cookie);
descriptor: (Lorg/glassfish/grizzly/Buffer;ZZLorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
aload 3
invokevirtual org.glassfish.grizzly.http.Cookie.getName:()Ljava/lang/String;
aload 3
invokevirtual org.glassfish.grizzly.http.Cookie.getValue:()Ljava/lang/String;
aload 3
invokevirtual org.glassfish.grizzly.http.Cookie.getVersion:()I
aload 3
invokevirtual org.glassfish.grizzly.http.Cookie.getPath:()Ljava/lang/String;
1: aload 3
invokevirtual org.glassfish.grizzly.http.Cookie.getDomain:()Ljava/lang/String;
aload 3
invokevirtual org.glassfish.grizzly.http.Cookie.getComment:()Ljava/lang/String;
aload 3
invokevirtual org.glassfish.grizzly.http.Cookie.getMaxAge:()I
aload 3
invokevirtual org.glassfish.grizzly.http.Cookie.isSecure:()Z
aload 3
invokevirtual org.glassfish.grizzly.http.Cookie.isHttpOnly:()Z
2: invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.serializeServerCookie:(Lorg/glassfish/grizzly/Buffer;ZZLjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buf Lorg/glassfish/grizzly/Buffer;
0 4 1 versionOneStrictCompliance Z
0 4 2 alwaysAddExpires Z
0 4 3 cookie Lorg/glassfish/grizzly/http/Cookie;
MethodParameters:
Name Flags
buf
versionOneStrictCompliance
alwaysAddExpires
cookie
public static void serializeServerCookie(org.glassfish.grizzly.Buffer, boolean, boolean, java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, int, boolean, boolean);
descriptor: (Lorg/glassfish/grizzly/Buffer;ZZLjava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=13, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
aload 3
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
1: aload 0
bipush 61
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;I)V
2: iload 5
aload 0
aload 4
iconst_1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Z)I
istore 5
3: iload 5
iconst_1
if_icmpne 8
4: aload 0
ldc "; Version=1"
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
5: aload 8
ifnull 8
6: aload 0
ldc "; Comment="
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
7: iload 5
aload 0
aload 8
iload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Z)I
pop
8: StackMap locals:
StackMap stack:
aload 7
ifnull 11
9: aload 0
ldc "; Domain="
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
10: iload 5
aload 0
aload 7
iload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Z)I
pop
11: StackMap locals:
StackMap stack:
iload 9
iflt 21
12: iload 5
ifle 15
13: aload 0
ldc "; Max-Age="
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
14: aload 0
iload 9
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.putInt:(Lorg/glassfish/grizzly/Buffer;I)V
15: StackMap locals:
StackMap stack:
iload 5
ifeq 16
iload 2
ifeq 21
16: StackMap locals:
StackMap stack:
aload 0
ldc "; Expires="
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
17: iload 9
ifne 20
18: aload 0
getstatic org.glassfish.grizzly.http.util.CookieUtils.ancientDate:Ljava/lang/String;
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
19: goto 21
20: StackMap locals:
StackMap stack:
aload 0
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
new java.util.Date
dup
invokestatic java.lang.System.currentTimeMillis:()J
iload 9
i2l
ldc 1000
lmul
ladd
invokespecial java.util.Date.<init>:(J)V
invokevirtual java.text.SimpleDateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
21: StackMap locals:
StackMap stack:
aload 6
ifnull 31
22: aload 0
ldc "; Path="
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
23: new org.glassfish.grizzly.http.util.UEncoder
dup
invokespecial org.glassfish.grizzly.http.util.UEncoder.<init>:()V
astore 12
start local 12 24: aload 12
bipush 47
invokevirtual org.glassfish.grizzly.http.util.UEncoder.addSafeCharacter:(C)V
25: aload 12
bipush 34
invokevirtual org.glassfish.grizzly.http.util.UEncoder.addSafeCharacter:(C)V
26: aload 12
aload 6
iconst_1
invokevirtual org.glassfish.grizzly.http.util.UEncoder.encodeURL:(Ljava/lang/String;Z)Ljava/lang/String;
astore 6
27: iload 5
ifne 30
28: iload 5
aload 0
aload 6
iload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Z)I
pop
29: goto 31
30: StackMap locals: org.glassfish.grizzly.http.util.UEncoder
StackMap stack:
iload 5
aload 0
aload 6
ldc "()<>@,;:\\\"[]?={} \t"
iconst_0
iload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Ljava/lang/String;ZZ)I
pop
end local 12 31: StackMap locals:
StackMap stack:
iload 10
ifeq 33
32: aload 0
ldc "; Secure"
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
33: StackMap locals:
StackMap stack:
iload 11
ifeq 35
34: aload 0
ldc "; HttpOnly"
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
35: StackMap locals:
StackMap stack:
return
end local 11 end local 10 end local 9 end local 8 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 36 0 buf Lorg/glassfish/grizzly/Buffer;
0 36 1 versionOneStrictCompliance Z
0 36 2 alwaysAddExpires Z
0 36 3 name Ljava/lang/String;
0 36 4 value Ljava/lang/String;
0 36 5 version I
0 36 6 path Ljava/lang/String;
0 36 7 domain Ljava/lang/String;
0 36 8 comment Ljava/lang/String;
0 36 9 maxAge I
0 36 10 isSecure Z
0 36 11 isHttpOnly Z
24 31 12 encoder Lorg/glassfish/grizzly/http/util/UEncoder;
MethodParameters:
Name Flags
buf final
versionOneStrictCompliance final
alwaysAddExpires final
name final
value final
version
path
domain final
comment final
maxAge final
isSecure final
isHttpOnly final
public static void serializeClientCookies(java.lang.StringBuilder, org.glassfish.grizzly.http.Cookie[]);
descriptor: (Ljava/lang/StringBuilder;[Lorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
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
aload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.serializeClientCookies:(Ljava/lang/StringBuilder;ZZ[Lorg/glassfish/grizzly/http/Cookie;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buf Ljava/lang/StringBuilder;
0 2 1 cookies [Lorg/glassfish/grizzly/http/Cookie;
MethodParameters:
Name Flags
buf
cookies
public static void serializeClientCookies(java.lang.StringBuilder, boolean, boolean, org.glassfish.grizzly.http.Cookie[]);
descriptor: (Ljava/lang/StringBuilder;ZZ[Lorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
arraylength
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 3
iconst_0
aaload
invokevirtual org.glassfish.grizzly.http.Cookie.getVersion:()I
istore 4
start local 4 3: iload 2
ifne 5
iload 4
iconst_1
if_icmpne 5
4: aload 0
ldc "$Version=\"1\"; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 6: goto 27
7: StackMap locals: int
StackMap stack:
aload 3
iload 5
aaload
astore 6
start local 6 8: aload 0
aload 6
invokevirtual org.glassfish.grizzly.http.Cookie.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 0
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: iload 4
aload 0
aload 6
invokevirtual org.glassfish.grizzly.http.Cookie.getValue:()Ljava/lang/String;
iconst_1
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;ZZ)I
pop
11: iload 2
ifne 24
iload 4
iconst_1
if_icmpne 24
12: aload 6
invokevirtual org.glassfish.grizzly.http.Cookie.getDomain:()Ljava/lang/String;
astore 7
start local 7 13: aload 7
ifnull 16
14: aload 0
ldc "; $Domain="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: iload 4
aload 0
aload 7
iload 1
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;ZZ)I
pop
16: StackMap locals: org.glassfish.grizzly.http.Cookie java.lang.String
StackMap stack:
aload 6
invokevirtual org.glassfish.grizzly.http.Cookie.getPath:()Ljava/lang/String;
astore 8
start local 8 17: aload 8
ifnull 24
18: aload 0
ldc "; $Path="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: new org.glassfish.grizzly.http.util.UEncoder
dup
invokespecial org.glassfish.grizzly.http.util.UEncoder.<init>:()V
astore 9
start local 9 20: aload 9
bipush 47
invokevirtual org.glassfish.grizzly.http.util.UEncoder.addSafeCharacter:(C)V
21: aload 9
bipush 34
invokevirtual org.glassfish.grizzly.http.util.UEncoder.addSafeCharacter:(C)V
22: aload 9
aload 8
iconst_1
invokevirtual org.glassfish.grizzly.http.util.UEncoder.encodeURL:(Ljava/lang/String;Z)Ljava/lang/String;
astore 8
23: iload 4
aload 0
aload 8
ldc "()<>@,;:\\\"[]?={} \t"
iconst_0
iload 1
iload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;ZZZ)I
pop
end local 9 end local 8 end local 7 24: StackMap locals:
StackMap stack:
iload 5
aload 3
arraylength
iconst_1
isub
if_icmpge 26
25: aload 0
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 26: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
27: iload 5
aload 3
arraylength
if_icmplt 7
end local 5 28: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 buf Ljava/lang/StringBuilder;
0 29 1 versionOneStrictCompliance Z
0 29 2 rfc6265Support Z
0 29 3 cookies [Lorg/glassfish/grizzly/http/Cookie;
3 29 4 version I
6 28 5 i I
8 26 6 cookie Lorg/glassfish/grizzly/http/Cookie;
13 24 7 domain Ljava/lang/String;
17 24 8 path Ljava/lang/String;
20 24 9 encoder Lorg/glassfish/grizzly/http/util/UEncoder;
MethodParameters:
Name Flags
buf
versionOneStrictCompliance
rfc6265Support
cookies
public static void serializeClientCookies(org.glassfish.grizzly.Buffer, org.glassfish.grizzly.http.Cookie[]);
descriptor: (Lorg/glassfish/grizzly/Buffer;[Lorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.glassfish.grizzly.http.util.CookieUtils.COOKIE_VERSION_ONE_STRICT_COMPLIANCE:Z
aload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.serializeClientCookies:(Lorg/glassfish/grizzly/Buffer;Z[Lorg/glassfish/grizzly/http/Cookie;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buf Lorg/glassfish/grizzly/Buffer;
0 2 1 cookies [Lorg/glassfish/grizzly/http/Cookie;
MethodParameters:
Name Flags
buf
cookies
public static void serializeClientCookies(org.glassfish.grizzly.Buffer, boolean, org.glassfish.grizzly.http.Cookie[]);
descriptor: (Lorg/glassfish/grizzly/Buffer;Z[Lorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
invokevirtual org.glassfish.grizzly.http.Cookie.getVersion:()I
istore 3
start local 3 3: iload 3
iconst_1
if_icmpne 5
4: aload 0
ldc "$Version=\"1\"; "
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
5: StackMap locals: int
StackMap stack:
iconst_0
istore 4
start local 4 6: goto 27
7: StackMap locals: int
StackMap stack:
aload 2
iload 4
aaload
astore 5
start local 5 8: aload 0
aload 5
invokevirtual org.glassfish.grizzly.http.Cookie.getName:()Ljava/lang/String;
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
9: aload 0
ldc "="
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
10: iload 3
aload 0
aload 5
invokevirtual org.glassfish.grizzly.http.Cookie.getValue:()Ljava/lang/String;
iconst_1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Z)I
pop
11: iload 3
iconst_1
if_icmpne 24
12: aload 5
invokevirtual org.glassfish.grizzly.http.Cookie.getDomain:()Ljava/lang/String;
astore 6
start local 6 13: aload 6
ifnull 16
14: aload 0
ldc "; $Domain="
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
15: iload 3
aload 0
aload 6
iload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Z)I
pop
16: StackMap locals: org.glassfish.grizzly.http.Cookie java.lang.String
StackMap stack:
aload 5
invokevirtual org.glassfish.grizzly.http.Cookie.getPath:()Ljava/lang/String;
astore 7
start local 7 17: aload 7
ifnull 24
18: aload 0
ldc "; $Path="
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
19: new org.glassfish.grizzly.http.util.UEncoder
dup
invokespecial org.glassfish.grizzly.http.util.UEncoder.<init>:()V
astore 8
start local 8 20: aload 8
bipush 47
invokevirtual org.glassfish.grizzly.http.util.UEncoder.addSafeCharacter:(C)V
21: aload 8
bipush 34
invokevirtual org.glassfish.grizzly.http.util.UEncoder.addSafeCharacter:(C)V
22: aload 8
aload 7
iconst_1
invokevirtual org.glassfish.grizzly.http.util.UEncoder.encodeURL:(Ljava/lang/String;Z)Ljava/lang/String;
astore 7
23: iload 3
aload 0
aload 7
ldc "()<>@,;:\\\"[]?={} \t"
iconst_0
iload 1
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Ljava/lang/String;ZZ)I
pop
end local 8 end local 7 end local 6 24: StackMap locals:
StackMap stack:
iload 4
aload 2
arraylength
iconst_1
isub
if_icmpge 26
25: aload 0
ldc "; "
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
end local 5 26: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
aload 2
arraylength
if_icmplt 7
end local 4 28: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 buf Lorg/glassfish/grizzly/Buffer;
0 29 1 versionOneStrictCompliance Z
0 29 2 cookies [Lorg/glassfish/grizzly/http/Cookie;
3 29 3 version I
6 28 4 i I
8 26 5 cookie Lorg/glassfish/grizzly/http/Cookie;
13 24 6 domain Ljava/lang/String;
17 24 7 path Ljava/lang/String;
20 24 8 encoder Lorg/glassfish/grizzly/http/util/UEncoder;
MethodParameters:
Name Flags
buf
versionOneStrictCompliance
cookies
public static int maybeQuote2(int, java.lang.StringBuilder, java.lang.String, boolean, boolean);
descriptor: (ILjava/lang/StringBuilder;Ljava/lang/String;ZZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 0
aload 1
aload 2
iconst_0
iload 3
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;ZZZ)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 version I
0 1 1 buf Ljava/lang/StringBuilder;
0 1 2 value Ljava/lang/String;
0 1 3 versionOneStrictCompliance Z
0 1 4 rfc6265Enabled Z
MethodParameters:
Name Flags
version
buf
value
versionOneStrictCompliance
rfc6265Enabled
public static int maybeQuote2(int, java.lang.StringBuilder, java.lang.String, boolean, boolean, boolean);
descriptor: (ILjava/lang/StringBuilder;Ljava/lang/String;ZZZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 0
aload 1
aload 2
aconst_null
iload 3
iload 4
iload 5
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILjava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;ZZZ)I
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 1 0 version I
0 1 1 buf Ljava/lang/StringBuilder;
0 1 2 value Ljava/lang/String;
0 1 3 allowVersionSwitch Z
0 1 4 versionOneStrictCompliance Z
0 1 5 rfc6265Enabled Z
MethodParameters:
Name Flags
version
buf
value
allowVersionSwitch
versionOneStrictCompliance
rfc6265Enabled
public static int maybeQuote2(int, java.lang.StringBuilder, java.lang.String, java.lang.String, boolean, boolean, boolean);
descriptor: (ILjava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;ZZZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.length:()I
ifne 3
1: StackMap locals:
StackMap stack:
aload 1
ldc "\"\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: goto 32
StackMap locals:
StackMap stack:
3: aload 2
iload 0
invokestatic org.glassfish.grizzly.http.util.CookieUtils.containsCTL:(Ljava/lang/String;I)Z
ifeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "Control character in cookie value, consider BASE64 encoding your value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.alreadyQuoted:(Ljava/lang/String;)Z
ifeq 10
6: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 1
aload 2
iconst_1
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: goto 32
StackMap locals:
StackMap stack:
10: iload 4
ifeq 16
iload 5
ifeq 16
iload 0
ifne 16
aload 2
aload 3
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isToken2:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 16
11: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: iconst_1
istore 0
15: goto 32
StackMap locals:
StackMap stack:
16: iload 0
ifne 21
aload 2
aload 3
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isToken:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 21
17: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
18: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
20: goto 32
StackMap locals:
StackMap stack:
21: iload 0
iconst_1
if_icmpne 26
aload 2
aload 3
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isToken2:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 26
22: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
23: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
25: goto 32
StackMap locals:
StackMap stack:
26: iload 0
ifge 31
iload 6
ifeq 31
27: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
28: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
29: aload 1
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
30: goto 32
31: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
32: StackMap locals:
StackMap stack:
iload 0
ireturn
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 33 0 version I
0 33 1 buf Ljava/lang/StringBuilder;
0 33 2 value Ljava/lang/String;
0 33 3 literals Ljava/lang/String;
0 33 4 allowVersionSwitch Z
0 33 5 versionOneStrictCompliance Z
0 33 6 rfc6265Enabled Z
MethodParameters:
Name Flags
version
buf
value
literals
allowVersionSwitch
versionOneStrictCompliance
rfc6265Enabled
public static int maybeQuote2(int, org.glassfish.grizzly.Buffer, java.lang.String, boolean);
descriptor: (ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Z)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
aload 1
aload 2
iconst_0
iload 3
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;ZZ)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 version I
0 1 1 buf Lorg/glassfish/grizzly/Buffer;
0 1 2 value Ljava/lang/String;
0 1 3 versionOneStrictCompliance Z
MethodParameters:
Name Flags
version
buf
value
versionOneStrictCompliance
public static int maybeQuote2(int, org.glassfish.grizzly.Buffer, java.lang.String, boolean, boolean);
descriptor: (ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;ZZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 0
aload 1
aload 2
aconst_null
iload 3
iload 4
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.maybeQuote2:(ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Ljava/lang/String;ZZ)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 version I
0 1 1 buf Lorg/glassfish/grizzly/Buffer;
0 1 2 value Ljava/lang/String;
0 1 3 allowVersionSwitch Z
0 1 4 versionOneStrictCompliance Z
MethodParameters:
Name Flags
version
buf
value
allowVersionSwitch
versionOneStrictCompliance
public static int maybeQuote2(int, org.glassfish.grizzly.Buffer, java.lang.String, java.lang.String, boolean, boolean);
descriptor: (ILorg/glassfish/grizzly/Buffer;Ljava/lang/String;Ljava/lang/String;ZZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.length:()I
ifne 3
1: StackMap locals:
StackMap stack:
aload 1
ldc "\"\""
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
2: goto 27
StackMap locals:
StackMap stack:
3: aload 2
iload 0
invokestatic org.glassfish.grizzly.http.util.CookieUtils.containsCTL:(Ljava/lang/String;I)Z
ifeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "Control character in cookie value, consider BASE64 encoding your value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.alreadyQuoted:(Ljava/lang/String;)Z
ifeq 10
6: aload 1
bipush 34
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;I)V
7: aload 1
aload 2
iconst_1
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
8: aload 1
bipush 34
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;I)V
9: goto 27
StackMap locals:
StackMap stack:
10: iload 4
ifeq 16
iload 5
ifeq 16
iload 0
ifne 16
aload 2
aload 3
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isToken2:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 16
11: aload 1
bipush 34
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;I)V
12: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
13: aload 1
bipush 34
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;I)V
14: iconst_1
istore 0
15: goto 27
StackMap locals:
StackMap stack:
16: iload 0
ifne 21
aload 2
aload 3
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isToken:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 21
17: aload 1
bipush 34
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;I)V
18: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
19: aload 1
bipush 34
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;I)V
20: goto 27
StackMap locals:
StackMap stack:
21: iload 0
iconst_1
if_icmpne 26
aload 2
aload 3
invokestatic org.glassfish.grizzly.http.util.CookieUtils.isToken2:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 26
22: aload 1
bipush 34
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;I)V
23: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
24: aload 1
bipush 34
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;I)V
25: goto 27
26: StackMap locals:
StackMap stack:
aload 1
aload 2
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
27: StackMap locals:
StackMap stack:
iload 0
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 28 0 version I
0 28 1 buf Lorg/glassfish/grizzly/Buffer;
0 28 2 value Ljava/lang/String;
0 28 3 literals Ljava/lang/String;
0 28 4 allowVersionSwitch Z
0 28 5 versionOneStrictCompliance Z
MethodParameters:
Name Flags
version
buf
value
literals
allowVersionSwitch
versionOneStrictCompliance
private static java.lang.String escapeDoubleQuotes(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, 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
ifeq 1
aload 0
bipush 34
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: iload 1
istore 4
start local 4 4: goto 17
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 6: iload 5
bipush 92
if_icmpne 12
7: aload 3
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: iinc 4 1
iload 4
iload 2
if_icmplt 10
9: new java.lang.IllegalArgumentException
dup
ldc "Invalid escape character in cookie value."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: int
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
11: goto 16
StackMap locals:
StackMap stack:
12: iload 5
bipush 34
if_icmpne 15
13: aload 3
bipush 92
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: goto 16
15: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 16: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
iload 2
if_icmplt 5
end local 4 18: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 s Ljava/lang/String;
0 19 1 beginIndex I
0 19 2 endIndex I
3 19 3 b Ljava/lang/StringBuilder;
4 18 4 i I
6 16 5 c C
MethodParameters:
Name Flags
s
beginIndex
endIndex
public static boolean alreadyQuoted(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifeq 1
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 1
aload 0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
static void put(org.glassfish.grizzly.Buffer, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
i2b
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 2 1 c I
MethodParameters:
Name Flags
dstBuffer
c
static void putInt(org.glassfish.grizzly.Buffer, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokestatic org.glassfish.grizzly.http.util.CookieSerializerUtils.put:(Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 2 1 intValue I
MethodParameters:
Name Flags
dstBuffer
intValue
static void put(org.glassfish.grizzly.Buffer, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/Buffer;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: aload 0
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iload 2
if_icmpge 3
2: new java.nio.BufferOverflowException
dup
invokespecial java.nio.BufferOverflowException.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
i2b
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 5
end local 3 8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 9 1 s Ljava/lang/String;
1 9 2 size I
4 8 3 i I
MethodParameters:
Name Flags
dstBuffer
s
static void put(java.lang.StringBuilder, int);
descriptor: (Ljava/lang/StringBuilder;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dstBuffer Ljava/lang/StringBuilder;
0 2 1 c I
MethodParameters:
Name Flags
dstBuffer
c
static void putInt(java.lang.StringBuilder, int);
descriptor: (Ljava/lang/StringBuilder;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dstBuffer Ljava/lang/StringBuilder;
0 2 1 intValue I
MethodParameters:
Name Flags
dstBuffer
intValue
static void put(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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dstBuffer Ljava/lang/StringBuilder;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
dstBuffer
s
}
SourceFile: "CookieSerializerUtils.java"