public class org.apache.catalina.core.ApplicationSessionCookieConfig implements jakarta.servlet.SessionCookieConfig
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.core.ApplicationSessionCookieConfig
super_class: java.lang.Object
{
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 boolean httpOnly;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean secure;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int maxAge;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String domain;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.apache.catalina.core.StandardContext context;
descriptor: Lorg/apache/catalina/core/StandardContext;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "org.apache.catalina.core"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
1: putstatic org.apache.catalina.core.ApplicationSessionCookieConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.catalina.core.StandardContext);
descriptor: (Lorg/apache/catalina/core/StandardContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield org.apache.catalina.core.ApplicationSessionCookieConfig.maxAge:I
2: aload 0
aload 1
putfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
0 4 1 context Lorg/apache/catalina/core/StandardContext;
MethodParameters:
Name Flags
context
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.apache.catalina.core.ApplicationSessionCookieConfig.comment:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
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.apache.catalina.core.ApplicationSessionCookieConfig.domain:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
public int getMaxAge();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.maxAge:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
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.apache.catalina.core.ApplicationSessionCookieConfig.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
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.apache.catalina.core.ApplicationSessionCookieConfig.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
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.apache.catalina.core.ApplicationSessionCookieConfig.httpOnly:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
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.apache.catalina.core.ApplicationSessionCookieConfig.secure:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
public void (java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getState:()Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 5
1: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.core.ApplicationSessionCookieConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "applicationSessionCookieConfig.ise"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "comment"
aastore
dup
iconst_1
3: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getPath:()Ljava/lang/String;
aastore
4: 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
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.core.ApplicationSessionCookieConfig.comment:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
0 7 1 comment Ljava/lang/String;
MethodParameters:
Name Flags
comment
public void setDomain(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getState:()Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 5
1: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.core.ApplicationSessionCookieConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "applicationSessionCookieConfig.ise"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "domain name"
aastore
dup
iconst_1
3: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getPath:()Ljava/lang/String;
aastore
4: 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
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.core.ApplicationSessionCookieConfig.domain:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
0 7 1 domain Ljava/lang/String;
MethodParameters:
Name Flags
domain
public void setHttpOnly(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getState:()Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 5
1: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.core.ApplicationSessionCookieConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "applicationSessionCookieConfig.ise"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "HttpOnly"
aastore
dup
iconst_1
3: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getPath:()Ljava/lang/String;
aastore
4: 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
5: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.catalina.core.ApplicationSessionCookieConfig.httpOnly:Z
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
0 7 1 httpOnly Z
MethodParameters:
Name Flags
httpOnly
public void setMaxAge(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getState:()Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 5
1: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.core.ApplicationSessionCookieConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "applicationSessionCookieConfig.ise"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "max age"
aastore
dup
iconst_1
3: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getPath:()Ljava/lang/String;
aastore
4: 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
5: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.catalina.core.ApplicationSessionCookieConfig.maxAge:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
0 7 1 maxAge I
MethodParameters:
Name Flags
maxAge
public void setName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getState:()Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 5
1: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.core.ApplicationSessionCookieConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "applicationSessionCookieConfig.ise"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "name"
aastore
dup
iconst_1
3: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getPath:()Ljava/lang/String;
aastore
4: 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
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.core.ApplicationSessionCookieConfig.name:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
0 7 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void setPath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getState:()Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 5
1: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.core.ApplicationSessionCookieConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "applicationSessionCookieConfig.ise"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "path"
aastore
dup
iconst_1
3: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getPath:()Ljava/lang/String;
aastore
4: 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
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.core.ApplicationSessionCookieConfig.path:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
0 7 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public void setSecure(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getState:()Lorg/apache/catalina/LifecycleState;
getstatic org.apache.catalina.LifecycleState.STARTING_PREP:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.equals:(Ljava/lang/Object;)Z
ifne 5
1: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.core.ApplicationSessionCookieConfig.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "applicationSessionCookieConfig.ise"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "secure"
aastore
dup
iconst_1
3: aload 0
getfield org.apache.catalina.core.ApplicationSessionCookieConfig.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getPath:()Ljava/lang/String;
aastore
4: 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
5: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.catalina.core.ApplicationSessionCookieConfig.secure:Z
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationSessionCookieConfig;
0 7 1 secure Z
MethodParameters:
Name Flags
secure
public static jakarta.servlet.http.Cookie createSessionCookie(org.apache.catalina.Context, java.lang.String, boolean);
descriptor: (Lorg/apache/catalina/Context;Ljava/lang/String;Z)Ljakarta/servlet/http/Cookie;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface org.apache.catalina.Context.getServletContext:()Ljakarta/servlet/ServletContext;
invokeinterface jakarta.servlet.ServletContext.getSessionCookieConfig:()Ljakarta/servlet/SessionCookieConfig;
1: astore 3
start local 3 2: new jakarta.servlet.http.Cookie
dup
3: aload 0
invokestatic org.apache.catalina.util.SessionConfig.getSessionCookieName:(Lorg/apache/catalina/Context;)Ljava/lang/String;
aload 1
4: invokespecial jakarta.servlet.http.Cookie.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 5: aload 4
aload 3
invokeinterface jakarta.servlet.SessionCookieConfig.getMaxAge:()I
invokevirtual jakarta.servlet.http.Cookie.setMaxAge:(I)V
6: aload 4
aload 3
invokeinterface jakarta.servlet.SessionCookieConfig.getComment:()Ljava/lang/String;
invokevirtual jakarta.servlet.http.Cookie.setComment:(Ljava/lang/String;)V
7: aload 0
invokeinterface org.apache.catalina.Context.getSessionCookieDomain:()Ljava/lang/String;
ifnonnull 11
8: aload 3
invokeinterface jakarta.servlet.SessionCookieConfig.getDomain:()Ljava/lang/String;
ifnull 12
9: aload 4
aload 3
invokeinterface jakarta.servlet.SessionCookieConfig.getDomain:()Ljava/lang/String;
invokevirtual jakarta.servlet.http.Cookie.setDomain:(Ljava/lang/String;)V
10: goto 12
11: StackMap locals: jakarta.servlet.SessionCookieConfig jakarta.servlet.http.Cookie
StackMap stack:
aload 4
aload 0
invokeinterface org.apache.catalina.Context.getSessionCookieDomain:()Ljava/lang/String;
invokevirtual jakarta.servlet.http.Cookie.setDomain:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 3
invokeinterface jakarta.servlet.SessionCookieConfig.isSecure:()Z
ifne 13
iload 2
ifeq 14
13: StackMap locals:
StackMap stack:
aload 4
iconst_1
invokevirtual jakarta.servlet.http.Cookie.setSecure:(Z)V
14: StackMap locals:
StackMap stack:
aload 3
invokeinterface jakarta.servlet.SessionCookieConfig.isHttpOnly:()Z
ifne 15
aload 0
invokeinterface org.apache.catalina.Context.getUseHttpOnly:()Z
ifeq 16
15: StackMap locals:
StackMap stack:
aload 4
iconst_1
invokevirtual jakarta.servlet.http.Cookie.setHttpOnly:(Z)V
16: StackMap locals:
StackMap stack:
aload 4
aload 0
invokestatic org.apache.catalina.util.SessionConfig.getSessionCookiePath:(Lorg/apache/catalina/Context;)Ljava/lang/String;
invokevirtual jakarta.servlet.http.Cookie.setPath:(Ljava/lang/String;)V
17: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 context Lorg/apache/catalina/Context;
0 18 1 sessionId Ljava/lang/String;
0 18 2 secure Z
2 18 3 scc Ljakarta/servlet/SessionCookieConfig;
5 18 4 cookie Ljakarta/servlet/http/Cookie;
MethodParameters:
Name Flags
context
sessionId
secure
}
SourceFile: "ApplicationSessionCookieConfig.java"