public class org.glassfish.grizzly.servlet.HttpSessionImpl implements jakarta.servlet.http.HttpSession
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.servlet.HttpSessionImpl
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.glassfish.grizzly.http.server.Session session;
descriptor: Lorg/glassfish/grizzly/http/server/Session;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.servlet.WebappContext contextImpl;
descriptor: Lorg/glassfish/grizzly/servlet/WebappContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.servlet.WebappContext, org.glassfish.grizzly.http.server.Session);
descriptor: (Lorg/glassfish/grizzly/servlet/WebappContext;Lorg/glassfish/grizzly/http/server/Session;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.servlet.HttpSessionImpl.contextImpl:Lorg/glassfish/grizzly/servlet/WebappContext;
2: aload 0
aload 2
putfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
0 4 1 contextImpl Lorg/glassfish/grizzly/servlet/WebappContext;
0 4 2 session Lorg/glassfish/grizzly/http/server/Session;
MethodParameters:
Name Flags
contextImpl final
session final
public long getCreationTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.isValid:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "The session was invalidated"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.getCreationTime:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
public java.lang.String getId();
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.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.getIdInternal:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
protected boolean isValid();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.isValid:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
public long getLastAccessedTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.isValid:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "The session was invalidated"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.getTimestamp:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
protected void access();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.access:()J
pop2
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
public jakarta.servlet.ServletContext getServletContext();
descriptor: ()Ljakarta/servlet/ServletContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.contextImpl:Lorg/glassfish/grizzly/servlet/WebappContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
public void setMaxInactiveInterval(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifge 3
1: iconst_m1
istore 1
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
iload 1
i2l
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
l2i
istore 1
4: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
iload 1
i2l
invokevirtual org.glassfish.grizzly.http.server.Session.setSessionTimeout:(J)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
0 6 1 sessionTimeout I
MethodParameters:
Name Flags
sessionTimeout
public int getMaxInactiveInterval();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.getSessionTimeout:()J
lstore 1
start local 1 1: lload 1
lconst_0
lcmp
ifge 3
2: iconst_m1
ireturn
3: StackMap locals: long
StackMap stack:
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lstore 1
4: lload 1
ldc 2147483647
lcmp
ifle 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
lload 1
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " cannot be cast to int."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
lload 1
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
1 7 1 sessionTimeout J
public jakarta.servlet.http.HttpSessionContext getSessionContext();
descriptor: ()Ljakarta/servlet/http/HttpSessionContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
public java.lang.Object getAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
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.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
aload 1
invokevirtual org.glassfish.grizzly.http.server.Session.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
0 1 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public java.lang.Object getValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
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.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
aload 1
invokevirtual org.glassfish.grizzly.http.server.Session.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
0 1 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public java.util.Enumeration<java.lang.String> getAttributeNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.attributes:()Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public java.lang.String[] getValueNames();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.attributes:()Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.entrySet:()Ljava/util/Set;
aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.attributes:()Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.size:()I
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
public void setAttribute(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 3
1: aload 0
aload 1
invokevirtual org.glassfish.grizzly.servlet.HttpSessionImpl.removeAttribute:(Ljava/lang/String;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
aload 1
invokevirtual org.glassfish.grizzly.http.server.Session.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 4: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.Session.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
5: aload 3
ifnull 11
aload 3
aload 2
if_acmpeq 11
aload 3
instanceof jakarta.servlet.http.HttpSessionBindingListener
ifeq 11
6: aload 3
checkcast jakarta.servlet.http.HttpSessionBindingListener
new jakarta.servlet.http.HttpSessionBindingEvent
dup
aload 0
aload 1
invokespecial jakarta.servlet.http.HttpSessionBindingEvent.<init>:(Ljakarta/servlet/http/HttpSession;Ljava/lang/String;)V
invokeinterface jakarta.servlet.http.HttpSessionBindingListener.valueUnbound:(Ljakarta/servlet/http/HttpSessionBindingEvent;)V
7: goto 11
StackMap locals: org.glassfish.grizzly.servlet.HttpSessionImpl java.lang.String java.lang.Object java.lang.Object
StackMap stack: java.lang.Throwable
8: pop
9: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 11
10: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVLET_SESSION_LISTENER_UNBOUND_ERROR:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 12: aload 2
instanceof jakarta.servlet.http.HttpSessionBindingListener
ifeq 20
13: aload 2
aload 3
if_acmpeq 20
14: new jakarta.servlet.http.HttpSessionBindingEvent
dup
aload 0
aload 1
aload 2
invokespecial jakarta.servlet.http.HttpSessionBindingEvent.<init>:(Ljakarta/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/Object;)V
astore 4
15: aload 2
checkcast jakarta.servlet.http.HttpSessionBindingListener
aload 4
invokeinterface jakarta.servlet.http.HttpSessionBindingListener.valueBound:(Ljakarta/servlet/http/HttpSessionBindingEvent;)V
16: goto 20
StackMap locals: org.glassfish.grizzly.servlet.HttpSessionImpl java.lang.String java.lang.Object java.lang.Object jakarta.servlet.http.HttpSessionBindingEvent
StackMap stack: java.lang.Throwable
17: pop
18: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 20
19: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVLET_SESSION_LISTENER_BOUND_ERROR:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
20: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.contextImpl:Lorg/glassfish/grizzly/servlet/WebappContext;
invokevirtual org.glassfish.grizzly.servlet.WebappContext.getEventListeners:()[Ljava/util/EventListener;
astore 5
start local 5 21: aload 5
arraylength
ifne 23
22: return
23: StackMap locals: java.util.EventListener[]
StackMap stack:
iconst_0
istore 6
start local 6 24: aload 5
arraylength
istore 7
start local 7 25: goto 46
26: StackMap locals: int int
StackMap stack:
aload 5
iload 6
aaload
instanceof jakarta.servlet.http.HttpSessionAttributeListener
ifne 28
27: goto 45
28: StackMap locals:
StackMap stack:
aload 5
iload 6
aaload
checkcast jakarta.servlet.http.HttpSessionAttributeListener
astore 8
start local 8 29: aload 3
ifnull 34
30: aload 4
ifnonnull 32
31: new jakarta.servlet.http.HttpSessionBindingEvent
dup
aload 0
aload 1
aload 3
invokespecial jakarta.servlet.http.HttpSessionBindingEvent.<init>:(Ljakarta/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/Object;)V
astore 4
32: StackMap locals: jakarta.servlet.http.HttpSessionAttributeListener
StackMap stack:
aload 8
aload 4
invokeinterface jakarta.servlet.http.HttpSessionAttributeListener.attributeReplaced:(Ljakarta/servlet/http/HttpSessionBindingEvent;)V
33: goto 45
34: StackMap locals:
StackMap stack:
aload 4
ifnonnull 36
35: new jakarta.servlet.http.HttpSessionBindingEvent
dup
aload 0
aload 1
aload 2
invokespecial jakarta.servlet.http.HttpSessionBindingEvent.<init>:(Ljakarta/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/Object;)V
astore 4
36: StackMap locals:
StackMap stack:
aload 8
aload 4
invokeinterface jakarta.servlet.http.HttpSessionAttributeListener.attributeAdded:(Ljakarta/servlet/http/HttpSessionBindingEvent;)V
37: goto 45
StackMap locals:
StackMap stack: java.lang.Throwable
38: astore 9
start local 9 39: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 45
40: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "HttpSessionAttributeListener"
41: aload 8
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
42: invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVLET_ATTRIBUTE_LISTENER_ADD_ERROR:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
43: aload 9
44: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 end local 8 45: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
46: iload 6
iload 7
if_icmplt 26
end local 7 end local 6 47: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
0 48 1 key Ljava/lang/String;
0 48 2 value Ljava/lang/Object;
4 48 3 unbound Ljava/lang/Object;
12 48 4 event Ljakarta/servlet/http/HttpSessionBindingEvent;
21 48 5 listeners [Ljava/util/EventListener;
24 47 6 i I
25 47 7 len I
29 45 8 listener Ljakarta/servlet/http/HttpSessionAttributeListener;
39 45 9 t Ljava/lang/Throwable;
Exception table:
from to target type
6 7 8 Class java.lang.Throwable
15 16 17 Class java.lang.Throwable
29 37 38 Class java.lang.Throwable
MethodParameters:
Name Flags
key
value
public void putValue(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.glassfish.grizzly.servlet.HttpSessionImpl.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
0 2 1 key Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
public void removeAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
aload 1
invokevirtual org.glassfish.grizzly.http.server.Session.removeAttribute:(Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: return
3: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
astore 3
start local 3 4: aload 2
instanceof jakarta.servlet.http.HttpSessionBindingListener
ifeq 7
5: new jakarta.servlet.http.HttpSessionBindingEvent
dup
aload 0
aload 1
aload 2
invokespecial jakarta.servlet.http.HttpSessionBindingEvent.<init>:(Ljakarta/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/Object;)V
astore 3
6: aload 2
checkcast jakarta.servlet.http.HttpSessionBindingListener
aload 3
invokeinterface jakarta.servlet.http.HttpSessionBindingListener.valueUnbound:(Ljakarta/servlet/http/HttpSessionBindingEvent;)V
7: StackMap locals: jakarta.servlet.http.HttpSessionBindingEvent
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.contextImpl:Lorg/glassfish/grizzly/servlet/WebappContext;
invokevirtual org.glassfish.grizzly.servlet.WebappContext.getEventListeners:()[Ljava/util/EventListener;
astore 4
start local 4 8: aload 4
arraylength
ifne 10
9: return
10: StackMap locals: java.util.EventListener[]
StackMap stack:
iconst_0
istore 5
start local 5 11: aload 4
arraylength
istore 6
start local 6 12: goto 28
13: StackMap locals: int int
StackMap stack:
aload 4
iload 5
aaload
instanceof jakarta.servlet.http.HttpSessionAttributeListener
ifne 15
14: goto 27
15: StackMap locals:
StackMap stack:
aload 4
iload 5
aaload
checkcast jakarta.servlet.http.HttpSessionAttributeListener
astore 7
start local 7 16: aload 3
ifnonnull 18
17: new jakarta.servlet.http.HttpSessionBindingEvent
dup
aload 0
aload 1
aload 2
invokespecial jakarta.servlet.http.HttpSessionBindingEvent.<init>:(Ljakarta/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/Object;)V
astore 3
18: StackMap locals: jakarta.servlet.http.HttpSessionAttributeListener
StackMap stack:
aload 7
aload 3
invokeinterface jakarta.servlet.http.HttpSessionAttributeListener.attributeRemoved:(Ljakarta/servlet/http/HttpSessionBindingEvent;)V
19: goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 8
start local 8 21: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 27
22: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "HttpSessionAttributeListener"
23: aload 7
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
24: invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVLET_ATTRIBUTE_LISTENER_REMOVE_ERROR:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
25: aload 8
26: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 8 end local 7 27: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
28: iload 5
iload 6
if_icmplt 13
end local 6 end local 5 29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
0 30 1 key Ljava/lang/String;
1 30 2 value Ljava/lang/Object;
4 30 3 event Ljakarta/servlet/http/HttpSessionBindingEvent;
8 30 4 listeners [Ljava/util/EventListener;
11 29 5 i I
12 29 6 len I
16 27 7 listener Ljakarta/servlet/http/HttpSessionAttributeListener;
21 27 8 t Ljava/lang/Throwable;
Exception table:
from to target type
16 19 20 Class java.lang.Throwable
MethodParameters:
Name Flags
key
public void removeValue(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
invokevirtual org.glassfish.grizzly.servlet.HttpSessionImpl.removeAttribute:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
0 2 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public synchronized void invalidate();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
iconst_0
invokevirtual org.glassfish.grizzly.http.server.Session.setValid:(Z)V
1: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.attributes:()Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.clear:()V
2: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.contextImpl:Lorg/glassfish/grizzly/servlet/WebappContext;
invokevirtual org.glassfish.grizzly.servlet.WebappContext.getEventListeners:()[Ljava/util/EventListener;
astore 1
start local 1 3: aload 1
arraylength
ifle 23
4: new jakarta.servlet.http.HttpSessionEvent
dup
aload 0
invokespecial jakarta.servlet.http.HttpSessionEvent.<init>:(Ljakarta/servlet/http/HttpSession;)V
astore 2
start local 2 5: iconst_0
istore 3
start local 3 6: aload 1
arraylength
istore 4
start local 4 7: goto 22
8: StackMap locals: org.glassfish.grizzly.servlet.HttpSessionImpl java.util.EventListener[] jakarta.servlet.http.HttpSessionEvent int int
StackMap stack:
aload 1
iload 3
aaload
astore 5
start local 5 9: aload 5
instanceof jakarta.servlet.http.HttpSessionListener
ifne 11
10: goto 21
11: StackMap locals: java.lang.Object
StackMap stack:
aload 5
checkcast jakarta.servlet.http.HttpSessionListener
astore 6
start local 6 12: aload 6
aload 2
invokeinterface jakarta.servlet.http.HttpSessionListener.sessionDestroyed:(Ljakarta/servlet/http/HttpSessionEvent;)V
13: goto 21
StackMap locals: org.glassfish.grizzly.servlet.HttpSessionImpl java.util.EventListener[] jakarta.servlet.http.HttpSessionEvent int int java.lang.Object jakarta.servlet.http.HttpSessionListener
StackMap stack: java.lang.Throwable
14: astore 7
start local 7 15: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 21
16: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "sessionDestroyed"
17: ldc "HttpSessionListener"
aload 6
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
18: invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVLET_CONTAINER_OBJECT_DESTROYED_ERROR:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
19: aload 7
20: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 end local 6 end local 5 21: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
iload 4
if_icmplt 8
end local 4 end local 3 end local 2 23: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
3 24 1 listeners [Ljava/util/EventListener;
5 23 2 event Ljakarta/servlet/http/HttpSessionEvent;
6 23 3 i I
7 23 4 len I
9 21 5 listenerObj Ljava/lang/Object;
12 21 6 listener Ljakarta/servlet/http/HttpSessionListener;
15 21 7 t Ljava/lang/Throwable;
Exception table:
from to target type
12 13 14 Class java.lang.Throwable
public boolean isNew();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.isValid:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "The session was invalidated"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.session:Lorg/glassfish/grizzly/http/server/Session;
invokevirtual org.glassfish.grizzly.http.server.Session.isNew:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
protected void notifyNew();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.contextImpl:Lorg/glassfish/grizzly/servlet/WebappContext;
invokevirtual org.glassfish.grizzly.servlet.WebappContext.getEventListeners:()[Ljava/util/EventListener;
astore 1
start local 1 1: aload 1
arraylength
ifle 21
2: new jakarta.servlet.http.HttpSessionEvent
dup
aload 0
invokespecial jakarta.servlet.http.HttpSessionEvent.<init>:(Ljakarta/servlet/http/HttpSession;)V
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: aload 1
arraylength
istore 4
start local 4 5: goto 20
6: StackMap locals: org.glassfish.grizzly.servlet.HttpSessionImpl java.util.EventListener[] jakarta.servlet.http.HttpSessionEvent int int
StackMap stack:
aload 1
iload 3
aaload
astore 5
start local 5 7: aload 5
instanceof jakarta.servlet.http.HttpSessionListener
ifne 9
8: goto 19
9: StackMap locals: java.lang.Object
StackMap stack:
aload 5
checkcast jakarta.servlet.http.HttpSessionListener
astore 6
start local 6 10: aload 6
aload 2
invokeinterface jakarta.servlet.http.HttpSessionListener.sessionCreated:(Ljakarta/servlet/http/HttpSessionEvent;)V
11: goto 19
StackMap locals: org.glassfish.grizzly.servlet.HttpSessionImpl java.util.EventListener[] jakarta.servlet.http.HttpSessionEvent int int java.lang.Object jakarta.servlet.http.HttpSessionListener
StackMap stack: java.lang.Throwable
12: astore 7
start local 7 13: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 19
14: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "sessionCreated"
15: ldc "HttpSessionListener"
aload 6
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
16: invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVLET_CONTAINER_OBJECT_INITIALIZED_ERROR:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
17: aload 7
18: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 end local 6 end local 5 19: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
20: iload 3
iload 4
if_icmplt 6
end local 4 end local 3 end local 2 21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
1 22 1 listeners [Ljava/util/EventListener;
3 21 2 event Ljakarta/servlet/http/HttpSessionEvent;
4 21 3 i I
5 21 4 len I
7 19 5 listenerObj Ljava/lang/Object;
10 19 6 listener Ljakarta/servlet/http/HttpSessionListener;
13 19 7 t Ljava/lang/Throwable;
Exception table:
from to target type
10 11 12 Class java.lang.Throwable
protected void notifyIdChanged(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.servlet.HttpSessionImpl.contextImpl:Lorg/glassfish/grizzly/servlet/WebappContext;
invokevirtual org.glassfish.grizzly.servlet.WebappContext.getEventListeners:()[Ljava/util/EventListener;
astore 2
start local 2 1: aload 2
arraylength
ifle 21
2: new jakarta.servlet.http.HttpSessionEvent
dup
aload 0
invokespecial jakarta.servlet.http.HttpSessionEvent.<init>:(Ljakarta/servlet/http/HttpSession;)V
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: aload 2
arraylength
istore 5
start local 5 5: goto 20
6: StackMap locals: org.glassfish.grizzly.servlet.HttpSessionImpl java.lang.String java.util.EventListener[] jakarta.servlet.http.HttpSessionEvent int int
StackMap stack:
aload 2
iload 4
aaload
astore 6
start local 6 7: aload 6
instanceof jakarta.servlet.http.HttpSessionIdListener
ifne 9
8: goto 19
9: StackMap locals: java.lang.Object
StackMap stack:
aload 6
checkcast jakarta.servlet.http.HttpSessionIdListener
astore 7
start local 7 10: aload 7
aload 3
aload 1
invokeinterface jakarta.servlet.http.HttpSessionIdListener.sessionIdChanged:(Ljakarta/servlet/http/HttpSessionEvent;Ljava/lang/String;)V
11: goto 19
StackMap locals: org.glassfish.grizzly.servlet.HttpSessionImpl java.lang.String java.util.EventListener[] jakarta.servlet.http.HttpSessionEvent int int java.lang.Object jakarta.servlet.http.HttpSessionIdListener
StackMap stack: java.lang.Throwable
12: astore 8
start local 8 13: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 19
14: getstatic org.glassfish.grizzly.servlet.HttpSessionImpl.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "sessionCreated"
15: ldc "HttpSessionListener"
aload 7
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
16: invokestatic org.glassfish.grizzly.localization.LogMessages.WARNING_GRIZZLY_HTTP_SERVLET_CONTAINER_OBJECT_INITIALIZED_ERROR:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
17: aload 8
18: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 8 end local 7 end local 6 19: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
iload 5
if_icmplt 6
end local 5 end local 4 end local 3 21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/glassfish/grizzly/servlet/HttpSessionImpl;
0 22 1 oldId Ljava/lang/String;
1 22 2 listeners [Ljava/util/EventListener;
3 21 3 event Ljakarta/servlet/http/HttpSessionEvent;
4 21 4 i I
5 21 5 len I
7 19 6 listenerObj Ljava/lang/Object;
10 19 7 listener Ljakarta/servlet/http/HttpSessionIdListener;
13 19 8 t Ljava/lang/Throwable;
Exception table:
from to target type
10 11 12 Class java.lang.Throwable
MethodParameters:
Name Flags
oldId final
}
SourceFile: "HttpSessionImpl.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map