public final class org.apache.tomcat.util.http.SameSiteCookies extends java.lang.Enum<org.apache.tomcat.util.http.SameSiteCookies>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.apache.tomcat.util.http.SameSiteCookies
super_class: java.lang.Enum
{
public static final org.apache.tomcat.util.http.SameSiteCookies NONE;
descriptor: Lorg/apache/tomcat/util/http/SameSiteCookies;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.tomcat.util.http.SameSiteCookies LAX;
descriptor: Lorg/apache/tomcat/util/http/SameSiteCookies;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.tomcat.util.http.SameSiteCookies STRICT;
descriptor: Lorg/apache/tomcat/util/http/SameSiteCookies;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.apache.tomcat.util.http.SameSiteCookies[] ENUM$VALUES;
descriptor: [Lorg/apache/tomcat/util/http/SameSiteCookies;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new org.apache.tomcat.util.http.SameSiteCookies
dup
ldc "NONE"
iconst_0
1: ldc "None"
invokespecial org.apache.tomcat.util.http.SameSiteCookies.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic org.apache.tomcat.util.http.SameSiteCookies.NONE:Lorg/apache/tomcat/util/http/SameSiteCookies;
2: new org.apache.tomcat.util.http.SameSiteCookies
dup
ldc "LAX"
iconst_1
3: ldc "Lax"
invokespecial org.apache.tomcat.util.http.SameSiteCookies.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic org.apache.tomcat.util.http.SameSiteCookies.LAX:Lorg/apache/tomcat/util/http/SameSiteCookies;
4: new org.apache.tomcat.util.http.SameSiteCookies
dup
ldc "STRICT"
iconst_2
5: ldc "Strict"
invokespecial org.apache.tomcat.util.http.SameSiteCookies.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic org.apache.tomcat.util.http.SameSiteCookies.STRICT:Lorg/apache/tomcat/util/http/SameSiteCookies;
iconst_3
anewarray org.apache.tomcat.util.http.SameSiteCookies
dup
iconst_0
getstatic org.apache.tomcat.util.http.SameSiteCookies.NONE:Lorg/apache/tomcat/util/http/SameSiteCookies;
aastore
dup
iconst_1
getstatic org.apache.tomcat.util.http.SameSiteCookies.LAX:Lorg/apache/tomcat/util/http/SameSiteCookies;
aastore
dup
iconst_2
getstatic org.apache.tomcat.util.http.SameSiteCookies.STRICT:Lorg/apache/tomcat/util/http/SameSiteCookies;
aastore
putstatic org.apache.tomcat.util.http.SameSiteCookies.ENUM$VALUES:[Lorg/apache/tomcat/util/http/SameSiteCookies;
6: ldc Lorg/apache/tomcat/util/http/SameSiteCookies;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.tomcat.util.http.SameSiteCookies.sm:Lorg/apache/tomcat/util/res/StringManager;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;ILjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
aload 3
putfield org.apache.tomcat.util.http.SameSiteCookies.value:Ljava/lang/String;
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/SameSiteCookies;
0 3 3 value Ljava/lang/String;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
value
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.apache.tomcat.util.http.SameSiteCookies.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/SameSiteCookies;
public static org.apache.tomcat.util.http.SameSiteCookies fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/http/SameSiteCookies;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=5, args_size=1
start local 0 0: invokestatic org.apache.tomcat.util.http.SameSiteCookies.values:()[Lorg/apache/tomcat/util/http/SameSiteCookies;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: java.lang.String top int int org.apache.tomcat.util.http.SameSiteCookies[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokevirtual org.apache.tomcat.util.http.SameSiteCookies.getValue:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: new java.lang.IllegalStateException
dup
getstatic org.apache.tomcat.util.http.SameSiteCookies.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "cookies.invalidSameSiteCookies"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 value Ljava/lang/String;
2 4 1 sameSiteCookies Lorg/apache/tomcat/util/http/SameSiteCookies;
MethodParameters:
Name Flags
value
public static org.apache.tomcat.util.http.SameSiteCookies[] values();
descriptor: ()[Lorg/apache/tomcat/util/http/SameSiteCookies;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.apache.tomcat.util.http.SameSiteCookies.ENUM$VALUES:[Lorg/apache/tomcat/util/http/SameSiteCookies;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.apache.tomcat.util.http.SameSiteCookies
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.tomcat.util.http.SameSiteCookies valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/http/SameSiteCookies;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/apache/tomcat/util/http/SameSiteCookies;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.apache.tomcat.util.http.SameSiteCookies
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/apache/tomcat/util/http/SameSiteCookies;>;
SourceFile: "SameSiteCookies.java"