public class org.apache.catalina.startup.Tomcat$ExistingStandardWrapper extends org.apache.catalina.core.StandardWrapper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.startup.Tomcat$ExistingStandardWrapper
super_class: org.apache.catalina.core.StandardWrapper
{
private final jakarta.servlet.Servlet existing;
descriptor: Ljakarta/servlet/Servlet;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jakarta.servlet.Servlet);
descriptor: (Ljakarta/servlet/Servlet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.catalina.core.StandardWrapper.<init>:()V
1: aload 0
aload 1
putfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.existing:Ljakarta/servlet/Servlet;
2: aload 1
instanceof jakarta.servlet.SingleThreadModel
ifeq 5
3: aload 0
iconst_1
putfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.singleThreadModel:Z
4: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.instancePool:Ljava/util/Stack;
5: StackMap locals: org.apache.catalina.startup.Tomcat$ExistingStandardWrapper jakarta.servlet.Servlet
StackMap stack:
aload 0
aload 1
invokestatic org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.hasAsync:(Ljakarta/servlet/Servlet;)Z
putfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.asyncSupported:Z
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/startup/Tomcat$ExistingStandardWrapper;
0 7 1 existing Ljakarta/servlet/Servlet;
MethodParameters:
Name Flags
existing
private static boolean hasAsync(jakarta.servlet.Servlet);
descriptor: (Ljakarta/servlet/Servlet;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 2: aload 2
ldc Ljakarta/servlet/annotation/WebServlet;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast jakarta.servlet.annotation.WebServlet
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 3
invokeinterface jakarta.servlet.annotation.WebServlet.asyncSupported:()Z
istore 1
5: StackMap locals: int java.lang.Class jakarta.servlet.annotation.WebServlet
StackMap stack:
iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 existing Ljakarta/servlet/Servlet;
1 6 1 result Z
2 6 2 clazz Ljava/lang/Class<*>;
3 6 3 ws Ljakarta/servlet/annotation/WebServlet;
MethodParameters:
Name Flags
existing
public synchronized jakarta.servlet.Servlet loadServlet();
descriptor: ()Ljakarta/servlet/Servlet;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.singleThreadModel:Z
ifeq 7
1: aload 0
getfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.existing:Ljakarta/servlet/Servlet;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast jakarta.servlet.Servlet
astore 1
start local 1 2: goto 5
end local 1 StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
3: astore 2
start local 2 4: new jakarta.servlet.ServletException
dup
aload 2
invokespecial jakarta.servlet.ServletException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 start local 1 5: StackMap locals: jakarta.servlet.Servlet
StackMap stack:
aload 1
aload 0
getfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.facade:Lorg/apache/catalina/core/StandardWrapperFacade;
invokeinterface jakarta.servlet.Servlet.init:(Ljakarta/servlet/ServletConfig;)V
6: aload 1
areturn
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.instanceInitialized:Z
ifne 10
8: aload 0
getfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.existing:Ljakarta/servlet/Servlet;
aload 0
getfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.facade:Lorg/apache/catalina/core/StandardWrapperFacade;
invokeinterface jakarta.servlet.Servlet.init:(Ljakarta/servlet/ServletConfig;)V
9: aload 0
iconst_1
putfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.instanceInitialized:Z
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.existing:Ljakarta/servlet/Servlet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/startup/Tomcat$ExistingStandardWrapper;
2 3 1 instance Ljakarta/servlet/Servlet;
5 7 1 instance Ljakarta/servlet/Servlet;
4 5 2 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
1 2 3 Class java.lang.ReflectiveOperationException
Exceptions:
throws jakarta.servlet.ServletException
public long getAvailable();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat$ExistingStandardWrapper;
public boolean isUnavailable();
descriptor: ()Z
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/startup/Tomcat$ExistingStandardWrapper;
public jakarta.servlet.Servlet getServlet();
descriptor: ()Ljakarta/servlet/Servlet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.existing:Ljakarta/servlet/Servlet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat$ExistingStandardWrapper;
public java.lang.String getServletClass();
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.startup.Tomcat$ExistingStandardWrapper.existing:Ljakarta/servlet/Servlet;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat$ExistingStandardWrapper;
}
SourceFile: "Tomcat.java"
NestHost: org.apache.catalina.startup.Tomcat
InnerClasses:
public ExistingStandardWrapper = org.apache.catalina.startup.Tomcat$ExistingStandardWrapper of org.apache.catalina.startup.Tomcat