public class org.eclipse.jetty.server.Cookies extends org.eclipse.jetty.http.CookieCutter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.Cookies
super_class: org.eclipse.jetty.http.CookieCutter
{
protected static final org.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/Logger;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected final java.util.List<java.lang.String> _rawFields;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
protected final java.util.List<javax.servlet.http.Cookie> _cookieList;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Ljavax/servlet/http/Cookie;>;
private int _addedFields;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean _parsed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.servlet.http.Cookie[] _cookies;
descriptor: [Ljavax/servlet/http/Cookie;
flags: (0x0002) ACC_PRIVATE
private boolean _set;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/server/Cookies;
invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.server.Cookies.LOG:Lorg/eclipse/jetty/util/log/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.eclipse.jetty.http.CookieCompliance.RFC6265:Lorg/eclipse/jetty/http/CookieCompliance;
aconst_null
invokespecial org.eclipse.jetty.server.Cookies.<init>:(Lorg/eclipse/jetty/http/CookieCompliance;Lorg/eclipse/jetty/http/ComplianceViolation$Listener;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/server/Cookies;
public void <init>(org.eclipse.jetty.http.CookieCompliance, org.eclipse.jetty.http.ComplianceViolation$Listener);
descriptor: (Lorg/eclipse/jetty/http/CookieCompliance;Lorg/eclipse/jetty/http/ComplianceViolation$Listener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.eclipse.jetty.http.CookieCutter.<init>:(Lorg/eclipse/jetty/http/CookieCompliance;Lorg/eclipse/jetty/http/ComplianceViolation$Listener;)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jetty.server.Cookies._rawFields:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.eclipse.jetty.server.Cookies._cookieList:Ljava/util/List;
3: aload 0
iconst_0
putfield org.eclipse.jetty.server.Cookies._parsed:Z
4: aload 0
iconst_0
putfield org.eclipse.jetty.server.Cookies._set:Z
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/server/Cookies;
0 6 1 compliance Lorg/eclipse/jetty/http/CookieCompliance;
0 6 2 complianceListener Lorg/eclipse/jetty/http/ComplianceViolation$Listener;
MethodParameters:
Name Flags
compliance
complianceListener
public void addCookieField(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.server.Cookies._set:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
5: aload 1
invokevirtual java.lang.String.length:()I
ifne 7
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.Cookies._rawFields:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield org.eclipse.jetty.server.Cookies._addedFields:I
if_icmple 13
8: aload 1
aload 0
getfield org.eclipse.jetty.server.Cookies._rawFields:Ljava/util/List;
aload 0
getfield org.eclipse.jetty.server.Cookies._addedFields:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
9: aload 0
dup
getfield org.eclipse.jetty.server.Cookies._addedFields:I
iconst_1
iadd
putfield org.eclipse.jetty.server.Cookies._addedFields:I
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.Cookies._rawFields:Ljava/util/List;
aload 0
getfield org.eclipse.jetty.server.Cookies._addedFields:I
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.Cookies._rawFields:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield org.eclipse.jetty.server.Cookies._addedFields:I
if_icmpgt 11
13: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.Cookies._rawFields:Ljava/util/List;
aload 0
dup
getfield org.eclipse.jetty.server.Cookies._addedFields:I
dup_x1
iconst_1
iadd
putfield org.eclipse.jetty.server.Cookies._addedFields:I
aload 1
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
14: aload 0
iconst_0
putfield org.eclipse.jetty.server.Cookies._parsed:Z
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/jetty/server/Cookies;
0 16 1 rawField Ljava/lang/String;
MethodParameters:
Name Flags
rawField
public javax.servlet.http.Cookie[] getCookies();
descriptor: ()[Ljavax/servlet/http/Cookie;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.Cookies._set:Z
ifeq 4
1: aload 0
getfield org.eclipse.jetty.server.Cookies._cookies:[Ljavax/servlet/http/Cookie;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.Cookies._rawFields:Ljava/util/List;
aload 0
getfield org.eclipse.jetty.server.Cookies._addedFields:I
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
3: aload 0
iconst_0
putfield org.eclipse.jetty.server.Cookies._parsed:Z
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.Cookies._rawFields:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield org.eclipse.jetty.server.Cookies._addedFields:I
if_icmpgt 2
5: aload 0
getfield org.eclipse.jetty.server.Cookies._parsed:Z
ifeq 7
6: aload 0
getfield org.eclipse.jetty.server.Cookies._cookies:[Ljavax/servlet/http/Cookie;
areturn
7: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.server.Cookies._rawFields:Ljava/util/List;
invokevirtual org.eclipse.jetty.server.Cookies.parseFields:(Ljava/util/List;)V
8: aload 0
aload 0
getfield org.eclipse.jetty.server.Cookies._cookieList:Ljava/util/List;
aload 0
getfield org.eclipse.jetty.server.Cookies._cookieList:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray javax.servlet.http.Cookie
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.servlet.http.Cookie[]
putfield org.eclipse.jetty.server.Cookies._cookies:[Ljavax/servlet/http/Cookie;
9: aload 0
getfield org.eclipse.jetty.server.Cookies._cookieList:Ljava/util/List;
invokeinterface java.util.List.clear:()V
10: aload 0
iconst_1
putfield org.eclipse.jetty.server.Cookies._parsed:Z
11: aload 0
getfield org.eclipse.jetty.server.Cookies._cookies:[Ljavax/servlet/http/Cookie;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/jetty/server/Cookies;
public void setCookies(javax.servlet.http.Cookie[]);
descriptor: ([Ljavax/servlet/http/Cookie;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jetty.server.Cookies._cookies:[Ljavax/servlet/http/Cookie;
1: aload 0
iconst_1
putfield org.eclipse.jetty.server.Cookies._set:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/server/Cookies;
0 3 1 cookies [Ljavax/servlet/http/Cookie;
MethodParameters:
Name Flags
cookies
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.Cookies._set:Z
ifeq 2
1: aload 0
aconst_null
putfield org.eclipse.jetty.server.Cookies._cookies:[Ljavax/servlet/http/Cookie;
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.eclipse.jetty.server.Cookies._set:Z
3: aload 0
iconst_0
putfield org.eclipse.jetty.server.Cookies._addedFields:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/server/Cookies;
protected void addCookie(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, 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: new javax.servlet.http.Cookie
dup
aload 1
aload 2
invokespecial javax.servlet.http.Cookie.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 1: aload 3
ifnull 3
2: aload 7
aload 3
invokevirtual javax.servlet.http.Cookie.setDomain:(Ljava/lang/String;)V
3: StackMap locals: javax.servlet.http.Cookie
StackMap stack:
aload 4
ifnull 5
4: aload 7
aload 4
invokevirtual javax.servlet.http.Cookie.setPath:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
iload 5
ifle 7
6: aload 7
iload 5
invokevirtual javax.servlet.http.Cookie.setVersion:(I)V
7: StackMap locals:
StackMap stack:
aload 6
ifnull 9
8: aload 7
aload 6
invokevirtual javax.servlet.http.Cookie.setComment:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.server.Cookies._cookieList:Ljava/util/List;
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 10: goto 13
11: StackMap locals: org.eclipse.jetty.server.Cookies java.lang.String java.lang.String java.lang.String java.lang.String int java.lang.String
StackMap stack: java.lang.Exception
astore 7
start local 7 12: getstatic org.eclipse.jetty.server.Cookies.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 7
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/Throwable;)V
end local 7 13: StackMap locals:
StackMap stack:
return
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 14 0 this Lorg/eclipse/jetty/server/Cookies;
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 version I
0 14 6 comment Ljava/lang/String;
1 10 7 cookie Ljavax/servlet/http/Cookie;
12 13 7 e Ljava/lang/Exception;
Exception table:
from to target type
0 10 11 Class java.lang.Exception
MethodParameters:
Name Flags
name
value
domain
path
version
comment
}
SourceFile: "Cookies.java"
InnerClasses:
public abstract Listener = org.eclipse.jetty.http.ComplianceViolation$Listener of org.eclipse.jetty.http.ComplianceViolation