final class org.apache.catalina.core.StandardContextValve extends org.apache.catalina.valves.ValveBase
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.catalina.core.StandardContextValve
super_class: org.apache.catalina.valves.ValveBase
{
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
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/core/StandardContextValve;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.core.StandardContextValve.sm:Lorg/apache/tomcat/util/res/StringManager;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokespecial org.apache.catalina.valves.ValveBase.<init>:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/core/StandardContextValve;
public final void invoke(org.apache.catalina.connector.Request, org.apache.catalina.connector.Response);
descriptor: (Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.catalina.connector.Request.getRequestPathMB:()Lorg/apache/tomcat/util/buf/MessageBytes;
astore 3
start local 3 1: aload 3
ldc "/META-INF/"
iconst_0
invokevirtual org.apache.tomcat.util.buf.MessageBytes.startsWithIgnoreCase:(Ljava/lang/String;I)Z
ifne 5
2: aload 3
ldc "/META-INF"
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 5
3: aload 3
ldc "/WEB-INF/"
iconst_0
invokevirtual org.apache.tomcat.util.buf.MessageBytes.startsWithIgnoreCase:(Ljava/lang/String;I)Z
ifne 5
4: aload 3
ldc "/WEB-INF"
invokevirtual org.apache.tomcat.util.buf.MessageBytes.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
5: StackMap locals: org.apache.tomcat.util.buf.MessageBytes
StackMap stack:
aload 2
sipush 404
invokevirtual org.apache.catalina.connector.Response.sendError:(I)V
6: return
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.catalina.connector.Request.getWrapper:()Lorg/apache/catalina/Wrapper;
astore 4
start local 4 8: aload 4
ifnull 9
aload 4
invokeinterface org.apache.catalina.Wrapper.isUnavailable:()Z
ifeq 11
9: StackMap locals: org.apache.catalina.Wrapper
StackMap stack:
aload 2
sipush 404
invokevirtual org.apache.catalina.connector.Response.sendError:(I)V
10: return
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.catalina.connector.Response.sendAcknowledgement:()V
12: goto 22
StackMap locals:
StackMap stack: java.io.IOException
13: astore 5
start local 5 14: aload 0
getfield org.apache.catalina.core.StandardContextValve.container:Lorg/apache/catalina/Container;
invokeinterface org.apache.catalina.Container.getLogger:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.core.StandardContextValve.sm:Lorg/apache/tomcat/util/res/StringManager;
15: ldc "standardContextValve.acknowledgeException"
16: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
17: aload 5
18: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
19: aload 1
ldc "javax.servlet.error.exception"
aload 5
invokevirtual org.apache.catalina.connector.Request.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
20: aload 2
sipush 500
invokevirtual org.apache.catalina.connector.Response.sendError:(I)V
21: return
end local 5 22: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.catalina.connector.Request.isAsyncSupported:()Z
ifeq 24
23: aload 1
aload 4
invokeinterface org.apache.catalina.Wrapper.getPipeline:()Lorg/apache/catalina/Pipeline;
invokeinterface org.apache.catalina.Pipeline.isAsyncSupported:()Z
invokevirtual org.apache.catalina.connector.Request.setAsyncSupported:(Z)V
24: StackMap locals:
StackMap stack:
aload 4
invokeinterface org.apache.catalina.Wrapper.getPipeline:()Lorg/apache/catalina/Pipeline;
invokeinterface org.apache.catalina.Pipeline.getFirst:()Lorg/apache/catalina/Valve;
aload 1
aload 2
invokeinterface org.apache.catalina.Valve.invoke:(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
25: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/apache/catalina/core/StandardContextValve;
0 26 1 request Lorg/apache/catalina/connector/Request;
0 26 2 response Lorg/apache/catalina/connector/Response;
1 26 3 requestPathMB Lorg/apache/tomcat/util/buf/MessageBytes;
8 26 4 wrapper Lorg/apache/catalina/Wrapper;
14 22 5 ioe Ljava/io/IOException;
Exception table:
from to target type
11 12 13 Class java.io.IOException
Exceptions:
throws java.io.IOException, javax.servlet.ServletException
MethodParameters:
Name Flags
request
response
}
SourceFile: "StandardContextValve.java"