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.slf4j.Logger LOG;
descriptor: Lorg/slf4j/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<jakarta.servlet.http.Cookie> _cookieList;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Ljakarta/servlet/http/Cookie;>;
private int _addedFields;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean _parsed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private jakarta.servlet.http.Cookie[] _cookies;
descriptor: [Ljakarta/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.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.server.Cookies.LOG:Lorg/slf4j/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 jakarta.servlet.http.Cookie[] getCookies();
descriptor: ()[Ljakarta/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:[Ljakarta/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:[Ljakarta/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 jakarta.servlet.http.Cookie
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast jakarta.servlet.http.Cookie[]
putfield org.eclipse.jetty.server.Cookies._cookies:[Ljakarta/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:[Ljakarta/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(jakarta.servlet.http.Cookie[]);
descriptor: ([Ljakarta/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:[Ljakarta/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 [Ljakarta/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:[Ljakarta/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=6, 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 jakarta.servlet.http.Cookie
dup
aload 1
aload 2
invokespecial jakarta.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 jakarta.servlet.http.Cookie.setDomain:(Ljava/lang/String;)V
3: StackMap locals: jakarta.servlet.http.Cookie
StackMap stack:
aload 4
ifnull 5
4: aload 7
aload 4
invokevirtual jakarta.servlet.http.Cookie.setPath:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
iload 5
ifle 7
6: aload 7
iload 5
invokevirtual jakarta.servlet.http.Cookie.setVersion:(I)V
7: StackMap locals:
StackMap stack:
aload 6
ifnull 9
8: aload 7
aload 6
invokevirtual jakarta.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 15
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/slf4j/Logger;
ldc "Unable to add Cookie name={}, value={}, domain={}, path={}, version={}, comment={}"
bipush 7
anewarray java.lang.Object
dup
iconst_0
13: aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
aastore
dup
iconst_3
aload 4
aastore
dup
iconst_4
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
aload 6
aastore
dup
bipush 6
aload 7
aastore
14: invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 7 15: 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 16 0 this Lorg/eclipse/jetty/server/Cookies;
0 16 1 name Ljava/lang/String;
0 16 2 value Ljava/lang/String;
0 16 3 domain Ljava/lang/String;
0 16 4 path Ljava/lang/String;
0 16 5 version I
0 16 6 comment Ljava/lang/String;
1 10 7 cookie Ljakarta/servlet/http/Cookie;
12 15 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