public class org.glassfish.grizzly.servlet.ServletSessionManager implements org.glassfish.grizzly.http.server.SessionManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.servlet.ServletSessionManager
super_class: java.lang.Object
{
private final org.glassfish.grizzly.http.server.SessionManager defaultManager;
descriptor: Lorg/glassfish/grizzly/http/server/SessionManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String sessionCookieName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/servlet/ServletSessionManager;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.glassfish.grizzly.servlet.ServletSessionManager.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static org.glassfish.grizzly.http.server.SessionManager instance();
descriptor: ()Lorg/glassfish/grizzly/http/server/SessionManager;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.glassfish.grizzly.servlet.ServletSessionManager$LazyHolder.INSTANCE:Lorg/glassfish/grizzly/servlet/ServletSessionManager;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic org.glassfish.grizzly.http.server.DefaultSessionManager.instance:()Lorg/glassfish/grizzly/http/server/SessionManager;
putfield org.glassfish.grizzly.servlet.ServletSessionManager.defaultManager:Lorg/glassfish/grizzly/http/server/SessionManager;
2: aload 0
ldc "JSESSIONID"
putfield org.glassfish.grizzly.servlet.ServletSessionManager.sessionCookieName:Ljava/lang/String;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/servlet/ServletSessionManager;
public org.glassfish.grizzly.http.server.Session getSession(org.glassfish.grizzly.http.server.Request, java.lang.String);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/Session;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletSessionManager.defaultManager:Lorg/glassfish/grizzly/http/server/SessionManager;
aload 1
aload 2
invokeinterface org.glassfish.grizzly.http.server.SessionManager.getSession:(Lorg/glassfish/grizzly/http/server/Request;Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/Session;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/ServletSessionManager;
0 1 1 request Lorg/glassfish/grizzly/http/server/Request;
0 1 2 requestedSessionId Ljava/lang/String;
MethodParameters:
Name Flags
request final
requestedSessionId final
public org.glassfish.grizzly.http.server.Session createSession(org.glassfish.grizzly.http.server.Request);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;)Lorg/glassfish/grizzly/http/server/Session;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletSessionManager.defaultManager:Lorg/glassfish/grizzly/http/server/SessionManager;
aload 1
invokeinterface org.glassfish.grizzly.http.server.SessionManager.createSession:(Lorg/glassfish/grizzly/http/server/Request;)Lorg/glassfish/grizzly/http/server/Session;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/ServletSessionManager;
0 1 1 request Lorg/glassfish/grizzly/http/server/Request;
MethodParameters:
Name Flags
request final
public java.lang.String changeSessionId(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Session);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/server/Session;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletSessionManager.defaultManager:Lorg/glassfish/grizzly/http/server/SessionManager;
aload 1
aload 2
invokeinterface org.glassfish.grizzly.http.server.SessionManager.changeSessionId:(Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/server/Session;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/ServletSessionManager;
0 1 1 request Lorg/glassfish/grizzly/http/server/Request;
0 1 2 session Lorg/glassfish/grizzly/http/server/Session;
MethodParameters:
Name Flags
request final
session final
public void configureSessionCookie(org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.Cookie);
descriptor: (Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/Cookie;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletSessionManager.defaultManager:Lorg/glassfish/grizzly/http/server/SessionManager;
aload 1
aload 2
invokeinterface org.glassfish.grizzly.http.server.SessionManager.configureSessionCookie:(Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/Cookie;)V
1: aload 1
invokestatic org.glassfish.grizzly.servlet.ServletHandler.getServletRequest:(Lorg/glassfish/grizzly/http/server/Request;)Lorg/glassfish/grizzly/servlet/HttpServletRequestImpl;
astore 3
start local 3 2: getstatic org.glassfish.grizzly.servlet.ServletSessionManager.$assertionsDisabled:Z
ifne 3
aload 3
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.glassfish.grizzly.servlet.HttpServletRequestImpl
StackMap stack:
aload 3
invokevirtual org.glassfish.grizzly.servlet.HttpServletRequestImpl.getContextImpl:()Lorg/glassfish/grizzly/servlet/WebappContext;
invokevirtual org.glassfish.grizzly.servlet.WebappContext.getSessionCookieConfig:()Ljakarta/servlet/SessionCookieConfig;
astore 4
start local 4 4: aload 4
invokeinterface jakarta.servlet.SessionCookieConfig.getDomain:()Ljava/lang/String;
ifnull 6
5: aload 2
aload 4
invokeinterface jakarta.servlet.SessionCookieConfig.getDomain:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.Cookie.setDomain:(Ljava/lang/String;)V
6: StackMap locals: jakarta.servlet.SessionCookieConfig
StackMap stack:
aload 4
invokeinterface jakarta.servlet.SessionCookieConfig.getPath:()Ljava/lang/String;
ifnull 8
7: aload 2
aload 4
invokeinterface jakarta.servlet.SessionCookieConfig.getPath:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.Cookie.setPath:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
aload 4
invokeinterface jakarta.servlet.SessionCookieConfig.getComment:()Ljava/lang/String;
ifnull 11
9: aload 2
iconst_1
invokevirtual org.glassfish.grizzly.http.Cookie.setVersion:(I)V
10: aload 2
aload 4
invokeinterface jakarta.servlet.SessionCookieConfig.getComment:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.Cookie.setComment:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 2
aload 4
invokeinterface jakarta.servlet.SessionCookieConfig.isSecure:()Z
invokevirtual org.glassfish.grizzly.http.Cookie.setSecure:(Z)V
12: aload 2
aload 4
invokeinterface jakarta.servlet.SessionCookieConfig.isHttpOnly:()Z
invokevirtual org.glassfish.grizzly.http.Cookie.setHttpOnly:(Z)V
13: aload 2
aload 4
invokeinterface jakarta.servlet.SessionCookieConfig.getMaxAge:()I
invokevirtual org.glassfish.grizzly.http.Cookie.setMaxAge:(I)V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/glassfish/grizzly/servlet/ServletSessionManager;
0 15 1 request Lorg/glassfish/grizzly/http/server/Request;
0 15 2 cookie Lorg/glassfish/grizzly/http/Cookie;
2 15 3 servletRequest Lorg/glassfish/grizzly/servlet/HttpServletRequestImpl;
4 15 4 cookieConfig Ljakarta/servlet/SessionCookieConfig;
MethodParameters:
Name Flags
request final
cookie final
public void setSessionCookieName(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 1
ifnull 2
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 2
1: aload 0
aload 1
putfield org.glassfish.grizzly.servlet.ServletSessionManager.sessionCookieName:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/servlet/ServletSessionManager;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public java.lang.String getSessionCookieName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.ServletSessionManager.sessionCookieName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/ServletSessionManager;
}
SourceFile: "ServletSessionManager.java"
NestMembers:
org.glassfish.grizzly.servlet.ServletSessionManager$LazyHolder
InnerClasses:
private LazyHolder = org.glassfish.grizzly.servlet.ServletSessionManager$LazyHolder of org.glassfish.grizzly.servlet.ServletSessionManager