public class org.apache.catalina.util.ErrorPageSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.util.ErrorPageSupport
super_class: java.lang.Object
{
private java.util.Map<java.lang.String, org.apache.tomcat.util.descriptor.web.ErrorPage> exceptionPages;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/apache/tomcat/util/descriptor/web/ErrorPage;>;
private java.util.Map<java.lang.Integer, org.apache.tomcat.util.descriptor.web.ErrorPage> statusPages;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Integer;Lorg/apache/tomcat/util/descriptor/web/ErrorPage;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 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.util.ErrorPageSupport.exceptionPages:Ljava/util/Map;
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.catalina.util.ErrorPageSupport.statusPages:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/util/ErrorPageSupport;
public void add(org.apache.tomcat.util.descriptor.web.ErrorPage);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ErrorPage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ErrorPage.getExceptionType:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield org.apache.catalina.util.ErrorPageSupport.statusPages:Ljava/util/Map;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ErrorPage.getErrorCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: goto 5
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.util.ErrorPageSupport.exceptionPages:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/util/ErrorPageSupport;
0 6 1 errorPage Lorg/apache/tomcat/util/descriptor/web/ErrorPage;
1 6 2 exceptionType Ljava/lang/String;
MethodParameters:
Name Flags
errorPage
public void remove(org.apache.tomcat.util.descriptor.web.ErrorPage);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/ErrorPage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ErrorPage.getExceptionType:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 0
getfield org.apache.catalina.util.ErrorPageSupport.statusPages:Ljava/util/Map;
aload 1
invokevirtual org.apache.tomcat.util.descriptor.web.ErrorPage.getErrorCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
3: goto 5
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.util.ErrorPageSupport.exceptionPages:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/util/ErrorPageSupport;
0 6 1 errorPage Lorg/apache/tomcat/util/descriptor/web/ErrorPage;
1 6 2 exceptionType Ljava/lang/String;
MethodParameters:
Name Flags
errorPage
public org.apache.tomcat.util.descriptor.web.ErrorPage find(int);
descriptor: (I)Lorg/apache/tomcat/util/descriptor/web/ErrorPage;
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.util.ErrorPageSupport.statusPages:Ljava/util/Map;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ErrorPage
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/ErrorPageSupport;
0 1 1 statusCode I
MethodParameters:
Name Flags
statusCode
public org.apache.tomcat.util.descriptor.web.ErrorPage find(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/tomcat/util/descriptor/web/ErrorPage;
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.util.ErrorPageSupport.exceptionPages:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ErrorPage
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/ErrorPageSupport;
0 1 1 exceptionType Ljava/lang/String;
MethodParameters:
Name Flags
exceptionType
public org.apache.tomcat.util.descriptor.web.ErrorPage find(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lorg/apache/tomcat/util/descriptor/web/ErrorPage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, 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
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 3: aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
start local 3 4: goto 12
5: StackMap locals: java.lang.Class java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.util.ErrorPageSupport.exceptionPages:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ErrorPage
astore 4
start local 4 6: aload 4
ifnull 8
7: aload 4
areturn
8: StackMap locals: org.apache.tomcat.util.descriptor.web.ErrorPage
StackMap stack:
aload 2
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 2
9: aload 2
ifnonnull 11
10: goto 13
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
end local 4 12: StackMap locals:
StackMap stack:
ldc Ljava/lang/Object;
aload 2
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 5
13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/util/ErrorPageSupport;
0 14 1 exceptionType Ljava/lang/Throwable;
3 14 2 clazz Ljava/lang/Class<*>;
4 14 3 name Ljava/lang/String;
6 12 4 errorPage Lorg/apache/tomcat/util/descriptor/web/ErrorPage;
MethodParameters:
Name Flags
exceptionType
public org.apache.tomcat.util.descriptor.web.ErrorPage[] findAll();
descriptor: ()[Lorg/apache/tomcat/util/descriptor/web/ErrorPage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.apache.catalina.util.ErrorPageSupport.exceptionPages:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
aload 0
getfield org.apache.catalina.util.ErrorPageSupport.statusPages:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
3: aload 1
iconst_0
anewarray org.apache.tomcat.util.descriptor.web.ErrorPage
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.tomcat.util.descriptor.web.ErrorPage[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/util/ErrorPageSupport;
1 4 1 errorPages Ljava/util/Set<Lorg/apache/tomcat/util/descriptor/web/ErrorPage;>;
}
SourceFile: "ErrorPageSupport.java"