public class org.apache.catalina.core.ApplicationContext implements jakarta.servlet.ServletContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.core.ApplicationContext
super_class: java.lang.Object
{
protected java.util.Map<java.lang.String, java.lang.Object> attributes;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private final java.util.Map<java.lang.String, java.lang.String> readOnlyAttributes;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private final org.apache.catalina.core.StandardContext context;
descriptor: Lorg/apache/catalina/core/StandardContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.catalina.Service service;
descriptor: Lorg/apache/catalina/Service;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.util.List<java.lang.String> emptyString;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private static final java.util.List<jakarta.servlet.Servlet> emptyServlet;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljakarta/servlet/Servlet;>;
private final jakarta.servlet.ServletContext facade;
descriptor: Ljakarta/servlet/ServletContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.lang.String> parameters;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
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 final java.lang.ThreadLocal<org.apache.catalina.core.ApplicationContext$DispatchData> dispatchData;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Lorg/apache/catalina/core/ApplicationContext$DispatchData;>;
private jakarta.servlet.SessionCookieConfig sessionCookieConfig;
descriptor: Ljakarta/servlet/SessionCookieConfig;
flags: (0x0002) ACC_PRIVATE
private java.util.Set<jakarta.servlet.SessionTrackingMode> sessionTrackingModes;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljakarta/servlet/SessionTrackingMode;>;
private java.util.Set<jakarta.servlet.SessionTrackingMode> defaultSessionTrackingModes;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljakarta/servlet/SessionTrackingMode;>;
private java.util.Set<jakarta.servlet.SessionTrackingMode> supportedSessionTrackingModes;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljakarta/servlet/SessionTrackingMode;>;
private boolean newServletContextListenerAllowed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putstatic org.apache.catalina.core.ApplicationContext.emptyString:Ljava/util/List;
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putstatic org.apache.catalina.core.ApplicationContext.emptyServlet:Ljava/util/List;
2: ldc "org.apache.catalina.core"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.catalina.core.ApplicationContext.attributes:Ljava/util/Map;
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.catalina.core.ApplicationContext.readOnlyAttributes:Ljava/util/Map;
3: aload 0
new org.apache.catalina.core.ApplicationContextFacade
dup
aload 0
invokespecial org.apache.catalina.core.ApplicationContextFacade.<init>:(Lorg/apache/catalina/core/ApplicationContext;)V
putfield org.apache.catalina.core.ApplicationContext.facade:Ljakarta/servlet/ServletContext;
4: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.catalina.core.ApplicationContext.parameters:Ljava/util/Map;
5: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield org.apache.catalina.core.ApplicationContext.dispatchData:Ljava/lang/ThreadLocal;
6: aload 0
aconst_null
putfield org.apache.catalina.core.ApplicationContext.sessionTrackingModes:Ljava/util/Set;
7: aload 0
aconst_null
putfield org.apache.catalina.core.ApplicationContext.defaultSessionTrackingModes:Ljava/util/Set;
8: aload 0
aconst_null
putfield org.apache.catalina.core.ApplicationContext.supportedSessionTrackingModes:Ljava/util/Set;
9: aload 0
iconst_1
putfield org.apache.catalina.core.ApplicationContext.newServletContextListenerAllowed:Z
10: aload 0
aload 1
putfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
11: aload 0
aload 1
invokevirtual org.apache.catalina.core.StandardContext.getParent:()Lorg/apache/catalina/Container;
invokeinterface org.apache.catalina.Container.getParent:()Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Engine
invokeinterface org.apache.catalina.Engine.getService:()Lorg/apache/catalina/Service;
putfield org.apache.catalina.core.ApplicationContext.service:Lorg/apache/catalina/Service;
12: aload 0
new org.apache.catalina.core.ApplicationSessionCookieConfig
dup
aload 1
invokespecial org.apache.catalina.core.ApplicationSessionCookieConfig.<init>:(Lorg/apache/catalina/core/StandardContext;)V
putfield org.apache.catalina.core.ApplicationContext.sessionCookieConfig:Ljakarta/servlet/SessionCookieConfig;
13: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.populateSessionTrackingModes:()V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/catalina/core/ApplicationContext;
0 15 1 context Lorg/apache/catalina/core/StandardContext;
MethodParameters:
Name Flags
context
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.apache.catalina.core.ApplicationContext.attributes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.lang.String> getAttributeNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
getfield org.apache.catalina.core.ApplicationContext.attributes:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 1
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/ApplicationContext;
1 2 1 names Ljava/util/Set<Ljava/lang/String;>;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public jakarta.servlet.ServletContext getContext(java.lang.String);
descriptor: (Ljava/lang/String;)Ljakarta/servlet/ServletContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getParent:()Lorg/apache/catalina/Container;
astore 3
start local 3 4: aload 3
aload 1
invokeinterface org.apache.catalina.Container.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Context
astore 2
5: aload 2
ifnull 7
aload 2
invokeinterface org.apache.catalina.Context.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifne 7
6: aconst_null
astore 2
7: StackMap locals: org.apache.catalina.Context org.apache.catalina.Container
StackMap stack:
aload 2
ifnonnull 22
8: aload 1
ldc "##"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 4
start local 4 9: iload 4
iconst_m1
if_icmple 11
10: aload 1
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
11: StackMap locals: int
StackMap stack:
invokestatic org.apache.tomcat.util.buf.MessageBytes.newInstance:()Lorg/apache/tomcat/util/buf/MessageBytes;
astore 5
start local 5 12: aload 5
aload 3
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
13: invokestatic org.apache.tomcat.util.buf.MessageBytes.newInstance:()Lorg/apache/tomcat/util/buf/MessageBytes;
astore 6
start local 6 14: aload 6
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
15: new org.apache.catalina.mapper.MappingData
dup
invokespecial org.apache.catalina.mapper.MappingData.<init>:()V
astore 7
start local 7 16: aload 0
getfield org.apache.catalina.core.ApplicationContext.service:Lorg/apache/catalina/Service;
invokeinterface org.apache.catalina.Service.getMapper:()Lorg/apache/catalina/mapper/Mapper;
aload 5
aload 6
aconst_null
aload 7
invokevirtual org.apache.catalina.mapper.Mapper.map:(Lorg/apache/tomcat/util/buf/MessageBytes;Lorg/apache/tomcat/util/buf/MessageBytes;Ljava/lang/String;Lorg/apache/catalina/mapper/MappingData;)V
17: aload 7
getfield org.apache.catalina.mapper.MappingData.context:Lorg/apache/catalina/Context;
astore 2
end local 7 end local 6 end local 5 end local 4 end local 3 18: goto 22
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String org.apache.catalina.Context
StackMap stack: java.lang.Throwable
19: astore 3
start local 3 20: aload 3
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
21: aconst_null
areturn
end local 3 22: StackMap locals:
StackMap stack:
aload 2
ifnonnull 24
23: aconst_null
areturn
24: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getCrossContext:()Z
ifeq 26
25: aload 2
invokeinterface org.apache.catalina.Context.getServletContext:()Ljakarta/servlet/ServletContext;
areturn
26: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
if_acmpne 28
27: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getServletContext:()Ljakarta/servlet/ServletContext;
areturn
28: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/apache/catalina/core/ApplicationContext;
0 29 1 uri Ljava/lang/String;
3 29 2 child Lorg/apache/catalina/Context;
4 18 3 host Lorg/apache/catalina/Container;
9 18 4 i I
12 18 5 hostMB Lorg/apache/tomcat/util/buf/MessageBytes;
14 18 6 pathMB Lorg/apache/tomcat/util/buf/MessageBytes;
16 18 7 mappingData Lorg/apache/catalina/mapper/MappingData;
20 22 3 t Ljava/lang/Throwable;
Exception table:
from to target type
3 18 19 Class java.lang.Throwable
MethodParameters:
Name Flags
uri
public java.lang.String getContextPath();
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.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getPath:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public java.lang.String getInitParameter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "org.apache.jasper.XML_VALIDATE_TLD"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getTldValidation:()Z
ifeq 3
2: ldc "true"
areturn
3: StackMap locals:
StackMap stack:
ldc "org.apache.jasper.XML_BLOCK_EXTERNAL"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getXmlBlockExternal:()Z
ifne 6
5: ldc "false"
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.parameters:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationContext;
0 7 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public java.util.Enumeration<java.lang.String> getInitParameterNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
getfield org.apache.catalina.core.ApplicationContext.parameters:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getTldValidation:()Z
ifeq 3
2: aload 1
ldc "org.apache.jasper.XML_VALIDATE_TLD"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals: java.util.Set
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getXmlBlockExternal:()Z
ifne 5
4: aload 1
ldc "org.apache.jasper.XML_BLOCK_EXTERNAL"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 1
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/core/ApplicationContext;
1 6 1 names Ljava/util/Set<Ljava/lang/String;>;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public int getMajorVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_5
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public int getMinorVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public java.lang.String getMimeType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 3: iload 2
ifge 5
4: aconst_null
areturn
5: StackMap locals: int
StackMap stack:
aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 6: aload 3
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpge 8
7: aconst_null
areturn
8: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 3
invokevirtual org.apache.catalina.core.StandardContext.findMimeMapping:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/core/ApplicationContext;
0 9 1 file Ljava/lang/String;
3 9 2 period I
6 9 3 extension Ljava/lang/String;
MethodParameters:
Name Flags
file
public jakarta.servlet.RequestDispatcher getNamedDispatcher(java.lang.String);
descriptor: (Ljava/lang/String;)Ljakarta/servlet/RequestDispatcher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 1
invokevirtual org.apache.catalina.core.StandardContext.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Wrapper
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: org.apache.catalina.Wrapper
StackMap stack:
new org.apache.catalina.core.ApplicationDispatcher
dup
aload 2
aconst_null
aconst_null
aconst_null
aconst_null
aconst_null
aload 1
invokespecial org.apache.catalina.core.ApplicationDispatcher.<init>:(Lorg/apache/catalina/Wrapper;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/http/HttpServletMapping;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/core/ApplicationContext;
0 6 1 name Ljava/lang/String;
3 6 2 wrapper Lorg/apache/catalina/Wrapper;
MethodParameters:
Name Flags
name
public java.lang.String getRealPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.apache.catalina.core.ApplicationContext.validateResourcePath:(Ljava/lang/String;Z)Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 2
invokevirtual org.apache.catalina.core.StandardContext.getRealPath:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/ApplicationContext;
0 2 1 path Ljava/lang/String;
1 2 2 validatedPath Ljava/lang/String;
MethodParameters:
Name Flags
path
public jakarta.servlet.RequestDispatcher getRequestDispatcher(java.lang.String);
descriptor: (Ljava/lang/String;)Ljakarta/servlet/RequestDispatcher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=17, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
4: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.requestDispatcher.iae"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
bipush 63
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 7: iload 4
iflt 11
8: aload 1
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 9: aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 10: goto 13
end local 3 end local 2 11: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String top top int
StackMap stack:
aload 1
astore 2
start local 2 12: aconst_null
astore 3
start local 3 13: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 2
invokestatic org.apache.catalina.core.ApplicationContext.stripPathParams:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 14: aload 5
invokestatic org.apache.tomcat.util.http.RequestUtil.normalize:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 15: aload 6
ifnonnull 17
16: aconst_null
areturn
17: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContext:()Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getDispatchersUseEncodedPaths:()Z
ifeq 28
18: aload 6
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic org.apache.tomcat.util.buf.UDecoder.URLDecode:(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;
astore 7
start local 7 19: aload 7
invokestatic org.apache.tomcat.util.http.RequestUtil.normalize:(Ljava/lang/String;)Ljava/lang/String;
astore 6
20: aload 7
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
21: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContext:()Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getLogger:()Lorg/apache/juli/logging/Log;
22: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.illegalDispatchPath"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
23: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
24: invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
25: aconst_null
areturn
26: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
getstatic org.apache.catalina.util.URLEncoder.DEFAULT:Lorg/apache/catalina/util/URLEncoder;
aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual org.apache.catalina.util.URLEncoder.encode:(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 7 27: goto 29
28: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.util.URLEncoder.DEFAULT:Lorg/apache/catalina/util/URLEncoder;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual org.apache.catalina.util.URLEncoder.encode:(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;
astore 2
29: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.dispatchData:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast org.apache.catalina.core.ApplicationContext$DispatchData
astore 7
start local 7 30: aload 7
ifnonnull 33
31: new org.apache.catalina.core.ApplicationContext$DispatchData
dup
invokespecial org.apache.catalina.core.ApplicationContext$DispatchData.<init>:()V
astore 7
32: aload 0
getfield org.apache.catalina.core.ApplicationContext.dispatchData:Ljava/lang/ThreadLocal;
aload 7
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
33: StackMap locals: org.apache.catalina.core.ApplicationContext$DispatchData
StackMap stack:
aload 7
getfield org.apache.catalina.core.ApplicationContext$DispatchData.uriMB:Lorg/apache/tomcat/util/buf/MessageBytes;
astore 8
start local 8 34: aload 7
getfield org.apache.catalina.core.ApplicationContext$DispatchData.mappingData:Lorg/apache/catalina/mapper/MappingData;
astore 9
start local 9 35: aload 8
invokevirtual org.apache.tomcat.util.buf.MessageBytes.getCharChunk:()Lorg/apache/tomcat/util/buf/CharChunk;
astore 10
start local 10 36: aload 10
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getPath:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;)V
37: aload 10
aload 6
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;)V
38: aload 0
getfield org.apache.catalina.core.ApplicationContext.service:Lorg/apache/catalina/Service;
invokeinterface org.apache.catalina.Service.getMapper:()Lorg/apache/catalina/mapper/Mapper;
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 8
aload 9
invokevirtual org.apache.catalina.mapper.Mapper.map:(Lorg/apache/catalina/Context;Lorg/apache/tomcat/util/buf/MessageBytes;Lorg/apache/catalina/mapper/MappingData;)V
39: aload 9
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 48
40: aload 8
invokevirtual org.apache.tomcat.util.buf.MessageBytes.recycle:()V
41: aload 9
invokevirtual org.apache.catalina.mapper.MappingData.recycle:()V
42: aconst_null
areturn
43: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.String java.lang.String int java.lang.String java.lang.String org.apache.catalina.core.ApplicationContext$DispatchData org.apache.tomcat.util.buf.MessageBytes org.apache.catalina.mapper.MappingData org.apache.tomcat.util.buf.CharChunk
StackMap stack: java.lang.Exception
astore 11
start local 11 44: aload 0
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.mapping.error"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 11
invokevirtual org.apache.catalina.core.ApplicationContext.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
45: aload 8
invokevirtual org.apache.tomcat.util.buf.MessageBytes.recycle:()V
46: aload 9
invokevirtual org.apache.catalina.mapper.MappingData.recycle:()V
47: aconst_null
areturn
end local 11 48: StackMap locals:
StackMap stack:
aload 9
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
astore 11
start local 11 49: aload 9
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toString:()Ljava/lang/String;
astore 12
start local 12 50: aload 9
getfield org.apache.catalina.mapper.MappingData.pathInfo:Lorg/apache/tomcat/util/buf/MessageBytes;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toString:()Ljava/lang/String;
astore 13
start local 13 51: new org.apache.catalina.core.ApplicationMapping
dup
aload 9
invokespecial org.apache.catalina.core.ApplicationMapping.<init>:(Lorg/apache/catalina/mapper/MappingData;)V
invokevirtual org.apache.catalina.core.ApplicationMapping.getHttpServletMapping:()Ljakarta/servlet/http/HttpServletMapping;
astore 14
start local 14 52: new org.apache.catalina.core.ApplicationDispatcher
dup
aload 11
aload 2
aload 12
aload 13
53: aload 3
aload 14
aconst_null
54: invokespecial org.apache.catalina.core.ApplicationDispatcher.<init>:(Lorg/apache/catalina/Wrapper;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/http/HttpServletMapping;Ljava/lang/String;)V
astore 16
55: aload 8
invokevirtual org.apache.tomcat.util.buf.MessageBytes.recycle:()V
56: aload 9
invokevirtual org.apache.catalina.mapper.MappingData.recycle:()V
57: aload 16
areturn
end local 14 end local 13 end local 12 end local 11 end local 10 58: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.String java.lang.String int java.lang.String java.lang.String org.apache.catalina.core.ApplicationContext$DispatchData org.apache.tomcat.util.buf.MessageBytes org.apache.catalina.mapper.MappingData
StackMap stack: java.lang.Throwable
astore 15
59: aload 8
invokevirtual org.apache.tomcat.util.buf.MessageBytes.recycle:()V
60: aload 9
invokevirtual org.apache.catalina.mapper.MappingData.recycle:()V
61: aload 15
athrow
end local 9 end local 8 end local 7 end local 6 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 62 0 this Lorg/apache/catalina/core/ApplicationContext;
0 62 1 path Ljava/lang/String;
9 11 2 uri Ljava/lang/String;
12 62 2 uri Ljava/lang/String;
10 11 3 queryString Ljava/lang/String;
13 62 3 queryString Ljava/lang/String;
7 62 4 pos I
14 62 5 uriNoParams Ljava/lang/String;
15 62 6 normalizedUri Ljava/lang/String;
19 27 7 decodedUri Ljava/lang/String;
30 62 7 dd Lorg/apache/catalina/core/ApplicationContext$DispatchData;
34 62 8 uriMB Lorg/apache/tomcat/util/buf/MessageBytes;
35 62 9 mappingData Lorg/apache/catalina/mapper/MappingData;
36 58 10 uriCC Lorg/apache/tomcat/util/buf/CharChunk;
44 48 11 e Ljava/lang/Exception;
49 58 11 wrapper Lorg/apache/catalina/Wrapper;
50 58 12 wrapperPath Ljava/lang/String;
51 58 13 pathInfo Ljava/lang/String;
52 58 14 mapping Ljakarta/servlet/http/HttpServletMapping;
Exception table:
from to target type
36 40 43 Class java.lang.Exception
35 40 58 any
43 45 58 any
48 55 58 any
MethodParameters:
Name Flags
path final
static java.lang.String stripPathParams(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
bipush 59
invokevirtual java.lang.String.indexOf:(I)I
ifge 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 5: goto 15
6: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
bipush 59
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 4
start local 4 7: iload 4
ifge 9
8: iload 3
istore 4
9: StackMap locals: int
StackMap stack:
aload 1
aload 0
iload 2
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 0
bipush 47
iload 4
invokevirtual java.lang.String.indexOf:(II)I
istore 5
start local 5 11: iload 5
ifge 14
12: iload 3
istore 2
13: goto 15
14: StackMap locals: int
StackMap stack:
iload 5
istore 2
end local 5 end local 4 15: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmplt 6
16: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 input Ljava/lang/String;
3 17 1 sb Ljava/lang/StringBuilder;
4 17 2 pos I
5 17 3 limit I
7 15 4 nextSemiColon I
11 15 5 followingSlash I
MethodParameters:
Name Flags
input
public java.net.URL getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getContextGetResourceRequiresSlash:()Z
ifeq 1
iconst_0
goto 2
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String
StackMap stack: org.apache.catalina.core.ApplicationContext java.lang.String
1: iconst_1
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String
StackMap stack: org.apache.catalina.core.ApplicationContext java.lang.String int
2: invokevirtual org.apache.catalina.core.ApplicationContext.validateResourcePath:(Ljava/lang/String;Z)Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnonnull 7
4: new java.net.MalformedURLException
dup
5: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.requestDispatcher.iae"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getResources:()Lorg/apache/catalina/WebResourceRoot;
astore 3
start local 3 8: aload 3
ifnull 10
9: aload 3
aload 2
invokeinterface org.apache.catalina.WebResourceRoot.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getURL:()Ljava/net/URL;
areturn
10: StackMap locals: org.apache.catalina.WebResourceRoot
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/core/ApplicationContext;
0 11 1 path Ljava/lang/String;
3 11 2 validatedPath Ljava/lang/String;
8 11 3 resources Lorg/apache/catalina/WebResourceRoot;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
path
public java.io.InputStream getResourceAsStream(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getContextGetResourceRequiresSlash:()Z
ifeq 1
iconst_0
goto 2
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String
StackMap stack: org.apache.catalina.core.ApplicationContext java.lang.String
1: iconst_1
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String
StackMap stack: org.apache.catalina.core.ApplicationContext java.lang.String int
2: invokevirtual org.apache.catalina.core.ApplicationContext.validateResourcePath:(Ljava/lang/String;Z)Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getResources:()Lorg/apache/catalina/WebResourceRoot;
astore 3
start local 3 6: aload 3
ifnull 8
7: aload 3
aload 2
invokeinterface org.apache.catalina.WebResourceRoot.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getInputStream:()Ljava/io/InputStream;
areturn
8: StackMap locals: org.apache.catalina.WebResourceRoot
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/core/ApplicationContext;
0 9 1 path Ljava/lang/String;
3 9 2 validatedPath Ljava/lang/String;
6 9 3 resources Lorg/apache/catalina/WebResourceRoot;
MethodParameters:
Name Flags
path
private java.lang.String validateResourcePath(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 6
3: iload 2
ifeq 5
4: new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/core/ApplicationContext;
0 7 1 path Ljava/lang/String;
0 7 2 addMissingInitialSlash Z
MethodParameters:
Name Flags
path
addMissingInitialSlash
public java.util.Set<java.lang.String> getResourcePaths(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.resourcePaths.iae"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getResources:()Lorg/apache/catalina/WebResourceRoot;
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
aload 1
invokeinterface org.apache.catalina.WebResourceRoot.listWebAppPaths:(Ljava/lang/String;)Ljava/util/Set;
areturn
7: StackMap locals: org.apache.catalina.WebResourceRoot
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/core/ApplicationContext;
0 8 1 path Ljava/lang/String;
5 8 2 resources Lorg/apache/catalina/WebResourceRoot;
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
public java.lang.String getServerInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.apache.catalina.util.ServerInfo.getServerInfo:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public jakarta.servlet.Servlet getServlet(java.lang.String);
descriptor: (Ljava/lang/String;)Ljakarta/servlet/Servlet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
0 1 1 name Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
name
public java.lang.String getServletContextName();
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.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getDisplayName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public java.util.Enumeration<java.lang.String> getServletNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.catalina.core.ApplicationContext.emptyString:Ljava/util/List;
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/apache/catalina/core/ApplicationContext;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.util.Enumeration<jakarta.servlet.Servlet> getServlets();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.catalina.core.ApplicationContext.emptyServlet:Ljava/util/List;
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/apache/catalina/core/ApplicationContext;
Signature: ()Ljava/util/Enumeration<Ljakarta/servlet/Servlet;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public void log(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
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getLogger:()Lorg/apache/juli/logging/Log;
aload 1
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/ApplicationContext;
0 2 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public void log(java.lang.Exception, java.lang.String);
descriptor: (Ljava/lang/Exception;Ljava/lang/String;)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
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getLogger:()Lorg/apache/juli/logging/Log;
aload 2
aload 1
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/ApplicationContext;
0 2 1 exception Ljava/lang/Exception;
0 2 2 message Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
exception
message
public void log(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)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
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getLogger:()Lorg/apache/juli/logging/Log;
aload 1
aload 2
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/ApplicationContext;
0 2 1 message Ljava/lang/String;
0 2 2 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
message
throwable
public void removeAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield org.apache.catalina.core.ApplicationContext.readOnlyAttributes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 3
2: return
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.attributes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
4: aload 2
ifnonnull 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getApplicationEventListeners:()[Ljava/lang/Object;
astore 3
start local 3 7: aload 3
ifnull 8
aload 3
arraylength
ifne 9
8: StackMap locals: java.lang.Object[]
StackMap stack:
return
9: StackMap locals:
StackMap stack:
new jakarta.servlet.ServletContextAttributeEvent
dup
10: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getServletContext:()Ljakarta/servlet/ServletContext;
aload 1
aload 2
11: invokespecial jakarta.servlet.ServletContextAttributeEvent.<init>:(Ljakarta/servlet/ServletContext;Ljava/lang/String;Ljava/lang/Object;)V
astore 4
start local 4 12: aload 3
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 26
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.Object java.lang.Object[] jakarta.servlet.ServletContextAttributeEvent top int int java.lang.Object[]
StackMap stack:
13: aload 8
iload 6
aaload
astore 5
start local 5 14: aload 5
instanceof jakarta.servlet.ServletContextAttributeListener
ifne 16
15: goto 25
16: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.Object java.lang.Object[] jakarta.servlet.ServletContextAttributeEvent java.lang.Object int int java.lang.Object[]
StackMap stack:
aload 5
checkcast jakarta.servlet.ServletContextAttributeListener
astore 9
start local 9 17: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "beforeContextAttributeRemoved"
aload 9
invokevirtual org.apache.catalina.core.StandardContext.fireContainerEvent:(Ljava/lang/String;Ljava/lang/Object;)V
18: aload 9
aload 4
invokeinterface jakarta.servlet.ServletContextAttributeListener.attributeRemoved:(Ljakarta/servlet/ServletContextAttributeEvent;)V
19: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "afterContextAttributeRemoved"
aload 9
invokevirtual org.apache.catalina.core.StandardContext.fireContainerEvent:(Ljava/lang/String;Ljava/lang/Object;)V
20: goto 25
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.Object java.lang.Object[] jakarta.servlet.ServletContextAttributeEvent java.lang.Object int int java.lang.Object[] jakarta.servlet.ServletContextAttributeListener
StackMap stack: java.lang.Throwable
21: astore 10
start local 10 22: aload 10
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
23: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "afterContextAttributeRemoved"
aload 9
invokevirtual org.apache.catalina.core.StandardContext.fireContainerEvent:(Ljava/lang/String;Ljava/lang/Object;)V
24: aload 0
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.attributeEvent"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 10
invokevirtual org.apache.catalina.core.ApplicationContext.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 10 end local 9 end local 5 25: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.Object java.lang.Object[] jakarta.servlet.ServletContextAttributeEvent top int int java.lang.Object[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
26: iload 6
iload 7
if_icmplt 13
27: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/catalina/core/ApplicationContext;
0 28 1 name Ljava/lang/String;
1 28 2 value Ljava/lang/Object;
7 28 3 listeners [Ljava/lang/Object;
12 28 4 event Ljakarta/servlet/ServletContextAttributeEvent;
14 25 5 obj Ljava/lang/Object;
17 25 9 listener Ljakarta/servlet/ServletContextAttributeListener;
22 25 10 t Ljava/lang/Throwable;
Exception table:
from to target type
17 20 21 Class java.lang.Throwable
MethodParameters:
Name Flags
name
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=13, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.setAttribute.namenull"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 5
3: aload 0
aload 1
invokevirtual org.apache.catalina.core.ApplicationContext.removeAttribute:(Ljava/lang/String;)V
4: return
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.readOnlyAttributes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 7
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.attributes:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 8: aload 3
ifnull 9
iconst_1
goto 10
StackMap locals: java.lang.Object
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 4
start local 4 11: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getApplicationEventListeners:()[Ljava/lang/Object;
astore 5
start local 5 12: aload 5
ifnull 13
aload 5
arraylength
ifne 14
13: StackMap locals: int java.lang.Object[]
StackMap stack:
return
14: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 15: iload 4
ifeq 18
16: new jakarta.servlet.ServletContextAttributeEvent
dup
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getServletContext:()Ljakarta/servlet/ServletContext;
aload 1
aload 3
invokespecial jakarta.servlet.ServletContextAttributeEvent.<init>:(Ljakarta/servlet/ServletContext;Ljava/lang/String;Ljava/lang/Object;)V
astore 6
17: goto 19
18: StackMap locals: jakarta.servlet.ServletContextAttributeEvent
StackMap stack:
new jakarta.servlet.ServletContextAttributeEvent
dup
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getServletContext:()Ljakarta/servlet/ServletContext;
aload 1
aload 2
invokespecial jakarta.servlet.ServletContextAttributeEvent.<init>:(Ljakarta/servlet/ServletContext;Ljava/lang/String;Ljava/lang/Object;)V
astore 6
19: StackMap locals:
StackMap stack:
aload 5
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 41
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.Object java.lang.Object int java.lang.Object[] jakarta.servlet.ServletContextAttributeEvent top int int java.lang.Object[]
StackMap stack:
20: aload 10
iload 8
aaload
astore 7
start local 7 21: aload 7
instanceof jakarta.servlet.ServletContextAttributeListener
ifne 23
22: goto 40
23: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.Object java.lang.Object int java.lang.Object[] jakarta.servlet.ServletContextAttributeEvent java.lang.Object int int java.lang.Object[]
StackMap stack:
aload 7
checkcast jakarta.servlet.ServletContextAttributeListener
astore 11
start local 11 24: iload 4
ifeq 29
25: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "beforeContextAttributeReplaced"
aload 11
invokevirtual org.apache.catalina.core.StandardContext.fireContainerEvent:(Ljava/lang/String;Ljava/lang/Object;)V
26: aload 11
aload 6
invokeinterface jakarta.servlet.ServletContextAttributeListener.attributeReplaced:(Ljakarta/servlet/ServletContextAttributeEvent;)V
27: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "afterContextAttributeReplaced"
aload 11
invokevirtual org.apache.catalina.core.StandardContext.fireContainerEvent:(Ljava/lang/String;Ljava/lang/Object;)V
28: goto 40
29: StackMap locals: jakarta.servlet.ServletContextAttributeListener
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "beforeContextAttributeAdded"
aload 11
invokevirtual org.apache.catalina.core.StandardContext.fireContainerEvent:(Ljava/lang/String;Ljava/lang/Object;)V
30: aload 11
aload 6
invokeinterface jakarta.servlet.ServletContextAttributeListener.attributeAdded:(Ljakarta/servlet/ServletContextAttributeEvent;)V
31: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "afterContextAttributeAdded"
aload 11
invokevirtual org.apache.catalina.core.StandardContext.fireContainerEvent:(Ljava/lang/String;Ljava/lang/Object;)V
32: goto 40
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 12
start local 12 34: aload 12
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
35: iload 4
ifeq 38
36: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "afterContextAttributeReplaced"
aload 11
invokevirtual org.apache.catalina.core.StandardContext.fireContainerEvent:(Ljava/lang/String;Ljava/lang/Object;)V
37: goto 39
38: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "afterContextAttributeAdded"
aload 11
invokevirtual org.apache.catalina.core.StandardContext.fireContainerEvent:(Ljava/lang/String;Ljava/lang/Object;)V
39: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.attributeEvent"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 12
invokevirtual org.apache.catalina.core.ApplicationContext.log:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 end local 11 end local 7 40: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.Object java.lang.Object int java.lang.Object[] jakarta.servlet.ServletContextAttributeEvent top int int java.lang.Object[]
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
41: iload 8
iload 9
if_icmplt 20
42: return
end local 6 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 43 0 this Lorg/apache/catalina/core/ApplicationContext;
0 43 1 name Ljava/lang/String;
0 43 2 value Ljava/lang/Object;
8 43 3 oldValue Ljava/lang/Object;
11 43 4 replaced Z
12 43 5 listeners [Ljava/lang/Object;
15 43 6 event Ljakarta/servlet/ServletContextAttributeEvent;
21 40 7 obj Ljava/lang/Object;
24 40 11 listener Ljakarta/servlet/ServletContextAttributeListener;
34 40 12 t Ljava/lang/Throwable;
Exception table:
from to target type
24 32 33 Class java.lang.Throwable
MethodParameters:
Name Flags
name
value
public jakarta.servlet.FilterRegistration$Dynamic addFilter(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljakarta/servlet/FilterRegistration$Dynamic;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.apache.catalina.core.ApplicationContext.addFilter:(Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Filter;)Ljakarta/servlet/FilterRegistration$Dynamic;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
0 1 1 filterName Ljava/lang/String;
0 1 2 className Ljava/lang/String;
MethodParameters:
Name Flags
filterName
className
public jakarta.servlet.FilterRegistration$Dynamic addFilter(java.lang.String, jakarta.servlet.Filter);
descriptor: (Ljava/lang/String;Ljakarta/servlet/Filter;)Ljakarta/servlet/FilterRegistration$Dynamic;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokevirtual org.apache.catalina.core.ApplicationContext.addFilter:(Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Filter;)Ljakarta/servlet/FilterRegistration$Dynamic;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
0 1 1 filterName Ljava/lang/String;
0 1 2 filter Ljakarta/servlet/Filter;
MethodParameters:
Name Flags
filterName
filter
public jakarta.servlet.FilterRegistration$Dynamic addFilter(java.lang.String, java.lang.Class<? extends jakarta.servlet.Filter>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Ljakarta/servlet/FilterRegistration$Dynamic;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aconst_null
invokevirtual org.apache.catalina.core.ApplicationContext.addFilter:(Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Filter;)Ljakarta/servlet/FilterRegistration$Dynamic;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
0 1 1 filterName Ljava/lang/String;
0 1 2 filterClass Ljava/lang/Class<+Ljakarta/servlet/Filter;>;
Signature: (Ljava/lang/String;Ljava/lang/Class<+Ljakarta/servlet/Filter;>;)Ljakarta/servlet/FilterRegistration$Dynamic;
MethodParameters:
Name Flags
filterName
filterClass
private jakarta.servlet.FilterRegistration$Dynamic addFilter(java.lang.String, java.lang.String, jakarta.servlet.Filter);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Filter;)Ljakarta/servlet/FilterRegistration$Dynamic;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "applicationContext.invalidFilterName"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
3: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.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 10
5: new java.lang.IllegalStateException
dup
6: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.addFilter.ise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
8: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 1
invokevirtual org.apache.catalina.core.StandardContext.findFilterDef:(Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/FilterDef;
astore 4
start local 4 11: aload 4
ifnonnull 16
12: new org.apache.tomcat.util.descriptor.web.FilterDef
dup
invokespecial org.apache.tomcat.util.descriptor.web.FilterDef.<init>:()V
astore 4
13: aload 4
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.FilterDef.setFilterName:(Ljava/lang/String;)V
14: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 4
invokevirtual org.apache.catalina.core.StandardContext.addFilterDef:(Lorg/apache/tomcat/util/descriptor/web/FilterDef;)V
15: goto 19
16: StackMap locals: org.apache.tomcat.util.descriptor.web.FilterDef
StackMap stack:
aload 4
invokevirtual org.apache.tomcat.util.descriptor.web.FilterDef.getFilterName:()Ljava/lang/String;
ifnull 19
17: aload 4
invokevirtual org.apache.tomcat.util.descriptor.web.FilterDef.getFilterClass:()Ljava/lang/String;
ifnull 19
18: aconst_null
areturn
19: StackMap locals:
StackMap stack:
aload 3
ifnonnull 22
20: aload 4
aload 2
invokevirtual org.apache.tomcat.util.descriptor.web.FilterDef.setFilterClass:(Ljava/lang/String;)V
21: goto 24
22: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.descriptor.web.FilterDef.setFilterClass:(Ljava/lang/String;)V
23: aload 4
aload 3
invokevirtual org.apache.tomcat.util.descriptor.web.FilterDef.setFilter:(Ljakarta/servlet/Filter;)V
24: StackMap locals:
StackMap stack:
new org.apache.catalina.core.ApplicationFilterRegistration
dup
aload 4
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokespecial org.apache.catalina.core.ApplicationFilterRegistration.<init>:(Lorg/apache/tomcat/util/descriptor/web/FilterDef;Lorg/apache/catalina/Context;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/catalina/core/ApplicationContext;
0 25 1 filterName Ljava/lang/String;
0 25 2 filterClass Ljava/lang/String;
0 25 3 filter Ljakarta/servlet/Filter;
11 25 4 filterDef Lorg/apache/tomcat/util/descriptor/web/FilterDef;
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
filterName
filterClass
filter
public <T extends jakarta.servlet.Filter> T createFilter(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljakarta/servlet/Filter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getInstanceManager:()Lorg/apache/tomcat/InstanceManager;
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.apache.tomcat.InstanceManager.newInstance:(Ljava/lang/String;)Ljava/lang/Object;
checkcast jakarta.servlet.Filter
astore 2
start local 2 1: aload 2
2: areturn
end local 2 3: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 4: aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
5: new jakarta.servlet.ServletException
dup
aload 2
invokespecial jakarta.servlet.ServletException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 6: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 7: new jakarta.servlet.ServletException
dup
aload 2
invokespecial jakarta.servlet.ServletException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/core/ApplicationContext;
0 8 1 c Ljava/lang/Class<TT;>;
1 3 2 filter TT;
4 6 2 e Ljava/lang/reflect/InvocationTargetException;
7 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.reflect.InvocationTargetException
0 2 6 Class java.lang.ReflectiveOperationException
0 2 6 Class javax.naming.NamingException
Exceptions:
throws jakarta.servlet.ServletException
Signature: <T::Ljakarta/servlet/Filter;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
c
public jakarta.servlet.FilterRegistration getFilterRegistration(java.lang.String);
descriptor: (Ljava/lang/String;)Ljakarta/servlet/FilterRegistration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 1
invokevirtual org.apache.catalina.core.StandardContext.findFilterDef:(Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/FilterDef;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.apache.tomcat.util.descriptor.web.FilterDef
StackMap stack:
new org.apache.catalina.core.ApplicationFilterRegistration
dup
aload 2
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokespecial org.apache.catalina.core.ApplicationFilterRegistration.<init>:(Lorg/apache/tomcat/util/descriptor/web/FilterDef;Lorg/apache/catalina/Context;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/core/ApplicationContext;
0 4 1 filterName Ljava/lang/String;
1 4 2 filterDef Lorg/apache/tomcat/util/descriptor/web/FilterDef;
MethodParameters:
Name Flags
filterName
public jakarta.servlet.ServletRegistration$Dynamic addServlet(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljakarta/servlet/ServletRegistration$Dynamic;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
invokevirtual org.apache.catalina.core.ApplicationContext.addServlet:(Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Servlet;Ljava/util/Map;)Ljakarta/servlet/ServletRegistration$Dynamic;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
0 1 1 servletName Ljava/lang/String;
0 1 2 className Ljava/lang/String;
MethodParameters:
Name Flags
servletName
className
public jakarta.servlet.ServletRegistration$Dynamic addServlet(java.lang.String, jakarta.servlet.Servlet);
descriptor: (Ljava/lang/String;Ljakarta/servlet/Servlet;)Ljakarta/servlet/ServletRegistration$Dynamic;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
aconst_null
invokevirtual org.apache.catalina.core.ApplicationContext.addServlet:(Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Servlet;Ljava/util/Map;)Ljakarta/servlet/ServletRegistration$Dynamic;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
0 1 1 servletName Ljava/lang/String;
0 1 2 servlet Ljakarta/servlet/Servlet;
MethodParameters:
Name Flags
servletName
servlet
public jakarta.servlet.ServletRegistration$Dynamic addServlet(java.lang.String, java.lang.Class<? extends jakarta.servlet.Servlet>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Ljakarta/servlet/ServletRegistration$Dynamic;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aconst_null
aconst_null
invokevirtual org.apache.catalina.core.ApplicationContext.addServlet:(Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Servlet;Ljava/util/Map;)Ljakarta/servlet/ServletRegistration$Dynamic;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
0 1 1 servletName Ljava/lang/String;
0 1 2 servletClass Ljava/lang/Class<+Ljakarta/servlet/Servlet;>;
Signature: (Ljava/lang/String;Ljava/lang/Class<+Ljakarta/servlet/Servlet;>;)Ljakarta/servlet/ServletRegistration$Dynamic;
MethodParameters:
Name Flags
servletName
servletClass
public jakarta.servlet.ServletRegistration$Dynamic addJspFile(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljakarta/servlet/ServletRegistration$Dynamic;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 1
aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
2: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.addJspFile.iae"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 6: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
ldc "jsp"
invokevirtual org.apache.catalina.core.StandardContext.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Wrapper
astore 5
start local 5 7: aload 5
ifnonnull 10
8: ldc "org.apache.jasper.servlet.JspServlet"
astore 3
9: goto 17
10: StackMap locals: java.lang.String java.util.Map org.apache.catalina.Wrapper
StackMap stack:
aload 5
invokeinterface org.apache.catalina.Wrapper.getServletClass:()Ljava/lang/String;
astore 3
11: aload 5
invokeinterface org.apache.catalina.Wrapper.findInitParameters:()[Ljava/lang/String;
astore 6
start local 6 12: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 16
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.String java.lang.String java.util.Map org.apache.catalina.Wrapper java.lang.String[] top int int java.lang.String[]
StackMap stack:
13: aload 10
iload 8
aaload
astore 7
start local 7 14: aload 4
aload 7
aload 5
aload 7
invokeinterface org.apache.catalina.Wrapper.findInitParameter:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 15: iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
iload 9
if_icmplt 13
end local 6 17: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.String java.lang.String java.util.Map org.apache.catalina.Wrapper
StackMap stack:
aload 4
ldc "jspFile"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 0
aload 1
aload 3
aconst_null
aload 4
invokevirtual org.apache.catalina.core.ApplicationContext.addServlet:(Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Servlet;Ljava/util/Map;)Ljakarta/servlet/ServletRegistration$Dynamic;
areturn
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 19 0 this Lorg/apache/catalina/core/ApplicationContext;
0 19 1 jspName Ljava/lang/String;
0 19 2 jspFile Ljava/lang/String;
5 19 3 jspServletClassName Ljava/lang/String;
6 19 4 jspFileInitParams Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
7 19 5 jspServlet Lorg/apache/catalina/Wrapper;
12 17 6 params [Ljava/lang/String;
14 15 7 param Ljava/lang/String;
MethodParameters:
Name Flags
jspName
jspFile
private jakarta.servlet.ServletRegistration$Dynamic addServlet(java.lang.String, java.lang.String, jakarta.servlet.Servlet, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Servlet;Ljava/util/Map;)Ljakarta/servlet/ServletRegistration$Dynamic;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 1
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "applicationContext.invalidServletName"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
3: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.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 10
5: new java.lang.IllegalStateException
dup
6: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.addServlet.ise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
7: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
8: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
9: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 1
invokevirtual org.apache.catalina.core.StandardContext.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Wrapper
astore 5
start local 5 11: aload 5
ifnonnull 16
12: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.createWrapper:()Lorg/apache/catalina/Wrapper;
astore 5
13: aload 5
aload 1
invokeinterface org.apache.catalina.Wrapper.setName:(Ljava/lang/String;)V
14: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 5
invokevirtual org.apache.catalina.core.StandardContext.addChild:(Lorg/apache/catalina/Container;)V
15: goto 22
16: StackMap locals: org.apache.catalina.Wrapper
StackMap stack:
aload 5
invokeinterface org.apache.catalina.Wrapper.getName:()Ljava/lang/String;
ifnull 22
17: aload 5
invokeinterface org.apache.catalina.Wrapper.getServletClass:()Ljava/lang/String;
ifnull 22
18: aload 5
invokeinterface org.apache.catalina.Wrapper.isOverridable:()Z
ifeq 21
19: aload 5
iconst_0
invokeinterface org.apache.catalina.Wrapper.setOverridable:(Z)V
20: goto 22
21: StackMap locals:
StackMap stack:
aconst_null
areturn
22: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 23: aload 3
ifnonnull 29
24: aload 5
aload 2
invokeinterface org.apache.catalina.Wrapper.setServletClass:(Ljava/lang/String;)V
25: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 2
invokestatic org.apache.catalina.util.Introspection.loadClass:(Lorg/apache/catalina/Context;Ljava/lang/String;)Ljava/lang/Class;
astore 7
start local 7 26: aload 7
ifnull 33
27: aload 7
ldc Ljakarta/servlet/annotation/ServletSecurity;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast jakarta.servlet.annotation.ServletSecurity
astore 6
end local 7 28: goto 33
29: StackMap locals: jakarta.servlet.annotation.ServletSecurity
StackMap stack:
aload 5
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Wrapper.setServletClass:(Ljava/lang/String;)V
30: aload 5
aload 3
invokeinterface org.apache.catalina.Wrapper.setServlet:(Ljakarta/servlet/Servlet;)V
31: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 3
invokevirtual org.apache.catalina.core.StandardContext.wasCreatedDynamicServlet:(Ljakarta/servlet/Servlet;)Z
ifeq 33
32: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljakarta/servlet/annotation/ServletSecurity;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast jakarta.servlet.annotation.ServletSecurity
astore 6
33: StackMap locals:
StackMap stack:
aload 4
ifnull 38
34: aload 4
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 37
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.String jakarta.servlet.Servlet java.util.Map org.apache.catalina.Wrapper jakarta.servlet.annotation.ServletSecurity top java.util.Iterator
StackMap stack:
35: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 7
start local 7 36: aload 5
aload 7
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 7
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface org.apache.catalina.Wrapper.addInitParameter:(Ljava/lang/String;Ljava/lang/String;)V
end local 7 37: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
38: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String java.lang.String jakarta.servlet.Servlet java.util.Map org.apache.catalina.Wrapper jakarta.servlet.annotation.ServletSecurity
StackMap stack:
new org.apache.catalina.core.ApplicationServletRegistration
dup
aload 5
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokespecial org.apache.catalina.core.ApplicationServletRegistration.<init>:(Lorg/apache/catalina/Wrapper;Lorg/apache/catalina/Context;)V
39: astore 7
start local 7 40: aload 6
ifnull 42
41: aload 7
new jakarta.servlet.ServletSecurityElement
dup
aload 6
invokespecial jakarta.servlet.ServletSecurityElement.<init>:(Ljakarta/servlet/annotation/ServletSecurity;)V
invokeinterface jakarta.servlet.ServletRegistration$Dynamic.setServletSecurity:(Ljakarta/servlet/ServletSecurityElement;)Ljava/util/Set;
pop
42: StackMap locals: jakarta.servlet.ServletRegistration$Dynamic
StackMap stack:
aload 7
areturn
end local 7 end local 6 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 43 0 this Lorg/apache/catalina/core/ApplicationContext;
0 43 1 servletName Ljava/lang/String;
0 43 2 servletClass Ljava/lang/String;
0 43 3 servlet Ljakarta/servlet/Servlet;
0 43 4 initParams Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
11 43 5 wrapper Lorg/apache/catalina/Wrapper;
23 43 6 annotation Ljakarta/servlet/annotation/ServletSecurity;
26 28 7 clazz Ljava/lang/Class<*>;
36 37 7 initParam Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
40 43 7 registration Ljakarta/servlet/ServletRegistration$Dynamic;
Exceptions:
throws java.lang.IllegalStateException
Signature: (Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Servlet;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljakarta/servlet/ServletRegistration$Dynamic;
MethodParameters:
Name Flags
servletName
servletClass
servlet
initParams
public <T extends jakarta.servlet.Servlet> T createServlet(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljakarta/servlet/Servlet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getInstanceManager:()Lorg/apache/tomcat/InstanceManager;
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface org.apache.tomcat.InstanceManager.newInstance:(Ljava/lang/String;)Ljava/lang/Object;
checkcast jakarta.servlet.Servlet
astore 2
start local 2 1: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 2
invokevirtual org.apache.catalina.core.StandardContext.dynamicServletCreated:(Ljakarta/servlet/Servlet;)V
2: aload 2
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 5: aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
6: new jakarta.servlet.ServletException
dup
aload 2
invokespecial jakarta.servlet.ServletException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 8: new jakarta.servlet.ServletException
dup
aload 2
invokespecial jakarta.servlet.ServletException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/core/ApplicationContext;
0 9 1 c Ljava/lang/Class<TT;>;
1 4 2 servlet TT;
5 7 2 e Ljava/lang/reflect/InvocationTargetException;
8 9 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 3 4 Class java.lang.reflect.InvocationTargetException
0 3 7 Class java.lang.ReflectiveOperationException
0 3 7 Class javax.naming.NamingException
Exceptions:
throws jakarta.servlet.ServletException
Signature: <T::Ljakarta/servlet/Servlet;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
c
public jakarta.servlet.ServletRegistration getServletRegistration(java.lang.String);
descriptor: (Ljava/lang/String;)Ljakarta/servlet/ServletRegistration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 1
invokevirtual org.apache.catalina.core.StandardContext.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Wrapper
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.apache.catalina.Wrapper
StackMap stack:
new org.apache.catalina.core.ApplicationServletRegistration
dup
aload 2
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokespecial org.apache.catalina.core.ApplicationServletRegistration.<init>:(Lorg/apache/catalina/Wrapper;Lorg/apache/catalina/Context;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/core/ApplicationContext;
0 4 1 servletName Ljava/lang/String;
1 4 2 wrapper Lorg/apache/catalina/Wrapper;
MethodParameters:
Name Flags
servletName
public java.util.Set<jakarta.servlet.SessionTrackingMode> getDefaultSessionTrackingModes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.defaultSessionTrackingModes:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
Signature: ()Ljava/util/Set<Ljakarta/servlet/SessionTrackingMode;>;
private void populateSessionTrackingModes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
getstatic jakarta.servlet.SessionTrackingMode.URL:Ljakarta/servlet/SessionTrackingMode;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
putfield org.apache.catalina.core.ApplicationContext.defaultSessionTrackingModes:Ljava/util/Set;
1: aload 0
getstatic jakarta.servlet.SessionTrackingMode.URL:Ljakarta/servlet/SessionTrackingMode;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
putfield org.apache.catalina.core.ApplicationContext.supportedSessionTrackingModes:Ljava/util/Set;
2: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getCookies:()Z
ifeq 5
3: aload 0
getfield org.apache.catalina.core.ApplicationContext.defaultSessionTrackingModes:Ljava/util/Set;
getstatic jakarta.servlet.SessionTrackingMode.COOKIE:Ljakarta/servlet/SessionTrackingMode;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: aload 0
getfield org.apache.catalina.core.ApplicationContext.supportedSessionTrackingModes:Ljava/util/Set;
getstatic jakarta.servlet.SessionTrackingMode.COOKIE:Ljakarta/servlet/SessionTrackingMode;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.service:Lorg/apache/catalina/Service;
invokeinterface org.apache.catalina.Service.findConnectors:()[Lorg/apache/catalina/connector/Connector;
astore 1
start local 1 6: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 12
StackMap locals: org.apache.catalina.core.ApplicationContext org.apache.catalina.connector.Connector[] top int int org.apache.catalina.connector.Connector[]
StackMap stack:
7: aload 5
iload 3
aaload
astore 2
start local 2 8: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 2
ldc "SSLEnabled"
invokevirtual org.apache.catalina.connector.Connector.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 0
getfield org.apache.catalina.core.ApplicationContext.supportedSessionTrackingModes:Ljava/util/Set;
getstatic jakarta.servlet.SessionTrackingMode.SSL:Ljakarta/servlet/SessionTrackingMode;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: goto 13
end local 2 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 4
if_icmplt 7
13: StackMap locals: org.apache.catalina.core.ApplicationContext org.apache.catalina.connector.Connector[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/core/ApplicationContext;
6 14 1 connectors [Lorg/apache/catalina/connector/Connector;
8 11 2 connector Lorg/apache/catalina/connector/Connector;
public java.util.Set<jakarta.servlet.SessionTrackingMode> getEffectiveSessionTrackingModes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.sessionTrackingModes:Ljava/util/Set;
ifnull 2
1: aload 0
getfield org.apache.catalina.core.ApplicationContext.sessionTrackingModes:Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.defaultSessionTrackingModes:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/core/ApplicationContext;
Signature: ()Ljava/util/Set<Ljakarta/servlet/SessionTrackingMode;>;
public jakarta.servlet.SessionCookieConfig getSessionCookieConfig();
descriptor: ()Ljakarta/servlet/SessionCookieConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.sessionCookieConfig:Ljakarta/servlet/SessionCookieConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public void setSessionTrackingModes(java.util.Set<jakarta.servlet.SessionTrackingMode>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.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 6
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.setSessionTracking.ise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
4: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 13
StackMap locals: org.apache.catalina.core.ApplicationContext java.util.Set top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jakarta.servlet.SessionTrackingMode
astore 2
start local 2 8: aload 0
getfield org.apache.catalina.core.ApplicationContext.supportedSessionTrackingModes:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 13
9: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
10: ldc "applicationContext.setSessionTracking.iae.invalid"
iconst_2
anewarray java.lang.Object
dup
iconst_0
11: aload 2
invokevirtual jakarta.servlet.SessionTrackingMode.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
12: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
14: aload 1
getstatic jakarta.servlet.SessionTrackingMode.SSL:Ljakarta/servlet/SessionTrackingMode;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 20
15: aload 1
invokeinterface java.util.Set.size:()I
iconst_1
if_icmple 20
16: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
17: ldc "applicationContext.setSessionTracking.iae.ssl"
iconst_1
anewarray java.lang.Object
dup
iconst_0
18: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
19: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: org.apache.catalina.core.ApplicationContext java.util.Set
StackMap stack:
aload 0
aload 1
putfield org.apache.catalina.core.ApplicationContext.sessionTrackingModes:Ljava/util/Set;
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/catalina/core/ApplicationContext;
0 22 1 sessionTrackingModes Ljava/util/Set<Ljakarta/servlet/SessionTrackingMode;>;
8 13 2 sessionTrackingMode Ljakarta/servlet/SessionTrackingMode;
Signature: (Ljava/util/Set<Ljakarta/servlet/SessionTrackingMode;>;)V
MethodParameters:
Name Flags
sessionTrackingModes
public boolean setInitParameter(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.setAttribute.namenull"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.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 8
3: new java.lang.IllegalStateException
dup
4: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.setInitParam.ise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
6: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.parameters:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/core/ApplicationContext;
0 10 1 name Ljava/lang/String;
0 10 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
public void addListener(java.lang.Class<? extends java.util.EventListener>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.core.ApplicationContext.createListener:(Ljava/lang/Class;)Ljava/util/EventListener;
astore 2
start local 2 1: goto 9
end local 2 StackMap locals:
StackMap stack: jakarta.servlet.ServletException
2: astore 3
start local 3 3: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
4: ldc "applicationContext.addListener.iae.init"
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
6: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: aload 3
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 9: StackMap locals: java.util.EventListener
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.catalina.core.ApplicationContext.addListener:(Ljava/util/EventListener;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/core/ApplicationContext;
0 11 1 listenerClass Ljava/lang/Class<+Ljava/util/EventListener;>;
1 2 2 listener Ljava/util/EventListener;
9 11 2 listener Ljava/util/EventListener;
3 9 3 e Ljakarta/servlet/ServletException;
Exception table:
from to target type
0 1 2 Class jakarta.servlet.ServletException
Signature: (Ljava/lang/Class<+Ljava/util/EventListener;>;)V
MethodParameters:
Name Flags
listenerClass
public void addListener(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getInstanceManager:()Lorg/apache/tomcat/InstanceManager;
ifnull 23
1: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getInstanceManager:()Lorg/apache/tomcat/InstanceManager;
aload 1
invokeinterface org.apache.tomcat.InstanceManager.newInstance:(Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 2: aload 2
instanceof java.util.EventListener
ifne 7
3: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
4: ldc "applicationContext.addListener.iae.wrongType"
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 1
aastore
6: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast java.util.EventListener
astore 3
start local 3 8: aload 0
aload 3
invokevirtual org.apache.catalina.core.ApplicationContext.addListener:(Ljava/util/EventListener;)V
end local 3 end local 2 9: goto 23
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String
StackMap stack: java.lang.reflect.InvocationTargetException
10: astore 2
start local 2 11: aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
12: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
13: ldc "applicationContext.addListener.iae.cnfe"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
14: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
15: aload 2
16: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 17: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 18: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
19: ldc "applicationContext.addListener.iae.cnfe"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
20: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
21: aload 2
22: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
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/apache/catalina/core/ApplicationContext;
0 24 1 className Ljava/lang/String;
2 9 2 obj Ljava/lang/Object;
8 9 3 listener Ljava/util/EventListener;
11 17 2 e Ljava/lang/reflect/InvocationTargetException;
18 23 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 9 10 Class java.lang.reflect.InvocationTargetException
0 9 17 Class java.lang.ReflectiveOperationException
0 9 17 Class javax.naming.NamingException
MethodParameters:
Name Flags
className
public <T extends java.util.EventListener> void addListener();
descriptor: (Ljava/util/EventListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.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 6
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.addListener.ise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
4: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 7: aload 1
instanceof jakarta.servlet.ServletContextAttributeListener
ifne 12
8: aload 1
instanceof jakarta.servlet.ServletRequestListener
ifne 12
9: aload 1
instanceof jakarta.servlet.ServletRequestAttributeListener
ifne 12
10: aload 1
instanceof jakarta.servlet.http.HttpSessionIdListener
ifne 12
11: aload 1
instanceof jakarta.servlet.http.HttpSessionAttributeListener
ifeq 14
12: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 1
invokevirtual org.apache.catalina.core.StandardContext.addApplicationEventListener:(Ljava/lang/Object;)V
13: iconst_1
istore 2
14: StackMap locals:
StackMap stack:
aload 1
instanceof jakarta.servlet.http.HttpSessionListener
ifne 16
15: aload 1
instanceof jakarta.servlet.ServletContextListener
ifeq 18
aload 0
getfield org.apache.catalina.core.ApplicationContext.newServletContextListenerAllowed:Z
ifeq 18
16: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 1
invokevirtual org.apache.catalina.core.StandardContext.addApplicationLifecycleListener:(Ljava/lang/Object;)V
17: iconst_1
istore 2
18: StackMap locals:
StackMap stack:
iload 2
ifeq 19
return
19: StackMap locals:
StackMap stack:
aload 1
instanceof jakarta.servlet.ServletContextListener
ifeq 24
20: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
21: ldc "applicationContext.addListener.iae.sclNotAllowed"
iconst_1
anewarray java.lang.Object
dup
iconst_0
22: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
23: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
25: ldc "applicationContext.addListener.iae.wrongType"
iconst_1
anewarray java.lang.Object
dup
iconst_0
26: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
27: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/catalina/core/ApplicationContext;
0 28 1 t TT;
7 28 2 match Z
Signature: <T::Ljava/util/EventListener;>(TT;)V
MethodParameters:
Name Flags
t
public <T extends java.util.EventListener> T createListener(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/util/EventListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getInstanceManager:()Lorg/apache/tomcat/InstanceManager;
aload 1
invokeinterface org.apache.tomcat.InstanceManager.newInstance:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.util.EventListener
astore 2
start local 2 1: aload 2
instanceof jakarta.servlet.ServletContextListener
ifne 8
2: aload 2
instanceof jakarta.servlet.ServletContextAttributeListener
ifne 8
3: aload 2
instanceof jakarta.servlet.ServletRequestListener
ifne 8
4: aload 2
instanceof jakarta.servlet.ServletRequestAttributeListener
ifne 8
5: aload 2
instanceof jakarta.servlet.http.HttpSessionListener
ifne 8
6: aload 2
instanceof jakarta.servlet.http.HttpSessionIdListener
ifne 8
7: aload 2
instanceof jakarta.servlet.http.HttpSessionAttributeListener
ifeq 10
8: StackMap locals: java.util.EventListener
StackMap stack:
aload 2
9: areturn
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
11: ldc "applicationContext.addListener.iae.wrongType"
iconst_1
anewarray java.lang.Object
dup
iconst_0
12: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
13: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 14: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.Class
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 15: aload 2
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
16: new jakarta.servlet.ServletException
dup
aload 2
invokespecial jakarta.servlet.ServletException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 17: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 18: new jakarta.servlet.ServletException
dup
aload 2
invokespecial jakarta.servlet.ServletException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/catalina/core/ApplicationContext;
0 19 1 c Ljava/lang/Class<TT;>;
1 14 2 listener TT;
15 17 2 e Ljava/lang/reflect/InvocationTargetException;
18 19 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 9 14 Class java.lang.reflect.InvocationTargetException
10 14 14 Class java.lang.reflect.InvocationTargetException
0 9 17 Class java.lang.ReflectiveOperationException
10 14 17 Class java.lang.ReflectiveOperationException
0 9 17 Class javax.naming.NamingException
10 14 17 Class javax.naming.NamingException
Exceptions:
throws jakarta.servlet.ServletException
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
c
public void declareRoles(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.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 6
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.addRole.ise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
4: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 12
7: new java.lang.IllegalArgumentException
dup
8: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.roles.iae"
iconst_1
anewarray java.lang.Object
dup
iconst_0
9: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
10: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 22
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String[] top int int java.lang.String[]
StackMap stack:
13: aload 5
iload 3
aaload
astore 2
start local 2 14: aload 2
ifnull 15
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 20
15: StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
16: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.role.iae"
iconst_1
anewarray java.lang.Object
dup
iconst_0
17: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
18: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
19: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 2
invokevirtual org.apache.catalina.core.StandardContext.addSecurityRole:(Ljava/lang/String;)V
end local 2 21: iinc 3 1
StackMap locals: org.apache.catalina.core.ApplicationContext java.lang.String[] top int int java.lang.String[]
StackMap stack:
22: iload 3
iload 4
if_icmplt 13
23: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/catalina/core/ApplicationContext;
0 24 1 roleNames [Ljava/lang/String;
14 21 2 role Ljava/lang/String;
MethodParameters:
Name Flags
roleNames
public java.lang.ClassLoader getClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getLoader:()Lorg/apache/catalina/Loader;
invokeinterface org.apache.catalina.Loader.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 1: getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
ifeq 13
2: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 3: aload 1
astore 3
start local 3 4: goto 8
5: StackMap locals: java.lang.ClassLoader java.lang.ClassLoader java.lang.ClassLoader
StackMap stack:
aload 3
aload 2
if_acmpne 7
6: goto 9
7: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 3
8: StackMap locals:
StackMap stack:
aload 3
ifnonnull 5
9: StackMap locals:
StackMap stack:
aload 3
ifnonnull 13
10: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
11: new java.lang.RuntimePermission
dup
ldc "getClassLoader"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
12: invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
end local 3 end local 2 13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/core/ApplicationContext;
1 14 1 result Ljava/lang/ClassLoader;
3 13 2 tccl Ljava/lang/ClassLoader;
4 13 3 parent Ljava/lang/ClassLoader;
public int getEffectiveMajorVersion();
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.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getEffectiveMajorVersion:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public int getEffectiveMinorVersion();
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.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getEffectiveMinorVersion:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public java.util.Map<java.lang.String, ? extends jakarta.servlet.FilterRegistration> getFilterRegistrations();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.findFilterDefs:()[Lorg/apache/tomcat/util/descriptor/web/FilterDef;
astore 2
start local 2 2: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: org.apache.catalina.core.ApplicationContext java.util.Map org.apache.tomcat.util.descriptor.web.FilterDef[] top int int org.apache.tomcat.util.descriptor.web.FilterDef[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 1
aload 3
invokevirtual org.apache.tomcat.util.descriptor.web.FilterDef.getFilterName:()Ljava/lang/String;
5: new org.apache.catalina.core.ApplicationFilterRegistration
dup
aload 3
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokespecial org.apache.catalina.core.ApplicationFilterRegistration.<init>:(Lorg/apache/tomcat/util/descriptor/web/FilterDef;Lorg/apache/catalina/Context;)V
6: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 3
9: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/core/ApplicationContext;
1 10 1 result Ljava/util/Map<Ljava/lang/String;Lorg/apache/catalina/core/ApplicationFilterRegistration;>;
2 10 2 filterDefs [Lorg/apache/tomcat/util/descriptor/web/FilterDef;
4 7 3 filterDef Lorg/apache/tomcat/util/descriptor/web/FilterDef;
Signature: ()Ljava/util/Map<Ljava/lang/String;+Ljakarta/servlet/FilterRegistration;>;
public jakarta.servlet.descriptor.JspConfigDescriptor getJspConfigDescriptor();
descriptor: ()Ljakarta/servlet/descriptor/JspConfigDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getJspConfigDescriptor:()Ljakarta/servlet/descriptor/JspConfigDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public java.util.Map<java.lang.String, ? extends jakarta.servlet.ServletRegistration> getServletRegistrations();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.findChildren:()[Lorg/apache/catalina/Container;
astore 2
start local 2 2: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: org.apache.catalina.core.ApplicationContext java.util.Map org.apache.catalina.Container[] top int int org.apache.catalina.Container[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 1
aload 3
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
5: new org.apache.catalina.core.ApplicationServletRegistration
dup
6: aload 3
checkcast org.apache.catalina.Wrapper
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
7: invokespecial org.apache.catalina.core.ApplicationServletRegistration.<init>:(Lorg/apache/catalina/Wrapper;Lorg/apache/catalina/Context;)V
8: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 3
11: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/core/ApplicationContext;
1 12 1 result Ljava/util/Map<Ljava/lang/String;Lorg/apache/catalina/core/ApplicationServletRegistration;>;
2 12 2 wrappers [Lorg/apache/catalina/Container;
4 9 3 wrapper Lorg/apache/catalina/Container;
Signature: ()Ljava/util/Map<Ljava/lang/String;+Ljakarta/servlet/ServletRegistration;>;
public java.lang.String getVirtualServerName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getParent:()Lorg/apache/catalina/Container;
astore 1
start local 1 1: aload 1
invokeinterface org.apache.catalina.Container.getParent:()Lorg/apache/catalina/Container;
astore 2
start local 2 2: new java.lang.StringBuilder
dup
aload 2
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
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;
aload 1
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/core/ApplicationContext;
1 3 1 host Lorg/apache/catalina/Container;
2 3 2 engine Lorg/apache/catalina/Container;
public int getSessionTimeout();
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.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getSessionTimeout:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public void setSessionTimeout(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.ApplicationContext.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 6
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.setSessionTimeout.ise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
4: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
iload 1
invokevirtual org.apache.catalina.core.StandardContext.setSessionTimeout:(I)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/core/ApplicationContext;
0 8 1 sessionTimeout I
MethodParameters:
Name Flags
sessionTimeout
public java.lang.String getRequestCharacterEncoding();
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.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getRequestCharacterEncoding:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public void setRequestCharacterEncoding(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.ApplicationContext.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 6
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.setRequestEncoding.ise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
4: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 1
invokevirtual org.apache.catalina.core.StandardContext.setRequestCharacterEncoding:(Ljava/lang/String;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/core/ApplicationContext;
0 8 1 encoding Ljava/lang/String;
MethodParameters:
Name Flags
encoding
public java.lang.String getResponseCharacterEncoding();
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.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
invokevirtual org.apache.catalina.core.StandardContext.getResponseCharacterEncoding:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
public void setResponseCharacterEncoding(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.ApplicationContext.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 6
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.core.ApplicationContext.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "applicationContext.setResponseEncoding.ise"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 0
invokevirtual org.apache.catalina.core.ApplicationContext.getContextPath:()Ljava/lang/String;
aastore
4: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
aload 1
invokevirtual org.apache.catalina.core.StandardContext.setResponseCharacterEncoding:(Ljava/lang/String;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/core/ApplicationContext;
0 8 1 encoding Ljava/lang/String;
MethodParameters:
Name Flags
encoding
protected org.apache.catalina.core.StandardContext getContext();
descriptor: ()Lorg/apache/catalina/core/StandardContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.context:Lorg/apache/catalina/core/StandardContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
protected void clearAttributes();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.apache.catalina.core.ApplicationContext.attributes:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.catalina.core.ApplicationContext java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.apache.catalina.core.ApplicationContext.removeAttribute:(Ljava/lang/String;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/core/ApplicationContext;
1 6 1 list Ljava/util/List<Ljava/lang/String;>;
3 4 2 key Ljava/lang/String;
protected jakarta.servlet.ServletContext getFacade();
descriptor: ()Ljakarta/servlet/ServletContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.facade:Ljakarta/servlet/ServletContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/core/ApplicationContext;
void setAttributeReadOnly(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.core.ApplicationContext.attributes:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield org.apache.catalina.core.ApplicationContext.readOnlyAttributes:Ljava/util/Map;
aload 1
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/core/ApplicationContext;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected void setNewServletContextListenerAllowed(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.core.ApplicationContext.newServletContextListenerAllowed:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/ApplicationContext;
0 2 1 allowed Z
MethodParameters:
Name Flags
allowed
}
SourceFile: "ApplicationContext.java"
NestMembers:
org.apache.catalina.core.ApplicationContext$DispatchData
InnerClasses:
public abstract Dynamic = jakarta.servlet.FilterRegistration$Dynamic of jakarta.servlet.FilterRegistration
public abstract Dynamic = jakarta.servlet.ServletRegistration$Dynamic of jakarta.servlet.ServletRegistration
public abstract Entry = java.util.Map$Entry of java.util.Map
private final DispatchData = org.apache.catalina.core.ApplicationContext$DispatchData of org.apache.catalina.core.ApplicationContext