public class org.jboss.resteasy.plugins.delegates.ServerCookie implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.plugins.delegates.ServerCookie
super_class: java.lang.Object
{
private static final java.lang.String tspecials;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: ",; "
private static final java.lang.String tspecials2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "()<>@,;:\\\"/[]?={} \t"
private static final java.util.Locale LOCALE_US;
descriptor: Ljava/util/Locale;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.util.TimeZone GMT_ZONE;
descriptor: Ljava/util/TimeZone;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String OLD_COOKIE_PATTERN;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "EEE, dd-MMM-yyyy HH:mm:ss z"
private static final java.text.DateFormat oldCookieFormat;
descriptor: Ljava/text/DateFormat;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String ancientDate;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic java.util.Locale.US:Ljava/util/Locale;
putstatic org.jboss.resteasy.plugins.delegates.ServerCookie.LOCALE_US:Ljava/util/Locale;
1: ldc "GMT"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
putstatic org.jboss.resteasy.plugins.delegates.ServerCookie.GMT_ZONE:Ljava/util/TimeZone;
2: new java.text.SimpleDateFormat
dup
ldc "EEE, dd-MMM-yyyy HH:mm:ss z"
getstatic org.jboss.resteasy.plugins.delegates.ServerCookie.LOCALE_US:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
putstatic org.jboss.resteasy.plugins.delegates.ServerCookie.oldCookieFormat:Ljava/text/DateFormat;
3: new java.util.Date
dup
ldc 10000
invokespecial java.util.Date.<init>:(J)V
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.formatOldCookie:(Ljava/util/Date;)Ljava/lang/String;
putstatic org.jboss.resteasy.plugins.delegates.ServerCookie.ancientDate:Ljava/lang/String;
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/jboss/resteasy/plugins/delegates/ServerCookie;
public static boolean isToken(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 5: ldc ",; "
iload 3
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 7
6: iconst_0
ireturn
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 1
if_icmplt 4
end local 2 9: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 value Ljava/lang/String;
2 10 1 len I
3 9 2 i I
5 7 3 c C
MethodParameters:
Name Flags
value
public static boolean containsCTL(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 5: iload 4
bipush 32
if_icmplt 6
iload 4
bipush 127
if_icmplt 9
6: StackMap locals: int
StackMap stack:
iload 4
bipush 9
if_icmpne 8
7: goto 9
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 2
if_icmplt 4
end local 3 11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 value Ljava/lang/String;
0 12 1 version I
2 12 2 len I
3 11 3 i I
5 9 4 c C
MethodParameters:
Name Flags
value
version
public static boolean isToken2(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
ifnonnull 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 5: ldc "()<>@,;:\\\"/[]?={} \t"
iload 3
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 7
6: iconst_0
ireturn
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 1
if_icmplt 4
end local 2 9: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 value Ljava/lang/String;
2 10 1 len I
3 9 2 i I
5 7 3 c C
MethodParameters:
Name Flags
value
public static boolean checkName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.isToken:(Ljava/lang/String;)Z
ifeq 9
1: aload 0
ldc "Comment"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
2: aload 0
ldc "Discard"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
3: aload 0
ldc "Domain"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
4: aload 0
ldc "Expires"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
5: aload 0
ldc "Max-Age"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
6: aload 0
ldc "Path"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
7: aload 0
ldc "Secure"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 9
8: aload 0
ldc "Version"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static java.lang.String (int);
descriptor: (I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
if_icmpne 2
1: ldc "Set-Cookie"
areturn
2: StackMap locals:
StackMap stack:
ldc "Set-Cookie"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 version I
MethodParameters:
Name Flags
version
public static java.lang.String formatOldCookie(java.util.Date);
descriptor: (Ljava/util/Date;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: getstatic org.jboss.resteasy.plugins.delegates.ServerCookie.oldCookieFormat:Ljava/text/DateFormat;
dup
astore 2
monitorenter
2: getstatic org.jboss.resteasy.plugins.delegates.ServerCookie.oldCookieFormat:Ljava/text/DateFormat;
aload 0
invokevirtual java.text.DateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
astore 1
3: aload 2
monitorexit
4: goto 7
StackMap locals: java.util.Date java.lang.String java.text.DateFormat
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 d Ljava/util/Date;
1 8 1 ocf Ljava/lang/String;
Exception table:
from to target type
2 4 5 any
5 6 5 any
MethodParameters:
Name Flags
d
public static void formatOldCookie(java.util.Date, java.lang.StringBuffer, java.text.FieldPosition);
descriptor: (Ljava/util/Date;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jboss.resteasy.plugins.delegates.ServerCookie.oldCookieFormat:Ljava/text/DateFormat;
dup
astore 3
monitorenter
1: getstatic org.jboss.resteasy.plugins.delegates.ServerCookie.oldCookieFormat:Ljava/text/DateFormat;
aload 0
aload 1
aload 2
invokevirtual java.text.DateFormat.format:(Ljava/util/Date;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
pop
2: aload 3
monitorexit
3: goto 6
StackMap locals: java.util.Date java.lang.StringBuffer java.text.FieldPosition java.text.DateFormat
StackMap stack: java.lang.Throwable
4: aload 3
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 d Ljava/util/Date;
0 7 1 sb Ljava/lang/StringBuffer;
0 7 2 fp Ljava/text/FieldPosition;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
d
sb
fp
public static void appendCookieValue(java.lang.StringBuffer, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, boolean);
descriptor: (Ljava/lang/StringBuffer;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=10, args_size=9
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 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 9
start local 9 1: aload 9
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
2: aload 9
ldc "="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: iload 1
aload 9
aload 3
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.maybeQuote2:(ILjava/lang/StringBuffer;Ljava/lang/String;)V
4: iload 1
iconst_1
if_icmpne 9
5: aload 9
ldc "; Version=1"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
6: aload 6
ifnull 9
7: aload 9
ldc "; Comment="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: iload 1
aload 9
aload 6
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.maybeQuote2:(ILjava/lang/StringBuffer;Ljava/lang/String;)V
9: StackMap locals: java.lang.StringBuffer
StackMap stack:
aload 5
ifnull 12
10: aload 9
ldc "; Domain="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
11: iload 1
aload 9
aload 5
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.maybeQuote2:(ILjava/lang/StringBuffer;Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
iload 7
iflt 26
13: iload 1
ifne 24
14: aload 9
ldc "; Expires="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
15: iload 7
ifne 17
16: aload 9
getstatic org.jboss.resteasy.plugins.delegates.ServerCookie.ancientDate:Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
goto 26
17: StackMap locals:
StackMap stack:
new java.util.Date
dup
invokestatic java.lang.System.currentTimeMillis:()J
18: iload 7
i2l
ldc 1000
lmul
ladd
19: invokespecial java.util.Date.<init>:(J)V
20: aload 9
21: new java.text.FieldPosition
dup
iconst_0
invokespecial java.text.FieldPosition.<init>:(I)V
22: invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.formatOldCookie:(Ljava/util/Date;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)V
23: goto 26
24: StackMap locals:
StackMap stack:
aload 9
ldc "; Max-Age="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
25: aload 9
iload 7
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
26: StackMap locals:
StackMap stack:
aload 4
ifnull 29
27: aload 9
ldc "; Path="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
28: iload 1
aload 9
aload 4
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.maybeQuote2:(ILjava/lang/StringBuffer;Ljava/lang/String;)V
29: StackMap locals:
StackMap stack:
iload 8
ifeq 31
30: aload 9
ldc "; Secure"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
31: StackMap locals:
StackMap stack:
aload 0
aload 9
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;
pop
32: return
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 33 0 headerBuf Ljava/lang/StringBuffer;
0 33 1 version I
0 33 2 name Ljava/lang/String;
0 33 3 value Ljava/lang/String;
0 33 4 path Ljava/lang/String;
0 33 5 domain Ljava/lang/String;
0 33 6 comment Ljava/lang/String;
0 33 7 maxAge I
0 33 8 isSecure Z
1 33 9 buf Ljava/lang/StringBuffer;
MethodParameters:
Name Flags
headerBuf
version
name
value
path
domain
comment
maxAge
isSecure
public static void maybeQuote(int, java.lang.StringBuffer, java.lang.String);
descriptor: (ILjava/lang/StringBuffer;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.isToken:(Ljava/lang/String;)Z
ifeq 3
1: aload 1
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
2: goto 6
3: StackMap locals:
StackMap stack:
aload 1
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
4: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: aload 1
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 version I
0 7 1 buf Ljava/lang/StringBuffer;
0 7 2 value Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
version
buf
value
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
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 3
aload 0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public static void maybeQuote2(int, java.lang.StringBuffer, java.lang.String);
descriptor: (ILjava/lang/StringBuffer;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 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.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
2: goto 21
3: StackMap locals:
StackMap stack:
aload 2
iload 0
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.containsCTL:(Ljava/lang/String;I)Z
ifeq 5
4: new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.controlCharacterInCookieValue:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.alreadyQuoted:(Ljava/lang/String;)Z
ifeq 10
6: aload 1
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
7: aload 1
aload 2
iconst_1
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: aload 1
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
9: goto 21
10: StackMap locals:
StackMap stack:
iload 0
ifne 15
aload 2
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.isToken:(Ljava/lang/String;)Z
ifne 15
11: aload 1
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
13: aload 1
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
14: goto 21
15: StackMap locals:
StackMap stack:
iload 0
iconst_1
if_icmpne 20
aload 2
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.isToken2:(Ljava/lang/String;)Z
ifne 20
16: aload 1
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
17: aload 1
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokestatic org.jboss.resteasy.plugins.delegates.ServerCookie.escapeDoubleQuotes:(Ljava/lang/String;II)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
18: aload 1
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
19: goto 21
20: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 version I
0 22 1 buf Ljava/lang/StringBuffer;
0 22 2 value Ljava/lang/String;
MethodParameters:
Name Flags
version
buf
value
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.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3
start local 3 3: iload 1
istore 4
start local 4 4: goto 15
5: StackMap locals: java.lang.StringBuffer 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 11
7: aload 3
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
8: iinc 4 1
iload 4
iload 2
if_icmplt 9
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.invalidEscapeCharacterInCookieValue:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
aload 3
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
10: goto 14
11: StackMap locals:
StackMap stack:
iload 5
bipush 34
if_icmpne 13
12: aload 3
bipush 92
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
bipush 34
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
goto 14
13: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 5 14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 2
if_icmplt 5
end local 4 16: aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 s Ljava/lang/String;
0 17 1 beginIndex I
0 17 2 endIndex I
3 17 3 b Ljava/lang/StringBuffer;
4 16 4 i I
6 14 5 c C
MethodParameters:
Name Flags
s
beginIndex
endIndex
}
SourceFile: "ServerCookie.java"