public class org.eclipse.jetty.http.HttpCookie
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.http.HttpCookie
super_class: java.lang.Object
{
private static final java.lang.String __COOKIE_DELIM;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\",;\\ \t"
private static final java.lang.String __01Jan1970_COOKIE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String _name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _value;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _domain;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long _maxAge;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _path;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean _secure;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int _version;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean _httpOnly;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long _expiration;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: lconst_0
invokestatic org.eclipse.jetty.http.DateGenerator.formatCookieDate:(J)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
putstatic org.eclipse.jetty.http.HttpCookie.__01Jan1970_COOKIE:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc -1
invokespecial org.eclipse.jetty.http.HttpCookie.<init>:(Ljava/lang/String;Ljava/lang/String;J)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/HttpCookie;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void <init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
ldc -1
iconst_0
iconst_0
invokespecial org.eclipse.jetty.http.HttpCookie.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JZZ)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/HttpCookie;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
0 2 3 domain Ljava/lang/String;
0 2 4 path Ljava/lang/String;
MethodParameters:
Name Flags
name
value
domain
path
public void <init>(java.lang.String, java.lang.String, long);
descriptor: (Ljava/lang/String;Ljava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
lload 3
iconst_0
iconst_0
invokespecial org.eclipse.jetty.http.HttpCookie.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JZZ)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/HttpCookie;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
0 2 3 maxAge J
MethodParameters:
Name Flags
name
value
maxAge
public void <init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, long, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 start local 8 0: aload 0
aload 1
aload 2
aload 3
aload 4
lload 5
iload 7
iload 8
aconst_null
iconst_0
invokespecial org.eclipse.jetty.http.HttpCookie.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JZZLjava/lang/String;I)V
1: return
end local 8 end local 7 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 2 0 this Lorg/eclipse/jetty/http/HttpCookie;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/String;
0 2 3 domain Ljava/lang/String;
0 2 4 path Ljava/lang/String;
0 2 5 maxAge J
0 2 7 httpOnly Z
0 2 8 secure Z
MethodParameters:
Name Flags
name
value
domain
path
maxAge
httpOnly
secure
public void <init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, long, boolean, boolean, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JZZLjava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 7 start local 8 start local 9 start local 10 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
2: aload 0
aload 2
putfield org.eclipse.jetty.http.HttpCookie._value:Ljava/lang/String;
3: aload 0
aload 3
putfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
4: aload 0
aload 4
putfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
5: aload 0
lload 5
putfield org.eclipse.jetty.http.HttpCookie._maxAge:J
6: aload 0
iload 7
putfield org.eclipse.jetty.http.HttpCookie._httpOnly:Z
7: aload 0
iload 8
putfield org.eclipse.jetty.http.HttpCookie._secure:Z
8: aload 0
aload 9
putfield org.eclipse.jetty.http.HttpCookie._comment:Ljava/lang/String;
9: aload 0
iload 10
putfield org.eclipse.jetty.http.HttpCookie._version:I
10: aload 0
lload 5
lconst_0
lcmp
ifge 11
ldc -1
goto 12
StackMap locals: org.eclipse.jetty.http.HttpCookie java.lang.String java.lang.String java.lang.String java.lang.String long int int java.lang.String int
StackMap stack: org.eclipse.jetty.http.HttpCookie
11: invokestatic java.lang.System.nanoTime:()J
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
lload 5
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
ladd
StackMap locals: org.eclipse.jetty.http.HttpCookie java.lang.String java.lang.String java.lang.String java.lang.String long int int java.lang.String int
StackMap stack: org.eclipse.jetty.http.HttpCookie long
12: putfield org.eclipse.jetty.http.HttpCookie._expiration:J
13: return
end local 10 end local 9 end local 8 end local 7 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 14 0 this Lorg/eclipse/jetty/http/HttpCookie;
0 14 1 name Ljava/lang/String;
0 14 2 value Ljava/lang/String;
0 14 3 domain Ljava/lang/String;
0 14 4 path Ljava/lang/String;
0 14 5 maxAge J
0 14 7 httpOnly Z
0 14 8 secure Z
0 14 9 comment Ljava/lang/String;
0 14 10 version I
MethodParameters:
Name Flags
name
value
domain
path
maxAge
httpOnly
secure
comment
version
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic java.net.HttpCookie.parse:(Ljava/lang/String;)Ljava/util/List;
astore 2
start local 2 2: aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmpeq 4
3: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
4: StackMap locals: org.eclipse.jetty.http.HttpCookie java.lang.String java.util.List
StackMap stack:
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.net.HttpCookie
astore 3
start local 3 5: aload 0
aload 3
invokevirtual java.net.HttpCookie.getName:()Ljava/lang/String;
putfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
6: aload 0
aload 3
invokevirtual java.net.HttpCookie.getValue:()Ljava/lang/String;
putfield org.eclipse.jetty.http.HttpCookie._value:Ljava/lang/String;
7: aload 0
aload 3
invokevirtual java.net.HttpCookie.getDomain:()Ljava/lang/String;
putfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
8: aload 0
aload 3
invokevirtual java.net.HttpCookie.getPath:()Ljava/lang/String;
putfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
9: aload 0
aload 3
invokevirtual java.net.HttpCookie.getMaxAge:()J
putfield org.eclipse.jetty.http.HttpCookie._maxAge:J
10: aload 0
aload 3
invokevirtual java.net.HttpCookie.isHttpOnly:()Z
putfield org.eclipse.jetty.http.HttpCookie._httpOnly:Z
11: aload 0
aload 3
invokevirtual java.net.HttpCookie.getSecure:()Z
putfield org.eclipse.jetty.http.HttpCookie._secure:Z
12: aload 0
aload 3
invokevirtual java.net.HttpCookie.getComment:()Ljava/lang/String;
putfield org.eclipse.jetty.http.HttpCookie._comment:Ljava/lang/String;
13: aload 0
aload 3
invokevirtual java.net.HttpCookie.getVersion:()I
putfield org.eclipse.jetty.http.HttpCookie._version:I
14: aload 0
aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
lconst_0
lcmp
ifge 15
ldc -1
goto 16
StackMap locals: org.eclipse.jetty.http.HttpCookie java.lang.String java.util.List java.net.HttpCookie
StackMap stack: org.eclipse.jetty.http.HttpCookie
15: invokestatic java.lang.System.nanoTime:()J
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
ladd
StackMap locals: org.eclipse.jetty.http.HttpCookie java.lang.String java.util.List java.net.HttpCookie
StackMap stack: org.eclipse.jetty.http.HttpCookie long
16: putfield org.eclipse.jetty.http.HttpCookie._expiration:J
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/eclipse/jetty/http/HttpCookie;
0 18 1 setCookie Ljava/lang/String;
2 18 2 cookies Ljava/util/List<Ljava/net/HttpCookie;>;
5 18 3 cookie Ljava/net/HttpCookie;
MethodParameters:
Name Flags
setCookie
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCookie;
public java.lang.String getValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCookie;
public java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._comment:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCookie;
public java.lang.String getDomain();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCookie;
public long getMaxAge();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCookie;
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCookie;
public boolean isSecure();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._secure:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCookie;
public int getVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._version:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCookie;
public boolean isHttpOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._httpOnly:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/http/HttpCookie;
public boolean isExpired(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._expiration:J
lconst_0
lcmp
iflt 1
lload 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._expiration:J
lcmp
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/http/HttpCookie;
0 2 1 timeNanos J
MethodParameters:
Name Flags
timeNanos
public java.lang.String asString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.eclipse.jetty.http.HttpCookie.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.eclipse.jetty.http.HttpCookie.getValue:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokevirtual org.eclipse.jetty.http.HttpCookie.getDomain:()Ljava/lang/String;
ifnull 4
3: aload 1
ldc ";$Domain="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.eclipse.jetty.http.HttpCookie.getDomain:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.http.HttpCookie.getPath:()Ljava/lang/String;
ifnull 6
5: aload 1
ldc ";$Path="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.eclipse.jetty.http.HttpCookie.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jetty/http/HttpCookie;
1 7 1 builder Ljava/lang/StringBuilder;
private static void quoteOnlyOrAppend(java.lang.StringBuilder, java.lang.String, boolean);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
1: aload 0
aload 1
invokestatic org.eclipse.jetty.util.QuotedStringTokenizer.quoteOnly:(Ljava/lang/Appendable;Ljava/lang/String;)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: StackMap locals:
StackMap stack:
return
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 s Ljava/lang/String;
0 4 2 quote Z
MethodParameters:
Name Flags
buf
s
quote
private static boolean isQuoteNeededForCookie(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.eclipse.jetty.util.QuotedStringTokenizer.isQuoted:(Ljava/lang/String;)Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 5: goto 12
6: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 7: ldc "\",;\\ \t"
iload 2
invokevirtual java.lang.String.indexOf:(I)I
iflt 9
8: iconst_1
ireturn
9: StackMap locals: int
StackMap stack:
iload 2
bipush 32
if_icmplt 10
iload 2
bipush 127
if_icmplt 11
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Illegal character in cookie value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 11: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
12: iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 1 13: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 s Ljava/lang/String;
5 13 1 i I
7 11 2 c C
MethodParameters:
Name Flags
s
public java.lang.String getSetCookie(org.eclipse.jetty.http.CookieCompliance);
descriptor: (Lorg/eclipse/jetty/http/CookieCompliance;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic org.eclipse.jetty.http.CookieCompliance.RFC6265:Lorg/eclipse/jetty/http/CookieCompliance;
if_acmpne 2
1: aload 0
invokevirtual org.eclipse.jetty.http.HttpCookie.getRFC6265SetCookie:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic org.eclipse.jetty.http.CookieCompliance.RFC2965:Lorg/eclipse/jetty/http/CookieCompliance;
if_acmpne 4
3: aload 0
invokevirtual org.eclipse.jetty.http.HttpCookie.getRFC2965SetCookie:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/http/HttpCookie;
0 5 1 compliance Lorg/eclipse/jetty/http/CookieCompliance;
MethodParameters:
Name Flags
compliance
public java.lang.String getRFC2965SetCookie();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
ifnull 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Bad cookie name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
invokestatic org.eclipse.jetty.http.HttpCookie.isQuoteNeededForCookie:(Ljava/lang/String;)Z
istore 2
start local 2 4: aload 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
iload 2
invokestatic org.eclipse.jetty.http.HttpCookie.quoteOnlyOrAppend:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)V
5: aload 1
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: aload 0
getfield org.eclipse.jetty.http.HttpCookie._value:Ljava/lang/String;
invokestatic org.eclipse.jetty.http.HttpCookie.isQuoteNeededForCookie:(Ljava/lang/String;)Z
istore 3
start local 3 7: aload 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._value:Ljava/lang/String;
iload 3
invokestatic org.eclipse.jetty.http.HttpCookie.quoteOnlyOrAppend:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)V
8: aload 0
getfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
ifnull 9
aload 0
getfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 9
iconst_1
goto 10
StackMap locals: java.lang.StringBuilder int int
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 4
start local 4 11: iload 4
ifeq 12
aload 0
getfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
invokestatic org.eclipse.jetty.http.HttpCookie.isQuoteNeededForCookie:(Ljava/lang/String;)Z
ifeq 12
iconst_1
goto 13
StackMap locals: int
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 5
start local 5 14: aload 0
getfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
ifnull 15
aload 0
getfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 15
iconst_1
goto 16
StackMap locals: int
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 6
start local 6 17: iload 6
ifeq 18
aload 0
getfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
invokestatic org.eclipse.jetty.http.HttpCookie.isQuoteNeededForCookie:(Ljava/lang/String;)Z
ifeq 18
iconst_1
goto 19
StackMap locals: int
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: istore 7
start local 7 20: aload 0
getfield org.eclipse.jetty.http.HttpCookie._version:I
istore 8
start local 8 21: iload 8
ifne 25
aload 0
getfield org.eclipse.jetty.http.HttpCookie._comment:Ljava/lang/String;
ifnonnull 24
iload 2
ifne 24
iload 3
ifne 24
iload 5
ifne 24
iload 7
ifne 24
22: aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
invokestatic org.eclipse.jetty.util.QuotedStringTokenizer.isQuoted:(Ljava/lang/String;)Z
ifne 24
aload 0
getfield org.eclipse.jetty.http.HttpCookie._value:Ljava/lang/String;
invokestatic org.eclipse.jetty.util.QuotedStringTokenizer.isQuoted:(Ljava/lang/String;)Z
ifne 24
23: aload 0
getfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
invokestatic org.eclipse.jetty.util.QuotedStringTokenizer.isQuoted:(Ljava/lang/String;)Z
ifne 24
aload 0
getfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
invokestatic org.eclipse.jetty.util.QuotedStringTokenizer.isQuoted:(Ljava/lang/String;)Z
ifeq 25
24: StackMap locals: int int
StackMap stack:
iconst_1
istore 8
25: StackMap locals:
StackMap stack:
iload 8
iconst_1
if_icmpne 27
26: aload 1
ldc ";Version=1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 29
27: StackMap locals:
StackMap stack:
iload 8
iconst_1
if_icmple 29
28: aload 1
ldc ";Version="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 8
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
29: StackMap locals:
StackMap stack:
iload 6
ifeq 32
30: aload 1
ldc ";Path="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: aload 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
iload 7
invokestatic org.eclipse.jetty.http.HttpCookie.quoteOnlyOrAppend:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)V
32: StackMap locals:
StackMap stack:
iload 4
ifeq 35
33: aload 1
ldc ";Domain="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
34: aload 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
iload 5
invokestatic org.eclipse.jetty.http.HttpCookie.quoteOnlyOrAppend:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)V
35: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
lconst_0
lcmp
iflt 43
36: aload 1
ldc ";Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
lconst_0
lcmp
ifne 39
38: aload 1
getstatic org.eclipse.jetty.http.HttpCookie.__01Jan1970_COOKIE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 40
39: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.System.currentTimeMillis:()J
ldc 1000
aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
lmul
ladd
invokestatic org.eclipse.jetty.http.DateGenerator.formatCookieDate:(Ljava/lang/StringBuilder;J)V
40: StackMap locals:
StackMap stack:
iload 8
iconst_1
if_icmplt 43
41: aload 1
ldc ";Max-Age="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
42: aload 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
43: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.HttpCookie._secure:Z
ifeq 45
44: aload 1
ldc ";Secure"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.HttpCookie._httpOnly:Z
ifeq 47
46: aload 1
ldc ";HttpOnly"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
47: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.HttpCookie._comment:Ljava/lang/String;
ifnull 50
48: aload 1
ldc ";Comment="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
49: aload 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._comment:Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.http.HttpCookie._comment:Ljava/lang/String;
invokestatic org.eclipse.jetty.http.HttpCookie.isQuoteNeededForCookie:(Ljava/lang/String;)Z
invokestatic org.eclipse.jetty.http.HttpCookie.quoteOnlyOrAppend:(Ljava/lang/StringBuilder;Ljava/lang/String;Z)V
50: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 51 0 this Lorg/eclipse/jetty/http/HttpCookie;
3 51 1 buf Ljava/lang/StringBuilder;
4 51 2 quoteName Z
7 51 3 quoteValue Z
11 51 4 hasDomain Z
14 51 5 quoteDomain Z
17 51 6 hasPath Z
20 51 7 quotePath Z
21 51 8 version I
public java.lang.String getRFC6265SetCookie();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
ifnull 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Bad cookie name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
ldc "RFC6265 Cookie name"
invokestatic org.eclipse.jetty.http.Syntax.requireValidRFC2616Token:(Ljava/lang/String;Ljava/lang/String;)V
3: aload 0
getfield org.eclipse.jetty.http.HttpCookie._value:Ljava/lang/String;
invokestatic org.eclipse.jetty.http.Syntax.requireValidRFC6265CookieValue:(Ljava/lang/String;)V
4: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 5: aload 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 61
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.http.HttpCookie._value:Ljava/lang/String;
ifnonnull 6
ldc ""
goto 7
StackMap locals: org.eclipse.jetty.http.HttpCookie java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder
6: aload 0
getfield org.eclipse.jetty.http.HttpCookie._value:Ljava/lang/String;
StackMap locals: org.eclipse.jetty.http.HttpCookie java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder java.lang.String
7: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 0
getfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
ifnull 10
aload 0
getfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 10
9: aload 1
ldc "; Path="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.http.HttpCookie._path:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
ifnull 12
aload 0
getfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 12
11: aload 1
ldc "; Domain="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.http.HttpCookie._domain:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
lconst_0
lcmp
iflt 19
13: aload 1
ldc "; Expires="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
lconst_0
lcmp
ifne 16
15: aload 1
getstatic org.eclipse.jetty.http.HttpCookie.__01Jan1970_COOKIE:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 17
16: StackMap locals:
StackMap stack:
aload 1
invokestatic java.lang.System.currentTimeMillis:()J
ldc 1000
aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
lmul
ladd
invokestatic org.eclipse.jetty.http.DateGenerator.formatCookieDate:(Ljava/lang/StringBuilder;J)V
17: StackMap locals:
StackMap stack:
aload 1
ldc "; Max-Age="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: aload 1
aload 0
getfield org.eclipse.jetty.http.HttpCookie._maxAge:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.HttpCookie._secure:Z
ifeq 21
20: aload 1
ldc "; Secure"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.http.HttpCookie._httpOnly:Z
ifeq 23
22: aload 1
ldc "; HttpOnly"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/eclipse/jetty/http/HttpCookie;
5 24 1 buf Ljava/lang/StringBuilder;
}
SourceFile: "HttpCookie.java"
NestMembers:
org.eclipse.jetty.http.HttpCookie$SetCookieHttpField
InnerClasses:
public SetCookieHttpField = org.eclipse.jetty.http.HttpCookie$SetCookieHttpField of org.eclipse.jetty.http.HttpCookie