public abstract class org.apache.tomcat.util.http.CookieProcessorBase implements org.apache.tomcat.util.http.CookieProcessor
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.tomcat.util.http.CookieProcessorBase
super_class: java.lang.Object
{
private static final java.lang.String COOKIE_DATE_PATTERN;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "EEE, dd-MMM-yyyy HH:mm:ss z"
protected static final java.lang.ThreadLocal<java.text.DateFormat> COOKIE_DATE_FORMAT;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/text/DateFormat;>;
protected static final java.lang.String ANCIENT_DATE;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private org.apache.tomcat.util.http.SameSiteCookies sameSiteCookies;
descriptor: Lorg/apache/tomcat/util/http/SameSiteCookies;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: invokedynamic get()Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/tomcat/util/http/CookieProcessorBase.lambda$0()Ljava/text/DateFormat; (6)
()Ljava/text/DateFormat;
invokestatic java.lang.ThreadLocal.withInitial:(Ljava/util/function/Supplier;)Ljava/lang/ThreadLocal;
1: putstatic org.apache.tomcat.util.http.CookieProcessorBase.COOKIE_DATE_FORMAT:Ljava/lang/ThreadLocal;
2: getstatic org.apache.tomcat.util.http.CookieProcessorBase.COOKIE_DATE_FORMAT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.text.DateFormat
new java.util.Date
dup
ldc 10000
invokespecial java.util.Date.<init>:(J)V
invokevirtual java.text.DateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
putstatic org.apache.tomcat.util.http.CookieProcessorBase.ANCIENT_DATE:Ljava/lang/String;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.apache.tomcat.util.http.SameSiteCookies.UNSET:Lorg/apache/tomcat/util/http/SameSiteCookies;
putfield org.apache.tomcat.util.http.CookieProcessorBase.sameSiteCookies:Lorg/apache/tomcat/util/http/SameSiteCookies;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/CookieProcessorBase;
public org.apache.tomcat.util.http.SameSiteCookies getSameSiteCookies();
descriptor: ()Lorg/apache/tomcat/util/http/SameSiteCookies;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.CookieProcessorBase.sameSiteCookies:Lorg/apache/tomcat/util/http/SameSiteCookies;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/CookieProcessorBase;
public void setSameSiteCookies(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.tomcat.util.http.SameSiteCookies.fromString:(Ljava/lang/String;)Lorg/apache/tomcat/util/http/SameSiteCookies;
putfield org.apache.tomcat.util.http.CookieProcessorBase.sameSiteCookies:Lorg/apache/tomcat/util/http/SameSiteCookies;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/CookieProcessorBase;
0 2 1 sameSiteCookies Ljava/lang/String;
MethodParameters:
Name Flags
sameSiteCookies
private static java.text.DateFormat lambda$0();
descriptor: ()Ljava/text/DateFormat;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=0
0: new java.text.SimpleDateFormat
dup
ldc "EEE, dd-MMM-yyyy HH:mm:ss z"
getstatic java.util.Locale.US:Ljava/util/Locale;
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 0
start local 0 1: aload 0
ldc "GMT"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokevirtual java.text.DateFormat.setTimeZone:(Ljava/util/TimeZone;)V
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 df Ljava/text/DateFormat;
}
SourceFile: "CookieProcessorBase.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles