class jakarta.servlet.http.HttpServlet$TomcatHack
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jakarta.servlet.http.HttpServlet$TomcatHack
super_class: java.lang.Object
{
private static final java.lang.Class<?> REQUEST_FACADE_CLAZZ;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private static final java.lang.reflect.Method GET_ALLOW_TRACE;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: aconst_null
astore 0
start local 0 1: aconst_null
astore 1
start local 1 2: ldc "org.apache.catalina.connector.RequestFacade"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
3: aload 1
ldc "getAllowTrace"
aconst_null
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 0
4: goto 6
StackMap locals: java.lang.reflect.Method java.lang.Class
StackMap stack: java.lang.Exception
5: pop
6: StackMap locals:
StackMap stack:
aload 1
putstatic jakarta.servlet.http.HttpServlet$TomcatHack.REQUEST_FACADE_CLAZZ:Ljava/lang/Class;
7: aload 0
putstatic jakarta.servlet.http.HttpServlet$TomcatHack.GET_ALLOW_TRACE:Ljava/lang/reflect/Method;
end local 1 end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
1 8 0 m1 Ljava/lang/reflect/Method;
2 8 1 c1 Ljava/lang/Class<*>;
Exception table:
from to target type
2 4 5 Class java.lang.ReflectiveOperationException
2 4 5 Class java.lang.SecurityException
2 4 5 Class java.lang.IllegalArgumentException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/servlet/http/HttpServlet$TomcatHack;
public static boolean getAllowTrace(jakarta.servlet.http.HttpServletRequest);
descriptor: (Ljakarta/servlet/http/HttpServletRequest;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jakarta.servlet.http.HttpServlet$TomcatHack.REQUEST_FACADE_CLAZZ:Ljava/lang/Class;
ifnull 5
getstatic jakarta.servlet.http.HttpServlet$TomcatHack.GET_ALLOW_TRACE:Ljava/lang/reflect/Method;
ifnull 5
1: getstatic jakarta.servlet.http.HttpServlet$TomcatHack.REQUEST_FACADE_CLAZZ:Ljava/lang/Class;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 5
2: getstatic jakarta.servlet.http.HttpServlet$TomcatHack.GET_ALLOW_TRACE:Ljava/lang/reflect/Method;
aload 0
aconst_null
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
3: ireturn
4: StackMap locals:
StackMap stack: java.lang.Exception
pop
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 req Ljakarta/servlet/http/HttpServletRequest;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalAccessException
2 3 4 Class java.lang.IllegalArgumentException
2 3 4 Class java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
req
}
SourceFile: "HttpServlet.java"
NestHost: jakarta.servlet.http.HttpServlet
InnerClasses:
private TomcatHack = jakarta.servlet.http.HttpServlet$TomcatHack of jakarta.servlet.http.HttpServlet