public class org.apache.catalina.util.SessionConfig
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.util.SessionConfig
super_class: java.lang.Object
{
private static final java.lang.String DEFAULT_SESSION_COOKIE_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "JSESSIONID"
private static final java.lang.String DEFAULT_SESSION_PARAMETER_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jsessionid"
public static java.lang.String getSessionCookieName(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.util.SessionConfig.getConfiguredSessionCookieName:(Lorg/apache/catalina/Context;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc "JSESSIONID"
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/apache/catalina/Context;
1 4 1 result Ljava/lang/String;
MethodParameters:
Name Flags
context
public static java.lang.String getSessionUriParamName(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.catalina.util.SessionConfig.getConfiguredSessionCookieName:(Lorg/apache/catalina/Context;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: ldc "jsessionid"
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lorg/apache/catalina/Context;
1 4 1 result Ljava/lang/String;
MethodParameters:
Name Flags
context
private static java.lang.String getConfiguredSessionCookieName(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
ifnull 9
1: aload 0
invokeinterface org.apache.catalina.Context.getSessionCookieName:()Ljava/lang/String;
astore 1
start local 1 2: aload 1
ifnull 4
aload 1
invokevirtual java.lang.String.length:()I
ifle 4
3: aload 1
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokeinterface org.apache.catalina.Context.getServletContext:()Ljakarta/servlet/ServletContext;
invokeinterface jakarta.servlet.ServletContext.getSessionCookieConfig:()Ljakarta/servlet/SessionCookieConfig;
5: astore 2
start local 2 6: aload 2
invokeinterface jakarta.servlet.SessionCookieConfig.getName:()Ljava/lang/String;
astore 1
7: aload 1
ifnull 9
aload 1
invokevirtual java.lang.String.length:()I
ifle 9
8: aload 1
areturn
end local 2 end local 1 9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 context Lorg/apache/catalina/Context;
2 9 1 cookieName Ljava/lang/String;
6 9 2 scc Ljakarta/servlet/SessionCookieConfig;
MethodParameters:
Name Flags
context
public static java.lang.String getSessionCookiePath(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.catalina.Context.getServletContext:()Ljakarta/servlet/ServletContext;
invokeinterface jakarta.servlet.ServletContext.getSessionCookieConfig:()Ljakarta/servlet/SessionCookieConfig;
astore 1
start local 1 1: aload 0
invokeinterface org.apache.catalina.Context.getSessionCookiePath:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual java.lang.String.length:()I
ifne 4
3: StackMap locals: jakarta.servlet.SessionCookieConfig java.lang.String
StackMap stack:
aload 1
invokeinterface jakarta.servlet.SessionCookieConfig.getPath:()Ljava/lang/String;
astore 2
4: StackMap locals:
StackMap stack:
aload 2
ifnull 5
aload 2
invokevirtual java.lang.String.length:()I
ifne 6
5: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.apache.catalina.Context.getEncodedPath:()Ljava/lang/String;
astore 2
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.apache.catalina.Context.getSessionCookiePathUsesTrailingSlash:()Z
ifeq 10
7: aload 2
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 12
8: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
9: goto 12
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifne 12
11: ldc "/"
astore 2
12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 context Lorg/apache/catalina/Context;
1 13 1 scc Ljakarta/servlet/SessionCookieConfig;
2 13 2 contextPath Ljava/lang/String;
MethodParameters:
Name Flags
context
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/util/SessionConfig;
}
SourceFile: "SessionConfig.java"