public final class org.apache.catalina.mapper.Mapper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.catalina.mapper.Mapper
super_class: java.lang.Object
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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
volatile org.apache.catalina.mapper.Mapper$MappedHost[] hosts;
descriptor: [Lorg/apache/catalina/mapper/Mapper$MappedHost;
flags: (0x0040) ACC_VOLATILE
private volatile java.lang.String defaultHostName;
descriptor: Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile org.apache.catalina.mapper.Mapper$MappedHost defaultHost;
descriptor: Lorg/apache/catalina/mapper/Mapper$MappedHost;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.util.Map<org.apache.catalina.Context, org.apache.catalina.mapper.Mapper$ContextVersion> contextObjectToContextVersionMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/apache/catalina/Context;Lorg/apache/catalina/mapper/Mapper$ContextVersion;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/mapper/Mapper;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
1: ldc Lorg/apache/catalina/mapper/Mapper;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.mapper.Mapper.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=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
anewarray org.apache.catalina.mapper.Mapper$MappedHost
putfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
2: aload 0
aconst_null
putfield org.apache.catalina.mapper.Mapper.defaultHostName:Ljava/lang/String;
3: aload 0
aconst_null
putfield org.apache.catalina.mapper.Mapper.defaultHost:Lorg/apache/catalina/mapper/Mapper$MappedHost;
4: aload 0
5: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.apache.catalina.mapper.Mapper.contextObjectToContextVersionMap:Ljava/util/Map;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/mapper/Mapper;
public synchronized void setDefaultHostName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
putfield org.apache.catalina.mapper.Mapper.defaultHostName:Ljava/lang/String;
1: aload 0
getfield org.apache.catalina.mapper.Mapper.defaultHostName:Ljava/lang/String;
ifnonnull 4
2: aload 0
aconst_null
putfield org.apache.catalina.mapper.Mapper.defaultHost:Lorg/apache/catalina/mapper/Mapper$MappedHost;
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 0
getfield org.apache.catalina.mapper.Mapper.defaultHostName:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
putfield org.apache.catalina.mapper.Mapper.defaultHost:Lorg/apache/catalina/mapper/Mapper$MappedHost;
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/mapper/Mapper;
0 6 1 defaultHostName Ljava/lang/String;
MethodParameters:
Name Flags
defaultHostName
public synchronized void addHost(java.lang.String, java.lang.String[], org.apache.catalina.Host);
descriptor: (Ljava/lang/String;[Ljava/lang/String;Lorg/apache/catalina/Host;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
arraylength
iconst_1
iadd
anewarray org.apache.catalina.mapper.Mapper$MappedHost
astore 4
start local 4 2: new org.apache.catalina.mapper.Mapper$MappedHost
dup
aload 1
aload 3
invokespecial org.apache.catalina.mapper.Mapper$MappedHost.<init>:(Ljava/lang/String;Lorg/apache/catalina/Host;)V
astore 5
start local 5 3: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 4
aload 5
invokestatic org.apache.catalina.mapper.Mapper.insertMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/catalina/mapper/Mapper$MapElement;)Z
ifeq 10
4: aload 0
aload 4
putfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
5: aload 5
getfield org.apache.catalina.mapper.Mapper$MappedHost.name:Ljava/lang/String;
aload 0
getfield org.apache.catalina.mapper.Mapper.defaultHostName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 0
aload 5
putfield org.apache.catalina.mapper.Mapper.defaultHost:Lorg/apache/catalina/mapper/Mapper$MappedHost;
7: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost[] org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 20
8: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.addHost.success"
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;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
9: goto 20
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 1
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)I
aaload
astore 6
start local 6 11: aload 6
getfield org.apache.catalina.mapper.Mapper$MappedHost.object:Ljava/lang/Object;
aload 3
if_acmpne 16
12: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 14
13: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.addHost.sameHost"
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;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
14: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
aload 6
astore 5
15: goto 20
16: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.duplicateHost"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
17: aload 6
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getRealHostName:()Ljava/lang/String;
aastore
18: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
19: return
end local 6 20: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 2
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 21: aload 2
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 28
StackMap locals: org.apache.catalina.mapper.Mapper java.lang.String java.lang.String[] org.apache.catalina.Host org.apache.catalina.mapper.Mapper$MappedHost[] org.apache.catalina.mapper.Mapper$MappedHost java.util.List top int int java.lang.String[]
StackMap stack:
22: aload 10
iload 8
aaload
astore 7
start local 7 23: aload 7
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 7
24: new org.apache.catalina.mapper.Mapper$MappedHost
dup
aload 7
aload 5
invokespecial org.apache.catalina.mapper.Mapper$MappedHost.<init>:(Ljava/lang/String;Lorg/apache/catalina/mapper/Mapper$MappedHost;)V
astore 11
start local 11 25: aload 0
aload 11
invokevirtual org.apache.catalina.mapper.Mapper.addHostAliasImpl:(Lorg/apache/catalina/mapper/Mapper$MappedHost;)Z
ifeq 27
26: aload 6
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 7 27: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
28: iload 8
iload 9
if_icmplt 22
29: aload 5
aload 6
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.addAliases:(Ljava/util/Collection;)V
30: 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 31 0 this Lorg/apache/catalina/mapper/Mapper;
0 31 1 name Ljava/lang/String;
0 31 2 aliases [Ljava/lang/String;
0 31 3 host Lorg/apache/catalina/Host;
2 31 4 newHosts [Lorg/apache/catalina/mapper/Mapper$MappedHost;
3 31 5 newHost Lorg/apache/catalina/mapper/Mapper$MappedHost;
11 20 6 duplicate Lorg/apache/catalina/mapper/Mapper$MappedHost;
21 31 6 newAliases Ljava/util/List<Lorg/apache/catalina/mapper/Mapper$MappedHost;>;
23 27 7 alias Ljava/lang/String;
25 27 11 newAlias Lorg/apache/catalina/mapper/Mapper$MappedHost;
MethodParameters:
Name Flags
name
aliases
host
public synchronized void removeHost(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 1
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.isAlias:()Z
ifeq 4
3: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost[].clone:()Ljava/lang/Object;
checkcast org.apache.catalina.mapper.Mapper$MappedHost[]
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 11
8: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost[] int int
StackMap stack:
aload 3
iload 5
aaload
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getRealHost:()Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 2
if_acmpeq 10
9: aload 3
iload 4
iinc 4 1
aload 3
iload 5
aaload
aastore
10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 3
arraylength
if_icmplt 8
end local 5 12: aload 0
aload 3
iload 4
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast org.apache.catalina.mapper.Mapper$MappedHost[]
putfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
13: return
end local 4 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/mapper/Mapper;
0 14 1 name Ljava/lang/String;
2 14 2 host Lorg/apache/catalina/mapper/Mapper$MappedHost;
5 14 3 newHosts [Lorg/apache/catalina/mapper/Mapper$MappedHost;
6 14 4 j I
7 12 5 i I
MethodParameters:
Name Flags
name
public synchronized void addHostAlias(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 1
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 3
start local 3 1: aload 3
ifnonnull 3
2: return
3: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
aload 2
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 2
4: new org.apache.catalina.mapper.Mapper$MappedHost
dup
aload 2
aload 3
invokespecial org.apache.catalina.mapper.Mapper$MappedHost.<init>:(Ljava/lang/String;Lorg/apache/catalina/mapper/Mapper$MappedHost;)V
astore 4
start local 4 5: aload 0
aload 4
invokevirtual org.apache.catalina.mapper.Mapper.addHostAliasImpl:(Lorg/apache/catalina/mapper/Mapper$MappedHost;)Z
ifeq 7
6: aload 3
aload 4
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.addAlias:(Lorg/apache/catalina/mapper/Mapper$MappedHost;)V
7: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/mapper/Mapper;
0 8 1 name Ljava/lang/String;
0 8 2 alias Ljava/lang/String;
1 8 3 realHost Lorg/apache/catalina/mapper/Mapper$MappedHost;
5 8 4 newAlias Lorg/apache/catalina/mapper/Mapper$MappedHost;
MethodParameters:
Name Flags
name
alias
private synchronized boolean addHostAliasImpl(org.apache.catalina.mapper.Mapper$MappedHost);
descriptor: (Lorg/apache/catalina/mapper/Mapper$MappedHost;)Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
arraylength
iconst_1
iadd
anewarray org.apache.catalina.mapper.Mapper$MappedHost
astore 2
start local 2 1: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 2
aload 1
invokestatic org.apache.catalina.mapper.Mapper.insertMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/catalina/mapper/Mapper$MapElement;)Z
ifeq 10
2: aload 0
aload 2
putfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
3: aload 1
getfield org.apache.catalina.mapper.Mapper$MappedHost.name:Ljava/lang/String;
aload 0
getfield org.apache.catalina.mapper.Mapper.defaultHostName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 0
aload 1
putfield org.apache.catalina.mapper.Mapper.defaultHost:Lorg/apache/catalina/mapper/Mapper$MappedHost;
5: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost[]
StackMap stack:
getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 9
6: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.addHostAlias.success"
iconst_2
anewarray java.lang.Object
dup
iconst_0
7: aload 1
getfield org.apache.catalina.mapper.Mapper$MappedHost.name:Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getRealHostName:()Ljava/lang/String;
aastore
8: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 1
getfield org.apache.catalina.mapper.Mapper$MappedHost.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)I
aaload
astore 3
start local 3 11: aload 3
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getRealHost:()Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 1
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getRealHost:()Lorg/apache/catalina/mapper/Mapper$MappedHost;
if_acmpne 17
12: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 16
13: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.addHostAlias.sameHost"
iconst_2
anewarray java.lang.Object
dup
iconst_0
14: aload 1
getfield org.apache.catalina.mapper.Mapper$MappedHost.name:Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getRealHostName:()Ljava/lang/String;
aastore
15: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
16: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
iconst_0
ireturn
17: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.duplicateHostAlias"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.catalina.mapper.Mapper$MappedHost.name:Ljava/lang/String;
aastore
dup
iconst_1
18: aload 1
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getRealHostName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 3
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getRealHostName:()Ljava/lang/String;
aastore
19: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
20: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/mapper/Mapper;
0 21 1 newAlias Lorg/apache/catalina/mapper/Mapper$MappedHost;
1 21 2 newHosts [Lorg/apache/catalina/mapper/Mapper$MappedHost;
11 21 3 duplicate Lorg/apache/catalina/mapper/Mapper$MappedHost;
MethodParameters:
Name Flags
newAlias
public synchronized void removeHostAlias(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 1
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 2
start local 2 2: aload 2
ifnull 3
aload 2
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.isAlias:()Z
ifne 4
3: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
arraylength
iconst_1
isub
anewarray org.apache.catalina.mapper.Mapper$MappedHost
astore 3
start local 3 5: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 3
aload 1
invokestatic org.apache.catalina.mapper.Mapper.removeMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Z
ifeq 8
6: aload 0
aload 3
putfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
7: aload 2
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getRealHost:()Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 2
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.removeAlias:(Lorg/apache/catalina/mapper/Mapper$MappedHost;)V
8: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost[]
StackMap stack:
return
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/mapper/Mapper;
0 9 1 alias Ljava/lang/String;
2 9 2 hostMapping Lorg/apache/catalina/mapper/Mapper$MappedHost;
5 9 3 newHosts [Lorg/apache/catalina/mapper/Mapper$MappedHost;
MethodParameters:
Name Flags
alias
private void updateContextList(org.apache.catalina.mapper.Mapper$MappedHost, org.apache.catalina.mapper.Mapper$ContextList);
descriptor: (Lorg/apache/catalina/mapper/Mapper$MappedHost;Lorg/apache/catalina/mapper/Mapper$ContextList;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
putfield org.apache.catalina.mapper.Mapper$MappedHost.contextList:Lorg/apache/catalina/mapper/Mapper$ContextList;
1: aload 1
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.getAliases:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.apache.catalina.mapper.Mapper org.apache.catalina.mapper.Mapper$MappedHost org.apache.catalina.mapper.Mapper$ContextList top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 3
start local 3 3: aload 3
aload 2
putfield org.apache.catalina.mapper.Mapper$MappedHost.contextList:Lorg/apache/catalina/mapper/Mapper$ContextList;
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/mapper/Mapper;
0 6 1 realHost Lorg/apache/catalina/mapper/Mapper$MappedHost;
0 6 2 newContextList Lorg/apache/catalina/mapper/Mapper$ContextList;
3 4 3 alias Lorg/apache/catalina/mapper/Mapper$MappedHost;
MethodParameters:
Name Flags
realHost
newContextList
public void addContextVersion(java.lang.String, org.apache.catalina.Host, java.lang.String, java.lang.String, org.apache.catalina.Context, java.lang.String[], org.apache.catalina.WebResourceRoot, java.util.Collection<org.apache.catalina.mapper.WrapperMappingInfo>);
descriptor: (Ljava/lang/String;Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;Lorg/apache/catalina/Context;[Ljava/lang/String;Lorg/apache/catalina/WebResourceRoot;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=18, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 1
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 9
start local 9 2: aload 9
ifnonnull 8
3: aload 0
aload 1
iconst_0
anewarray java.lang.String
aload 2
invokevirtual org.apache.catalina.mapper.Mapper.addHost:(Ljava/lang/String;[Ljava/lang/String;Lorg/apache/catalina/Host;)V
4: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 1
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 9
5: aload 9
ifnonnull 8
6: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.addContext.noHost"
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;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
7: return
8: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
aload 9
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.isAlias:()Z
ifeq 11
9: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.addContext.hostIsAlias"
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;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
10: return
11: StackMap locals:
StackMap stack:
aload 3
invokestatic org.apache.catalina.mapper.Mapper.slashCount:(Ljava/lang/String;)I
istore 10
start local 10 12: aload 9
dup
astore 11
monitorenter
13: new org.apache.catalina.mapper.Mapper$ContextVersion
dup
aload 4
14: aload 3
iload 10
aload 5
aload 7
aload 6
15: invokespecial org.apache.catalina.mapper.Mapper$ContextVersion.<init>:(Ljava/lang/String;Ljava/lang/String;ILorg/apache/catalina/Context;Lorg/apache/catalina/WebResourceRoot;[Ljava/lang/String;)V
astore 12
start local 12 16: aload 8
ifnull 18
17: aload 0
aload 12
aload 8
invokevirtual org.apache.catalina.mapper.Mapper.addWrappers:(Lorg/apache/catalina/mapper/Mapper$ContextVersion;Ljava/util/Collection;)V
18: StackMap locals: int org.apache.catalina.mapper.Mapper$MappedHost org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
aload 9
getfield org.apache.catalina.mapper.Mapper$MappedHost.contextList:Lorg/apache/catalina/mapper/Mapper$ContextList;
astore 13
start local 13 19: aload 13
getfield org.apache.catalina.mapper.Mapper$ContextList.contexts:[Lorg/apache/catalina/mapper/Mapper$MappedContext;
aload 3
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedContext
astore 14
start local 14 20: aload 14
ifnonnull 29
21: new org.apache.catalina.mapper.Mapper$MappedContext
dup
aload 3
aload 12
invokespecial org.apache.catalina.mapper.Mapper$MappedContext.<init>:(Ljava/lang/String;Lorg/apache/catalina/mapper/Mapper$ContextVersion;)V
astore 14
22: aload 13
23: aload 14
iload 10
24: invokevirtual org.apache.catalina.mapper.Mapper$ContextList.addContext:(Lorg/apache/catalina/mapper/Mapper$MappedContext;I)Lorg/apache/catalina/mapper/Mapper$ContextList;
astore 15
start local 15 25: aload 15
ifnull 42
26: aload 0
aload 9
aload 15
invokevirtual org.apache.catalina.mapper.Mapper.updateContextList:(Lorg/apache/catalina/mapper/Mapper$MappedHost;Lorg/apache/catalina/mapper/Mapper$ContextList;)V
27: aload 0
getfield org.apache.catalina.mapper.Mapper.contextObjectToContextVersionMap:Ljava/util/Map;
aload 5
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 15 28: goto 42
29: StackMap locals: org.apache.catalina.mapper.Mapper$ContextList org.apache.catalina.mapper.Mapper$MappedContext
StackMap stack:
aload 14
getfield org.apache.catalina.mapper.Mapper$MappedContext.versions:[Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 15
start local 15 30: aload 15
arraylength
iconst_1
iadd
anewarray org.apache.catalina.mapper.Mapper$ContextVersion
astore 16
start local 16 31: aload 15
aload 16
32: aload 12
33: invokestatic org.apache.catalina.mapper.Mapper.insertMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/catalina/mapper/Mapper$MapElement;)Z
34: ifeq 38
35: aload 14
aload 16
putfield org.apache.catalina.mapper.Mapper$MappedContext.versions:[Lorg/apache/catalina/mapper/Mapper$ContextVersion;
36: aload 0
getfield org.apache.catalina.mapper.Mapper.contextObjectToContextVersionMap:Ljava/util/Map;
aload 5
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
37: goto 42
38: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion[] org.apache.catalina.mapper.Mapper$ContextVersion[]
StackMap stack:
aload 15
aload 4
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)I
istore 17
start local 17 39: iload 17
iflt 42
aload 15
iload 17
aaload
getfield org.apache.catalina.mapper.Mapper$ContextVersion.name:Ljava/lang/String;
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
40: aload 15
iload 17
aload 12
aastore
41: aload 0
getfield org.apache.catalina.mapper.Mapper.contextObjectToContextVersionMap:Ljava/util/Map;
aload 5
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 42: StackMap locals: org.apache.catalina.mapper.Mapper java.lang.String org.apache.catalina.Host java.lang.String java.lang.String org.apache.catalina.Context java.lang.String[] org.apache.catalina.WebResourceRoot java.util.Collection org.apache.catalina.mapper.Mapper$MappedHost int org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
aload 11
monitorexit
43: goto 46
StackMap locals:
StackMap stack: java.lang.Throwable
44: aload 11
monitorexit
45: athrow
46: StackMap locals:
StackMap stack:
return
end local 10 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 47 0 this Lorg/apache/catalina/mapper/Mapper;
0 47 1 hostName Ljava/lang/String;
0 47 2 host Lorg/apache/catalina/Host;
0 47 3 path Ljava/lang/String;
0 47 4 version Ljava/lang/String;
0 47 5 context Lorg/apache/catalina/Context;
0 47 6 welcomeResources [Ljava/lang/String;
0 47 7 resources Lorg/apache/catalina/WebResourceRoot;
0 47 8 wrappers Ljava/util/Collection<Lorg/apache/catalina/mapper/WrapperMappingInfo;>;
2 47 9 mappedHost Lorg/apache/catalina/mapper/Mapper$MappedHost;
12 47 10 slashCount I
16 42 12 newContextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
19 42 13 contextList Lorg/apache/catalina/mapper/Mapper$ContextList;
20 42 14 mappedContext Lorg/apache/catalina/mapper/Mapper$MappedContext;
25 28 15 newContextList Lorg/apache/catalina/mapper/Mapper$ContextList;
30 42 15 contextVersions [Lorg/apache/catalina/mapper/Mapper$ContextVersion;
31 42 16 newContextVersions [Lorg/apache/catalina/mapper/Mapper$ContextVersion;
39 42 17 pos I
Exception table:
from to target type
13 43 44 any
44 45 44 any
Signature: (Ljava/lang/String;Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;Lorg/apache/catalina/Context;[Ljava/lang/String;Lorg/apache/catalina/WebResourceRoot;Ljava/util/Collection<Lorg/apache/catalina/mapper/WrapperMappingInfo;>;)V
MethodParameters:
Name Flags
hostName
host
path
version
context
welcomeResources
resources
wrappers
public void removeContextVersion(org.apache.catalina.Context, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/catalina/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 2
1: aload 0
getfield org.apache.catalina.mapper.Mapper.contextObjectToContextVersionMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 2
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 5
start local 5 3: aload 5
ifnull 4
aload 5
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.isAlias:()Z
ifeq 5
4: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 5
dup
astore 6
monitorenter
6: aload 5
getfield org.apache.catalina.mapper.Mapper$MappedHost.contextList:Lorg/apache/catalina/mapper/Mapper$ContextList;
astore 7
start local 7 7: aload 7
getfield org.apache.catalina.mapper.Mapper$ContextList.contexts:[Lorg/apache/catalina/mapper/Mapper$MappedContext;
aload 3
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedContext
astore 8
start local 8 8: aload 8
ifnonnull 11
9: aload 6
monitorexit
10: return
11: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost org.apache.catalina.mapper.Mapper$ContextList org.apache.catalina.mapper.Mapper$MappedContext
StackMap stack:
aload 8
getfield org.apache.catalina.mapper.Mapper$MappedContext.versions:[Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 9
start local 9 12: aload 9
arraylength
iconst_1
isub
anewarray org.apache.catalina.mapper.Mapper$ContextVersion
13: astore 10
start local 10 14: aload 9
aload 10
aload 4
invokestatic org.apache.catalina.mapper.Mapper.removeMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Z
ifeq 21
15: aload 10
arraylength
ifne 20
16: aload 7
aload 3
invokevirtual org.apache.catalina.mapper.Mapper$ContextList.removeContext:(Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$ContextList;
astore 11
start local 11 17: aload 11
ifnull 21
18: aload 0
aload 5
aload 11
invokevirtual org.apache.catalina.mapper.Mapper.updateContextList:(Lorg/apache/catalina/mapper/Mapper$MappedHost;Lorg/apache/catalina/mapper/Mapper$ContextList;)V
end local 11 19: goto 21
20: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion[] org.apache.catalina.mapper.Mapper$ContextVersion[]
StackMap stack:
aload 8
aload 10
putfield org.apache.catalina.mapper.Mapper$MappedContext.versions:[Lorg/apache/catalina/mapper/Mapper$ContextVersion;
end local 10 end local 9 end local 8 end local 7 21: StackMap locals: org.apache.catalina.mapper.Mapper org.apache.catalina.Context java.lang.String java.lang.String java.lang.String org.apache.catalina.mapper.Mapper$MappedHost org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
aload 6
monitorexit
22: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
23: aload 6
monitorexit
24: athrow
25: StackMap locals:
StackMap stack:
return
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 26 0 this Lorg/apache/catalina/mapper/Mapper;
0 26 1 ctxt Lorg/apache/catalina/Context;
0 26 2 hostName Ljava/lang/String;
0 26 3 path Ljava/lang/String;
0 26 4 version Ljava/lang/String;
3 26 5 host Lorg/apache/catalina/mapper/Mapper$MappedHost;
7 21 7 contextList Lorg/apache/catalina/mapper/Mapper$ContextList;
8 21 8 context Lorg/apache/catalina/mapper/Mapper$MappedContext;
12 21 9 contextVersions [Lorg/apache/catalina/mapper/Mapper$ContextVersion;
14 21 10 newContextVersions [Lorg/apache/catalina/mapper/Mapper$ContextVersion;
17 19 11 newContextList Lorg/apache/catalina/mapper/Mapper$ContextList;
Exception table:
from to target type
6 10 23 any
11 22 23 any
23 24 23 any
MethodParameters:
Name Flags
ctxt
hostName
path
version
public void pauseContextVersion(org.apache.catalina.Context, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/catalina/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 2
1: aload 0
aload 2
2: aload 3
aload 4
iconst_1
3: invokevirtual org.apache.catalina.mapper.Mapper.findContextVersion:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 5
start local 5 4: aload 5
ifnull 5
aload 1
aload 5
getfield org.apache.catalina.mapper.Mapper$ContextVersion.object:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 6
5: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 5
invokevirtual org.apache.catalina.mapper.Mapper$ContextVersion.markPaused:()V
7: return
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 8 0 this Lorg/apache/catalina/mapper/Mapper;
0 8 1 ctxt Lorg/apache/catalina/Context;
0 8 2 hostName Ljava/lang/String;
0 8 3 contextPath Ljava/lang/String;
0 8 4 version Ljava/lang/String;
4 8 5 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
MethodParameters:
Name Flags
ctxt
hostName
contextPath
version
private org.apache.catalina.mapper.Mapper$ContextVersion findContextVersion(java.lang.String, java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/catalina/mapper/Mapper$ContextVersion;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
aload 1
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 5
start local 5 1: aload 5
ifnull 2
aload 5
invokevirtual org.apache.catalina.mapper.Mapper$MappedHost.isAlias:()Z
ifeq 5
2: StackMap locals: org.apache.catalina.mapper.Mapper$MappedHost
StackMap stack:
iload 4
ifne 4
3: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.findContext.noHostOrAlias"
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;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 5
getfield org.apache.catalina.mapper.Mapper$MappedHost.contextList:Lorg/apache/catalina/mapper/Mapper$ContextList;
getfield org.apache.catalina.mapper.Mapper$ContextList.contexts:[Lorg/apache/catalina/mapper/Mapper$MappedContext;
6: aload 2
7: invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedContext
astore 6
start local 6 8: aload 6
ifnonnull 12
9: iload 4
ifne 11
10: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.findContext.noContext"
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;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
11: StackMap locals: org.apache.catalina.mapper.Mapper$MappedContext
StackMap stack:
aconst_null
areturn
12: StackMap locals:
StackMap stack:
aload 6
getfield org.apache.catalina.mapper.Mapper$MappedContext.versions:[Lorg/apache/catalina/mapper/Mapper$ContextVersion;
aload 3
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$ContextVersion
astore 7
start local 7 13: aload 7
ifnonnull 17
14: iload 4
ifne 16
15: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.findContext.noContextVersion"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
16: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
aconst_null
areturn
17: StackMap locals:
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 18 0 this Lorg/apache/catalina/mapper/Mapper;
0 18 1 hostName Ljava/lang/String;
0 18 2 contextPath Ljava/lang/String;
0 18 3 version Ljava/lang/String;
0 18 4 silent Z
1 18 5 host Lorg/apache/catalina/mapper/Mapper$MappedHost;
8 18 6 context Lorg/apache/catalina/mapper/Mapper$MappedContext;
13 18 7 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
MethodParameters:
Name Flags
hostName
contextPath
version
silent
public void addWrapper(java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.apache.catalina.Wrapper, boolean, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/catalina/Wrapper;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
aload 1
2: aload 2
aload 3
iconst_0
3: invokevirtual org.apache.catalina.mapper.Mapper.findContextVersion:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 8
start local 8 4: aload 8
ifnonnull 6
5: return
6: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
aload 0
aload 8
aload 4
aload 5
iload 6
iload 7
invokevirtual org.apache.catalina.mapper.Mapper.addWrapper:(Lorg/apache/catalina/mapper/Mapper$ContextVersion;Ljava/lang/String;Lorg/apache/catalina/Wrapper;ZZ)V
7: return
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 8 0 this Lorg/apache/catalina/mapper/Mapper;
0 8 1 hostName Ljava/lang/String;
0 8 2 contextPath Ljava/lang/String;
0 8 3 version Ljava/lang/String;
0 8 4 path Ljava/lang/String;
0 8 5 wrapper Lorg/apache/catalina/Wrapper;
0 8 6 jspWildCard Z
0 8 7 resourceOnly Z
4 8 8 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
MethodParameters:
Name Flags
hostName
contextPath
version
path
wrapper
jspWildCard
resourceOnly
public void addWrappers(java.lang.String, java.lang.String, java.lang.String, java.util.Collection<org.apache.catalina.mapper.WrapperMappingInfo>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
aload 1
2: aload 2
aload 3
iconst_0
3: invokevirtual org.apache.catalina.mapper.Mapper.findContextVersion:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 5
start local 5 4: aload 5
ifnonnull 6
5: return
6: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
aload 0
aload 5
aload 4
invokevirtual org.apache.catalina.mapper.Mapper.addWrappers:(Lorg/apache/catalina/mapper/Mapper$ContextVersion;Ljava/util/Collection;)V
7: return
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 8 0 this Lorg/apache/catalina/mapper/Mapper;
0 8 1 hostName Ljava/lang/String;
0 8 2 contextPath Ljava/lang/String;
0 8 3 version Ljava/lang/String;
0 8 4 wrappers Ljava/util/Collection<Lorg/apache/catalina/mapper/WrapperMappingInfo;>;
4 8 5 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection<Lorg/apache/catalina/mapper/WrapperMappingInfo;>;)V
MethodParameters:
Name Flags
hostName
contextPath
version
wrappers
private void addWrappers(org.apache.catalina.mapper.Mapper$ContextVersion, java.util.Collection<org.apache.catalina.mapper.WrapperMappingInfo>);
descriptor: (Lorg/apache/catalina/mapper/Mapper$ContextVersion;Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.apache.catalina.mapper.Mapper org.apache.catalina.mapper.Mapper$ContextVersion java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.mapper.WrapperMappingInfo
astore 3
start local 3 2: aload 0
aload 1
aload 3
invokevirtual org.apache.catalina.mapper.WrapperMappingInfo.getMapping:()Ljava/lang/String;
3: aload 3
invokevirtual org.apache.catalina.mapper.WrapperMappingInfo.getWrapper:()Lorg/apache/catalina/Wrapper;
aload 3
invokevirtual org.apache.catalina.mapper.WrapperMappingInfo.isJspWildCard:()Z
4: aload 3
invokevirtual org.apache.catalina.mapper.WrapperMappingInfo.isResourceOnly:()Z
5: invokevirtual org.apache.catalina.mapper.Mapper.addWrapper:(Lorg/apache/catalina/mapper/Mapper$ContextVersion;Ljava/lang/String;Lorg/apache/catalina/Wrapper;ZZ)V
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/mapper/Mapper;
0 8 1 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
0 8 2 wrappers Ljava/util/Collection<Lorg/apache/catalina/mapper/WrapperMappingInfo;>;
2 6 3 wrapper Lorg/apache/catalina/mapper/WrapperMappingInfo;
Signature: (Lorg/apache/catalina/mapper/Mapper$ContextVersion;Ljava/util/Collection<Lorg/apache/catalina/mapper/WrapperMappingInfo;>;)V
MethodParameters:
Name Flags
contextVersion
wrappers
protected void addWrapper(org.apache.catalina.mapper.Mapper$ContextVersion, java.lang.String, org.apache.catalina.Wrapper, boolean, boolean);
descriptor: (Lorg/apache/catalina/mapper/Mapper$ContextVersion;Ljava/lang/String;Lorg/apache/catalina/Wrapper;ZZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
dup
astore 6
monitorenter
1: aload 2
ldc "/*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 14
2: aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 3: new org.apache.catalina.mapper.Mapper$MappedWrapper
dup
aload 7
aload 3
4: iload 4
iload 5
5: invokespecial org.apache.catalina.mapper.Mapper$MappedWrapper.<init>:(Ljava/lang/String;Lorg/apache/catalina/Wrapper;ZZ)V
astore 8
start local 8 6: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.wildcardWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
astore 9
start local 9 7: aload 9
arraylength
iconst_1
iadd
anewarray org.apache.catalina.mapper.Mapper$MappedWrapper
astore 10
start local 10 8: aload 9
aload 10
aload 8
invokestatic org.apache.catalina.mapper.Mapper.insertMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/catalina/mapper/Mapper$MapElement;)Z
ifeq 42
9: aload 1
aload 10
putfield org.apache.catalina.mapper.Mapper$ContextVersion.wildcardWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
10: aload 8
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.slashCount:(Ljava/lang/String;)I
istore 11
start local 11 11: iload 11
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.nesting:I
if_icmple 42
12: aload 1
iload 11
putfield org.apache.catalina.mapper.Mapper$ContextVersion.nesting:I
end local 11 end local 10 end local 9 end local 8 end local 7 13: goto 42
StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
14: aload 2
ldc "*."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 25
15: aload 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
start local 7 16: new org.apache.catalina.mapper.Mapper$MappedWrapper
dup
aload 7
aload 3
17: iload 4
iload 5
18: invokespecial org.apache.catalina.mapper.Mapper$MappedWrapper.<init>:(Ljava/lang/String;Lorg/apache/catalina/Wrapper;ZZ)V
astore 8
start local 8 19: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.extensionWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
astore 9
start local 9 20: aload 9
arraylength
iconst_1
iadd
anewarray org.apache.catalina.mapper.Mapper$MappedWrapper
21: astore 10
start local 10 22: aload 9
aload 10
aload 8
invokestatic org.apache.catalina.mapper.Mapper.insertMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/catalina/mapper/Mapper$MapElement;)Z
ifeq 42
23: aload 1
aload 10
putfield org.apache.catalina.mapper.Mapper$ContextVersion.extensionWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
end local 10 end local 9 end local 8 end local 7 24: goto 42
StackMap locals:
StackMap stack:
25: aload 2
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
26: new org.apache.catalina.mapper.Mapper$MappedWrapper
dup
ldc ""
aload 3
27: iload 4
iload 5
28: invokespecial org.apache.catalina.mapper.Mapper$MappedWrapper.<init>:(Ljava/lang/String;Lorg/apache/catalina/Wrapper;ZZ)V
astore 7
start local 7 29: aload 1
aload 7
putfield org.apache.catalina.mapper.Mapper$ContextVersion.defaultWrapper:Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
end local 7 30: goto 42
31: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifne 34
32: ldc "/"
astore 7
start local 7 33: goto 35
end local 7 34: StackMap locals:
StackMap stack:
aload 2
astore 7
start local 7 35: StackMap locals: java.lang.String
StackMap stack:
new org.apache.catalina.mapper.Mapper$MappedWrapper
dup
aload 7
aload 3
36: iload 4
iload 5
37: invokespecial org.apache.catalina.mapper.Mapper$MappedWrapper.<init>:(Ljava/lang/String;Lorg/apache/catalina/Wrapper;ZZ)V
astore 8
start local 8 38: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.exactWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
astore 9
start local 9 39: aload 9
arraylength
iconst_1
iadd
anewarray org.apache.catalina.mapper.Mapper$MappedWrapper
astore 10
start local 10 40: aload 9
aload 10
aload 8
invokestatic org.apache.catalina.mapper.Mapper.insertMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/catalina/mapper/Mapper$MapElement;)Z
ifeq 42
41: aload 1
aload 10
putfield org.apache.catalina.mapper.Mapper$ContextVersion.exactWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
end local 10 end local 9 end local 8 end local 7 42: StackMap locals:
StackMap stack:
aload 6
monitorexit
43: goto 46
StackMap locals:
StackMap stack: java.lang.Throwable
44: aload 6
monitorexit
45: athrow
46: StackMap locals:
StackMap stack:
return
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 47 0 this Lorg/apache/catalina/mapper/Mapper;
0 47 1 context Lorg/apache/catalina/mapper/Mapper$ContextVersion;
0 47 2 path Ljava/lang/String;
0 47 3 wrapper Lorg/apache/catalina/Wrapper;
0 47 4 jspWildCard Z
0 47 5 resourceOnly Z
3 13 7 name Ljava/lang/String;
6 13 8 newWrapper Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
7 13 9 oldWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
8 13 10 newWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
11 13 11 slashCount I
16 24 7 name Ljava/lang/String;
19 24 8 newWrapper Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
20 24 9 oldWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
22 24 10 newWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
29 30 7 newWrapper Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
33 34 7 name Ljava/lang/String;
35 42 7 name Ljava/lang/String;
38 42 8 newWrapper Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
39 42 9 oldWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
40 42 10 newWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
Exception table:
from to target type
1 43 44 any
44 45 44 any
MethodParameters:
Name Flags
context
path
wrapper
jspWildCard
resourceOnly
public void removeWrapper(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
aload 1
2: aload 2
aload 3
iconst_1
3: invokevirtual org.apache.catalina.mapper.Mapper.findContextVersion:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 5
start local 5 4: aload 5
ifnull 5
aload 5
invokevirtual org.apache.catalina.mapper.Mapper$ContextVersion.isPaused:()Z
ifeq 6
5: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 4
invokevirtual org.apache.catalina.mapper.Mapper.removeWrapper:(Lorg/apache/catalina/mapper/Mapper$ContextVersion;Ljava/lang/String;)V
7: return
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 8 0 this Lorg/apache/catalina/mapper/Mapper;
0 8 1 hostName Ljava/lang/String;
0 8 2 contextPath Ljava/lang/String;
0 8 3 version Ljava/lang/String;
0 8 4 path Ljava/lang/String;
4 8 5 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
MethodParameters:
Name Flags
hostName
contextPath
version
path
protected void removeWrapper(org.apache.catalina.mapper.Mapper$ContextVersion, java.lang.String);
descriptor: (Lorg/apache/catalina/mapper/Mapper$ContextVersion;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=12, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.mapper.Mapper.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.mapper.Mapper.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "mapper.removeWrapper"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.name:Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 1
dup
astore 3
monitorenter
3: aload 2
ldc "/*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 22
4: aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 5: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.wildcardWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
astore 5
start local 5 6: aload 5
arraylength
ifne 9
7: aload 3
monitorexit
8: return
9: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion java.lang.String org.apache.catalina.mapper.Mapper$MappedWrapper[]
StackMap stack:
aload 5
arraylength
iconst_1
isub
anewarray org.apache.catalina.mapper.Mapper$MappedWrapper
10: astore 6
start local 6 11: aload 5
aload 6
aload 4
invokestatic org.apache.catalina.mapper.Mapper.removeMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Z
ifeq 48
12: aload 1
iconst_0
putfield org.apache.catalina.mapper.Mapper$ContextVersion.nesting:I
13: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 19
StackMap locals: org.apache.catalina.mapper.Mapper org.apache.catalina.mapper.Mapper$ContextVersion java.lang.String org.apache.catalina.mapper.Mapper$ContextVersion java.lang.String org.apache.catalina.mapper.Mapper$MappedWrapper[] org.apache.catalina.mapper.Mapper$MappedWrapper[] top int int org.apache.catalina.mapper.Mapper$MappedWrapper[]
StackMap stack:
14: aload 10
iload 8
aaload
astore 7
start local 7 15: aload 7
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.slashCount:(Ljava/lang/String;)I
istore 11
start local 11 16: iload 11
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.nesting:I
if_icmple 18
17: aload 1
iload 11
putfield org.apache.catalina.mapper.Mapper$ContextVersion.nesting:I
end local 11 end local 7 18: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
19: iload 8
iload 9
if_icmplt 14
20: aload 1
aload 6
putfield org.apache.catalina.mapper.Mapper$ContextVersion.wildcardWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
end local 6 end local 5 end local 4 21: goto 48
StackMap locals: org.apache.catalina.mapper.Mapper org.apache.catalina.mapper.Mapper$ContextVersion java.lang.String org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
22: aload 2
ldc "*."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 33
23: aload 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 24: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.extensionWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
astore 5
start local 5 25: aload 5
arraylength
ifne 28
26: aload 3
monitorexit
27: return
28: StackMap locals: java.lang.String org.apache.catalina.mapper.Mapper$MappedWrapper[]
StackMap stack:
aload 5
arraylength
iconst_1
isub
anewarray org.apache.catalina.mapper.Mapper$MappedWrapper
29: astore 6
start local 6 30: aload 5
aload 6
aload 4
invokestatic org.apache.catalina.mapper.Mapper.removeMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Z
ifeq 48
31: aload 1
aload 6
putfield org.apache.catalina.mapper.Mapper$ContextVersion.extensionWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
end local 6 end local 5 end local 4 32: goto 48
StackMap locals:
StackMap stack:
33: aload 2
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
34: aload 1
aconst_null
putfield org.apache.catalina.mapper.Mapper$ContextVersion.defaultWrapper:Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
35: goto 48
36: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifne 39
37: ldc "/"
astore 4
start local 4 38: goto 40
end local 4 39: StackMap locals:
StackMap stack:
aload 2
astore 4
start local 4 40: StackMap locals: java.lang.String
StackMap stack:
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.exactWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
astore 5
start local 5 41: aload 5
arraylength
ifne 44
42: aload 3
monitorexit
43: return
44: StackMap locals: org.apache.catalina.mapper.Mapper$MappedWrapper[]
StackMap stack:
aload 5
arraylength
iconst_1
isub
anewarray org.apache.catalina.mapper.Mapper$MappedWrapper
45: astore 6
start local 6 46: aload 5
aload 6
aload 4
invokestatic org.apache.catalina.mapper.Mapper.removeMap:([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Z
ifeq 48
47: aload 1
aload 6
putfield org.apache.catalina.mapper.Mapper$ContextVersion.exactWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
end local 6 end local 5 end local 4 48: StackMap locals:
StackMap stack:
aload 3
monitorexit
49: goto 52
StackMap locals:
StackMap stack: java.lang.Throwable
50: aload 3
monitorexit
51: athrow
52: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lorg/apache/catalina/mapper/Mapper;
0 53 1 context Lorg/apache/catalina/mapper/Mapper$ContextVersion;
0 53 2 path Ljava/lang/String;
5 21 4 name Ljava/lang/String;
6 21 5 oldWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
11 21 6 newWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
15 18 7 newWrapper Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
16 18 11 slashCount I
24 32 4 name Ljava/lang/String;
25 32 5 oldWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
30 32 6 newWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
38 39 4 name Ljava/lang/String;
40 48 4 name Ljava/lang/String;
41 48 5 oldWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
46 48 6 newWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
Exception table:
from to target type
3 8 50 any
9 27 50 any
28 43 50 any
44 49 50 any
50 51 50 any
MethodParameters:
Name Flags
context
path
public void addWelcomeFile(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
aload 1
aload 2
aload 3
iconst_0
invokevirtual org.apache.catalina.mapper.Mapper.findContextVersion:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 5
start local 5 2: aload 5
ifnonnull 4
3: return
4: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
aload 5
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
arraylength
iconst_1
iadd
istore 6
start local 6 5: iload 6
anewarray java.lang.String
astore 7
start local 7 6: aload 5
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
iconst_0
aload 7
iconst_0
iload 6
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 7
iload 6
iconst_1
isub
aload 4
aastore
8: aload 5
aload 7
putfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
9: return
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 10 0 this Lorg/apache/catalina/mapper/Mapper;
0 10 1 hostName Ljava/lang/String;
0 10 2 contextPath Ljava/lang/String;
0 10 3 version Ljava/lang/String;
0 10 4 welcomeFile Ljava/lang/String;
2 10 5 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
5 10 6 len I
6 10 7 newWelcomeResources [Ljava/lang/String;
MethodParameters:
Name Flags
hostName
contextPath
version
welcomeFile
public void removeWelcomeFile(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
aload 1
aload 2
aload 3
iconst_0
invokevirtual org.apache.catalina.mapper.Mapper.findContextVersion:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 5
start local 5 2: aload 5
ifnull 3
aload 5
invokevirtual org.apache.catalina.mapper.Mapper$ContextVersion.isPaused:()Z
ifeq 4
3: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
return
4: StackMap locals:
StackMap stack:
iconst_m1
istore 6
start local 6 5: iconst_0
istore 7
start local 7 6: goto 11
7: StackMap locals: int int
StackMap stack:
aload 4
aload 5
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
iload 7
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: iload 7
istore 6
9: goto 12
10: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
aload 5
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
arraylength
if_icmplt 7
end local 7 12: StackMap locals:
StackMap stack:
iload 6
iconst_m1
if_icmple 21
13: aload 5
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
arraylength
iconst_1
isub
istore 7
start local 7 14: iload 7
anewarray java.lang.String
astore 8
start local 8 15: aload 5
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
iconst_0
aload 8
iconst_0
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: iload 6
iload 7
if_icmpge 20
17: aload 5
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
iload 6
iconst_1
iadd
18: aload 8
iload 6
iload 7
iload 6
isub
19: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
20: StackMap locals: int java.lang.String[]
StackMap stack:
aload 5
aload 8
putfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
end local 8 end local 7 21: StackMap locals:
StackMap stack:
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 22 0 this Lorg/apache/catalina/mapper/Mapper;
0 22 1 hostName Ljava/lang/String;
0 22 2 contextPath Ljava/lang/String;
0 22 3 version Ljava/lang/String;
0 22 4 welcomeFile Ljava/lang/String;
2 22 5 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
5 22 6 match I
6 12 7 i I
14 21 7 len I
15 21 8 newWelcomeResources [Ljava/lang/String;
MethodParameters:
Name Flags
hostName
contextPath
version
welcomeFile
public void clearWelcomeFiles(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.apache.catalina.mapper.Mapper.renameWildcardHost:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
aload 1
aload 2
aload 3
iconst_0
invokevirtual org.apache.catalina.mapper.Mapper.findContextVersion:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: return
4: StackMap locals: org.apache.catalina.mapper.Mapper$ContextVersion
StackMap stack:
aload 4
iconst_0
anewarray java.lang.String
putfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/mapper/Mapper;
0 6 1 hostName Ljava/lang/String;
0 6 2 contextPath Ljava/lang/String;
0 6 3 version Ljava/lang/String;
2 6 4 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
MethodParameters:
Name Flags
hostName
contextPath
version
public void map(org.apache.tomcat.util.buf.MessageBytes, org.apache.tomcat.util.buf.MessageBytes, java.lang.String, org.apache.catalina.mapper.MappingData);
descriptor: (Lorg/apache/tomcat/util/buf/MessageBytes;Lorg/apache/tomcat/util/buf/MessageBytes;Ljava/lang/String;Lorg/apache/catalina/mapper/MappingData;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.isNull:()Z
ifeq 5
1: aload 0
getfield org.apache.catalina.mapper.Mapper.defaultHostName:Ljava/lang/String;
astore 5
start local 5 2: aload 5
ifnonnull 4
3: return
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.getCharChunk:()Lorg/apache/tomcat/util/buf/CharChunk;
aload 5
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;)V
end local 5 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toChars:()V
6: aload 2
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toChars:()V
7: aload 0
aload 1
invokevirtual org.apache.tomcat.util.buf.MessageBytes.getCharChunk:()Lorg/apache/tomcat/util/buf/CharChunk;
aload 2
invokevirtual org.apache.tomcat.util.buf.MessageBytes.getCharChunk:()Lorg/apache/tomcat/util/buf/CharChunk;
aload 3
aload 4
invokevirtual org.apache.catalina.mapper.Mapper.internalMap:(Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/tomcat/util/buf/CharChunk;Ljava/lang/String;Lorg/apache/catalina/mapper/MappingData;)V
8: return
end local 4 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/mapper/Mapper;
0 9 1 host Lorg/apache/tomcat/util/buf/MessageBytes;
0 9 2 uri Lorg/apache/tomcat/util/buf/MessageBytes;
0 9 3 version Ljava/lang/String;
0 9 4 mappingData Lorg/apache/catalina/mapper/MappingData;
2 5 5 defaultHostName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
host
uri
version
mappingData
public void map(org.apache.catalina.Context, org.apache.tomcat.util.buf.MessageBytes, org.apache.catalina.mapper.MappingData);
descriptor: (Lorg/apache/catalina/Context;Lorg/apache/tomcat/util/buf/MessageBytes;Lorg/apache/catalina/mapper/MappingData;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.catalina.mapper.Mapper.contextObjectToContextVersionMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.mapper.Mapper$ContextVersion
1: astore 4
start local 4 2: aload 2
invokevirtual org.apache.tomcat.util.buf.MessageBytes.toChars:()V
3: aload 2
invokevirtual org.apache.tomcat.util.buf.MessageBytes.getCharChunk:()Lorg/apache/tomcat/util/buf/CharChunk;
astore 5
start local 5 4: aload 5
iconst_m1
invokevirtual org.apache.tomcat.util.buf.CharChunk.setLimit:(I)V
5: aload 0
aload 4
aload 5
aload 3
invokevirtual org.apache.catalina.mapper.Mapper.internalMapWrapper:(Lorg/apache/catalina/mapper/Mapper$ContextVersion;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;)V
6: return
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 7 0 this Lorg/apache/catalina/mapper/Mapper;
0 7 1 context Lorg/apache/catalina/Context;
0 7 2 uri Lorg/apache/tomcat/util/buf/MessageBytes;
0 7 3 mappingData Lorg/apache/catalina/mapper/MappingData;
2 7 4 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
4 7 5 uricc Lorg/apache/tomcat/util/buf/CharChunk;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
uri
mappingData
private final void internalMap(org.apache.tomcat.util.buf.CharChunk, org.apache.tomcat.util.buf.CharChunk, java.lang.String, org.apache.catalina.mapper.MappingData);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/tomcat/util/buf/CharChunk;Ljava/lang/String;Lorg/apache/catalina/mapper/MappingData;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=4, locals=20, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
getfield org.apache.catalina.mapper.MappingData.host:Lorg/apache/catalina/Host;
ifnull 2
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.mapper.Mapper.hosts:[Lorg/apache/catalina/mapper/Mapper$MappedHost;
astore 5
start local 5 3: aload 5
aload 1
invokestatic org.apache.catalina.mapper.Mapper.exactFindIgnoreCase:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 6
start local 6 4: aload 6
ifnonnull 19
5: aload 1
bipush 46
invokevirtual org.apache.tomcat.util.buf.CharChunk.indexOf:(C)I
istore 7
start local 7 6: iload 7
iconst_m1
if_icmple 15
7: aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getOffset:()I
istore 8
start local 8 8: aload 1
iload 7
iload 8
iadd
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
9: aload 5
aload 1
invokestatic org.apache.catalina.mapper.Mapper.exactFindIgnoreCase:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedHost
astore 6
10: goto 14
StackMap locals: org.apache.catalina.mapper.Mapper org.apache.tomcat.util.buf.CharChunk org.apache.tomcat.util.buf.CharChunk java.lang.String org.apache.catalina.mapper.MappingData org.apache.catalina.mapper.Mapper$MappedHost[] org.apache.catalina.mapper.Mapper$MappedHost int int
StackMap stack: java.lang.Throwable
11: astore 9
12: aload 1
iload 8
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
13: aload 9
athrow
14: StackMap locals:
StackMap stack:
aload 1
iload 8
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
end local 8 15: StackMap locals:
StackMap stack:
aload 6
ifnonnull 19
16: aload 0
getfield org.apache.catalina.mapper.Mapper.defaultHost:Lorg/apache/catalina/mapper/Mapper$MappedHost;
astore 6
17: aload 6
ifnonnull 19
18: return
end local 7 19: StackMap locals:
StackMap stack:
aload 4
aload 6
getfield org.apache.catalina.mapper.Mapper$MappedHost.object:Ljava/lang/Object;
checkcast org.apache.catalina.Host
putfield org.apache.catalina.mapper.MappingData.host:Lorg/apache/catalina/Host;
20: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.isNull:()Z
ifeq 22
21: return
22: StackMap locals:
StackMap stack:
aload 2
iconst_m1
invokevirtual org.apache.tomcat.util.buf.CharChunk.setLimit:(I)V
23: aload 6
getfield org.apache.catalina.mapper.Mapper$MappedHost.contextList:Lorg/apache/catalina/mapper/Mapper$ContextList;
astore 7
start local 7 24: aload 7
getfield org.apache.catalina.mapper.Mapper$ContextList.contexts:[Lorg/apache/catalina/mapper/Mapper$MappedContext;
astore 8
start local 8 25: aload 8
aload 2
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)I
istore 9
start local 9 26: iload 9
iconst_m1
if_icmpne 28
27: return
28: StackMap locals: org.apache.catalina.mapper.Mapper$ContextList org.apache.catalina.mapper.Mapper$MappedContext[] int
StackMap stack:
iconst_m1
istore 10
start local 10 29: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
istore 11
start local 11 30: iconst_m1
istore 12
start local 12 31: iconst_0
istore 13
start local 13 32: aconst_null
astore 14
start local 14 33: goto 49
34: StackMap locals: org.apache.catalina.mapper.Mapper org.apache.tomcat.util.buf.CharChunk org.apache.tomcat.util.buf.CharChunk java.lang.String org.apache.catalina.mapper.MappingData org.apache.catalina.mapper.Mapper$MappedHost[] org.apache.catalina.mapper.Mapper$MappedHost org.apache.catalina.mapper.Mapper$ContextList org.apache.catalina.mapper.Mapper$MappedContext[] int int int int int org.apache.catalina.mapper.Mapper$MappedContext
StackMap stack:
aload 8
iload 9
aaload
astore 14
35: aload 2
aload 14
getfield org.apache.catalina.mapper.Mapper$MappedContext.name:Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.CharChunk.startsWith:(Ljava/lang/String;)Z
ifeq 43
36: aload 14
getfield org.apache.catalina.mapper.Mapper$MappedContext.name:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 12
37: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
iload 12
if_icmpne 40
38: iconst_1
istore 13
39: goto 50
40: StackMap locals:
StackMap stack:
aload 2
ldc "/"
iload 12
invokevirtual org.apache.tomcat.util.buf.CharChunk.startsWithIgnoreCase:(Ljava/lang/String;I)Z
ifeq 43
41: iconst_1
istore 13
42: goto 50
43: StackMap locals:
StackMap stack:
iload 10
iconst_m1
if_icmpne 46
44: aload 2
aload 7
getfield org.apache.catalina.mapper.Mapper$ContextList.nesting:I
iconst_1
iadd
invokestatic org.apache.catalina.mapper.Mapper.nthSlash:(Lorg/apache/tomcat/util/buf/CharChunk;I)I
istore 10
45: goto 47
46: StackMap locals:
StackMap stack:
aload 2
invokestatic org.apache.catalina.mapper.Mapper.lastSlash:(Lorg/apache/tomcat/util/buf/CharChunk;)I
istore 10
47: StackMap locals:
StackMap stack:
aload 2
iload 10
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
48: aload 8
aload 2
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)I
istore 9
49: StackMap locals:
StackMap stack:
iload 9
ifge 34
50: StackMap locals:
StackMap stack:
aload 2
iload 11
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
51: iload 13
ifne 56
52: aload 8
iconst_0
aaload
getfield org.apache.catalina.mapper.Mapper$MappedContext.name:Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 55
53: aload 8
iconst_0
aaload
astore 14
54: goto 56
55: StackMap locals:
StackMap stack:
aconst_null
astore 14
56: StackMap locals:
StackMap stack:
aload 14
ifnonnull 58
57: return
58: StackMap locals:
StackMap stack:
aconst_null
astore 15
start local 15 59: aload 14
getfield org.apache.catalina.mapper.Mapper$MappedContext.versions:[Lorg/apache/catalina/mapper/Mapper$ContextVersion;
astore 16
start local 16 60: aload 16
arraylength
istore 17
start local 17 61: iload 17
iconst_1
if_icmple 71
62: aload 16
arraylength
anewarray org.apache.catalina.Context
astore 18
start local 18 63: iconst_0
istore 19
start local 19 64: goto 67
65: StackMap locals: org.apache.catalina.mapper.Mapper org.apache.tomcat.util.buf.CharChunk org.apache.tomcat.util.buf.CharChunk java.lang.String org.apache.catalina.mapper.MappingData org.apache.catalina.mapper.Mapper$MappedHost[] org.apache.catalina.mapper.Mapper$MappedHost org.apache.catalina.mapper.Mapper$ContextList org.apache.catalina.mapper.Mapper$MappedContext[] int int int int int org.apache.catalina.mapper.Mapper$MappedContext org.apache.catalina.mapper.Mapper$ContextVersion org.apache.catalina.mapper.Mapper$ContextVersion[] int org.apache.catalina.Context[] int
StackMap stack:
aload 18
iload 19
aload 16
iload 19
aaload
getfield org.apache.catalina.mapper.Mapper$ContextVersion.object:Ljava/lang/Object;
checkcast org.apache.catalina.Context
aastore
66: iinc 19 1
StackMap locals:
StackMap stack:
67: iload 19
aload 18
arraylength
if_icmplt 65
end local 19 68: aload 4
aload 18
putfield org.apache.catalina.mapper.MappingData.contexts:[Lorg/apache/catalina/Context;
69: aload 3
ifnull 71
70: aload 16
aload 3
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$ContextVersion
astore 15
end local 18 71: StackMap locals:
StackMap stack:
aload 15
ifnonnull 73
72: aload 16
iload 17
iconst_1
isub
aaload
astore 15
73: StackMap locals:
StackMap stack:
aload 4
aload 15
getfield org.apache.catalina.mapper.Mapper$ContextVersion.object:Ljava/lang/Object;
checkcast org.apache.catalina.Context
putfield org.apache.catalina.mapper.MappingData.context:Lorg/apache/catalina/Context;
74: aload 4
aload 15
getfield org.apache.catalina.mapper.Mapper$ContextVersion.slashCount:I
putfield org.apache.catalina.mapper.MappingData.contextSlashCount:I
75: aload 15
invokevirtual org.apache.catalina.mapper.Mapper$ContextVersion.isPaused:()Z
ifne 77
76: aload 0
aload 15
aload 2
aload 4
invokevirtual org.apache.catalina.mapper.Mapper.internalMapWrapper:(Lorg/apache/catalina/mapper/Mapper$ContextVersion;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;)V
77: StackMap locals:
StackMap stack:
return
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 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 78 0 this Lorg/apache/catalina/mapper/Mapper;
0 78 1 host Lorg/apache/tomcat/util/buf/CharChunk;
0 78 2 uri Lorg/apache/tomcat/util/buf/CharChunk;
0 78 3 version Ljava/lang/String;
0 78 4 mappingData Lorg/apache/catalina/mapper/MappingData;
3 78 5 hosts [Lorg/apache/catalina/mapper/Mapper$MappedHost;
4 78 6 mappedHost Lorg/apache/catalina/mapper/Mapper$MappedHost;
6 19 7 firstDot I
8 15 8 offset I
24 78 7 contextList Lorg/apache/catalina/mapper/Mapper$ContextList;
25 78 8 contexts [Lorg/apache/catalina/mapper/Mapper$MappedContext;
26 78 9 pos I
29 78 10 lastSlash I
30 78 11 uriEnd I
31 78 12 length I
32 78 13 found Z
33 78 14 context Lorg/apache/catalina/mapper/Mapper$MappedContext;
59 78 15 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
60 78 16 contextVersions [Lorg/apache/catalina/mapper/Mapper$ContextVersion;
61 78 17 versionCount I
63 71 18 contextObjects [Lorg/apache/catalina/Context;
64 68 19 i I
Exception table:
from to target type
8 11 11 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
host
uri
version
mappingData
private final void internalMapWrapper(org.apache.catalina.mapper.Mapper$ContextVersion, org.apache.tomcat.util.buf.CharChunk, org.apache.catalina.mapper.MappingData);
descriptor: (Lorg/apache/catalina/mapper/Mapper$ContextVersion;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=5, locals=17, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getOffset:()I
istore 4
start local 4 1: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
istore 5
start local 5 2: iconst_0
istore 6
start local 6 3: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.path:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 7
start local 7 4: iload 7
iload 5
iload 4
isub
if_icmpne 6
5: iconst_1
istore 6
6: StackMap locals: org.apache.catalina.mapper.Mapper org.apache.catalina.mapper.Mapper$ContextVersion org.apache.tomcat.util.buf.CharChunk org.apache.catalina.mapper.MappingData int int int int
StackMap stack:
iload 4
iload 7
iadd
istore 8
start local 8 7: aload 2
iload 8
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
8: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.exactWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
astore 9
start local 9 9: aload 0
aload 9
aload 2
aload 3
invokevirtual org.apache.catalina.mapper.Mapper.internalMapExactWrapper:([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;)V
10: iconst_0
istore 10
start local 10 11: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.wildcardWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
astore 11
start local 11 12: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 26
13: aload 0
aload 11
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.nesting:I
14: aload 2
aload 3
15: invokevirtual org.apache.catalina.mapper.Mapper.internalMapWildcardWrapper:([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;ILorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;)V
16: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnull 26
aload 3
getfield org.apache.catalina.mapper.MappingData.jspWildCard:Z
ifeq 26
17: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
astore 12
start local 12 18: aload 12
iload 5
iconst_1
isub
caload
bipush 47
if_icmpne 22
19: aload 3
aconst_null
putfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
20: iconst_1
istore 10
21: goto 26
22: StackMap locals: org.apache.catalina.mapper.Mapper org.apache.catalina.mapper.Mapper$ContextVersion org.apache.tomcat.util.buf.CharChunk org.apache.catalina.mapper.MappingData int int int int int org.apache.catalina.mapper.Mapper$MappedWrapper[] int org.apache.catalina.mapper.Mapper$MappedWrapper[] char[]
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 12
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
23: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
24: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
25: aload 3
getfield org.apache.catalina.mapper.MappingData.pathInfo:Lorg/apache/tomcat/util/buf/MessageBytes;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.recycle:()V
end local 12 26: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 35
iload 6
ifeq 35
27: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.object:Ljava/lang/Object;
checkcast org.apache.catalina.Context
invokeinterface org.apache.catalina.Context.getMapperContextRootRedirectEnabled:()Z
ifeq 35
28: aload 2
bipush 47
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(C)V
29: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
istore 5
30: aload 3
getfield org.apache.catalina.mapper.MappingData.redirectPath:Lorg/apache/tomcat/util/buf/MessageBytes;
31: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
iload 4
iload 5
iload 4
isub
32: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
33: aload 2
iload 5
iconst_1
isub
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
34: return
35: StackMap locals:
StackMap stack:
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.extensionWrappers:[Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
astore 12
start local 12 36: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 40
iload 10
ifne 40
37: aload 0
aload 12
aload 2
aload 3
38: iconst_1
39: invokevirtual org.apache.catalina.mapper.Mapper.internalMapExtensionWrapper:([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;Z)V
40: StackMap locals: org.apache.catalina.mapper.Mapper$MappedWrapper[]
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 91
41: iload 10
istore 13
start local 13 42: iload 13
ifne 47
43: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
astore 14
start local 14 44: aload 14
iload 5
iconst_1
isub
caload
bipush 47
if_icmpne 45
iconst_1
goto 46
StackMap locals: int char[]
StackMap stack:
45: iconst_0
StackMap locals:
StackMap stack: int
46: istore 13
end local 14 47: StackMap locals:
StackMap stack:
iload 13
ifeq 91
48: iconst_0
istore 14
start local 14 49: goto 87
50: StackMap locals: int
StackMap stack:
aload 2
iload 4
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
51: aload 2
iload 5
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
52: aload 2
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
iload 14
aaload
iconst_0
53: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
iload 14
aaload
invokevirtual java.lang.String.length:()I
54: invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
55: aload 2
iload 8
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
56: aload 0
aload 9
aload 2
aload 3
invokevirtual org.apache.catalina.mapper.Mapper.internalMapExactWrapper:([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;)V
57: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 62
58: aload 0
59: aload 11
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.nesting:I
60: aload 2
aload 3
61: invokevirtual org.apache.catalina.mapper.Mapper.internalMapWildcardWrapper:([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;ILorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;)V
62: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 86
63: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.resources:Lorg/apache/catalina/WebResourceRoot;
ifnull 86
64: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.toString:()Ljava/lang/String;
astore 15
start local 15 65: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.resources:Lorg/apache/catalina/WebResourceRoot;
aload 15
invokeinterface org.apache.catalina.WebResourceRoot.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
66: astore 16
start local 16 67: aload 16
ifnull 86
aload 16
invokeinterface org.apache.catalina.WebResource.isFile:()Z
ifeq 86
68: aload 0
aload 12
aload 2
69: aload 3
iconst_1
70: invokevirtual org.apache.catalina.mapper.Mapper.internalMapExtensionWrapper:([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;Z)V
71: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 86
72: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.defaultWrapper:Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
ifnull 86
73: aload 3
74: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.defaultWrapper:Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.object:Ljava/lang/Object;
checkcast org.apache.catalina.Wrapper
75: putfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
76: aload 3
getfield org.apache.catalina.mapper.MappingData.requestPath:Lorg/apache/tomcat/util/buf/MessageBytes;
77: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
78: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
79: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
80: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
81: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
82: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
83: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
84: aload 3
getfield org.apache.catalina.mapper.MappingData.requestPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 15
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
85: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 15
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
end local 16 end local 15 86: StackMap locals:
StackMap stack:
iinc 14 1
87: StackMap locals:
StackMap stack:
iload 14
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
arraylength
if_icmpge 89
88: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnull 50
end local 14 89: StackMap locals:
StackMap stack:
aload 2
iload 8
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
90: aload 2
iload 5
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
end local 13 91: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 115
92: iload 10
istore 13
start local 13 93: iload 13
ifne 98
94: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
astore 14
start local 14 95: aload 14
iload 5
iconst_1
isub
caload
bipush 47
if_icmpne 96
iconst_1
goto 97
StackMap locals: int char[]
StackMap stack:
96: iconst_0
StackMap locals:
StackMap stack: int
97: istore 13
end local 14 98: StackMap locals:
StackMap stack:
iload 13
ifeq 115
99: iconst_0
istore 14
start local 14 100: goto 111
101: StackMap locals: int
StackMap stack:
aload 2
iload 4
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
102: aload 2
iload 5
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
103: aload 2
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
iload 14
aaload
iconst_0
104: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
iload 14
aaload
invokevirtual java.lang.String.length:()I
105: invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(Ljava/lang/String;II)V
106: aload 2
iload 8
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
107: aload 0
aload 12
aload 2
108: aload 3
iconst_0
109: invokevirtual org.apache.catalina.mapper.Mapper.internalMapExtensionWrapper:([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;Z)V
110: iinc 14 1
111: StackMap locals:
StackMap stack:
iload 14
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.welcomeResources:[Ljava/lang/String;
arraylength
if_icmpge 113
112: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnull 101
end local 14 113: StackMap locals:
StackMap stack:
aload 2
iload 8
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
114: aload 2
iload 5
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
end local 13 115: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
ifnonnull 145
iload 10
ifne 145
116: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.defaultWrapper:Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
ifnull 125
117: aload 3
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.defaultWrapper:Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.object:Ljava/lang/Object;
checkcast org.apache.catalina.Wrapper
putfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
118: aload 3
getfield org.apache.catalina.mapper.MappingData.requestPath:Lorg/apache/tomcat/util/buf/MessageBytes;
119: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
120: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
121: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
122: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
123: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
124: aload 3
getstatic jakarta.servlet.http.MappingMatch.DEFAULT:Ljakarta/servlet/http/MappingMatch;
putfield org.apache.catalina.mapper.MappingData.matchType:Ljakarta/servlet/http/MappingMatch;
125: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
astore 13
start local 13 126: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.resources:Lorg/apache/catalina/WebResourceRoot;
ifnull 145
aload 13
iload 5
iconst_1
isub
caload
bipush 47
if_icmpeq 145
127: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.toString:()Ljava/lang/String;
astore 14
start local 14 128: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.object:Ljava/lang/Object;
checkcast org.apache.catalina.Context
invokeinterface org.apache.catalina.Context.getMapperDirectoryRedirectEnabled:()Z
ifeq 143
129: aload 14
invokevirtual java.lang.String.length:()I
ifne 132
130: aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.resources:Lorg/apache/catalina/WebResourceRoot;
ldc "/"
invokeinterface org.apache.catalina.WebResourceRoot.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
astore 15
start local 15 131: goto 133
end local 15 132: StackMap locals: char[] java.lang.String
StackMap stack:
aload 1
getfield org.apache.catalina.mapper.Mapper$ContextVersion.resources:Lorg/apache/catalina/WebResourceRoot;
aload 14
invokeinterface org.apache.catalina.WebResourceRoot.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
astore 15
start local 15 133: StackMap locals: org.apache.catalina.WebResource
StackMap stack:
aload 15
ifnull 140
aload 15
invokeinterface org.apache.catalina.WebResource.isDirectory:()Z
ifeq 140
134: aload 2
iload 4
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
135: aload 2
bipush 47
invokevirtual org.apache.tomcat.util.buf.CharChunk.append:(C)V
136: aload 3
getfield org.apache.catalina.mapper.MappingData.redirectPath:Lorg/apache/tomcat/util/buf/MessageBytes;
137: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
138: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
139: goto 145
140: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.requestPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 14
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
141: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 14
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
end local 15 142: goto 145
143: StackMap locals:
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.requestPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 14
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
144: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 14
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
end local 14 end local 13 145: StackMap locals:
StackMap stack:
aload 2
iload 4
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
146: aload 2
iload 5
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
147: return
end local 12 end local 11 end local 10 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 148 0 this Lorg/apache/catalina/mapper/Mapper;
0 148 1 contextVersion Lorg/apache/catalina/mapper/Mapper$ContextVersion;
0 148 2 path Lorg/apache/tomcat/util/buf/CharChunk;
0 148 3 mappingData Lorg/apache/catalina/mapper/MappingData;
1 148 4 pathOffset I
2 148 5 pathEnd I
3 148 6 noServletPath Z
4 148 7 length I
7 148 8 servletPath I
9 148 9 exactWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
11 148 10 checkJspWelcomeFiles Z
12 148 11 wildcardWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
18 26 12 buf [C
36 148 12 extensionWrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
42 91 13 checkWelcomeFiles Z
44 47 14 buf [C
49 89 14 i I
65 86 15 pathStr Ljava/lang/String;
67 86 16 file Lorg/apache/catalina/WebResource;
93 115 13 checkWelcomeFiles Z
95 98 14 buf [C
100 113 14 i I
126 145 13 buf [C
128 145 14 pathStr Ljava/lang/String;
131 132 15 file Lorg/apache/catalina/WebResource;
133 142 15 file Lorg/apache/catalina/WebResource;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
contextVersion
path
mappingData
private final void internalMapExactWrapper(org.apache.catalina.mapper.Mapper$MappedWrapper[], org.apache.tomcat.util.buf.CharChunk, org.apache.catalina.mapper.MappingData);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedWrapper
astore 4
start local 4 1: aload 4
ifnull 11
2: aload 3
getfield org.apache.catalina.mapper.MappingData.requestPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 4
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.name:Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
3: aload 3
aload 4
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.object:Ljava/lang/Object;
checkcast org.apache.catalina.Wrapper
putfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
4: aload 2
ldc "/"
invokevirtual org.apache.tomcat.util.buf.CharChunk.equals:(Ljava/lang/String;)Z
ifeq 9
5: aload 3
getfield org.apache.catalina.mapper.MappingData.pathInfo:Lorg/apache/tomcat/util/buf/MessageBytes;
ldc "/"
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
6: aload 3
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
ldc ""
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
7: aload 3
getstatic jakarta.servlet.http.MappingMatch.CONTEXT_ROOT:Ljakarta/servlet/http/MappingMatch;
putfield org.apache.catalina.mapper.MappingData.matchType:Ljakarta/servlet/http/MappingMatch;
8: goto 11
9: StackMap locals: org.apache.catalina.mapper.Mapper$MappedWrapper
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 4
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.name:Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
10: aload 3
getstatic jakarta.servlet.http.MappingMatch.EXACT:Ljakarta/servlet/http/MappingMatch;
putfield org.apache.catalina.mapper.MappingData.matchType:Ljakarta/servlet/http/MappingMatch;
11: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/mapper/Mapper;
0 12 1 wrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
0 12 2 path Lorg/apache/tomcat/util/buf/CharChunk;
0 12 3 mappingData Lorg/apache/catalina/mapper/MappingData;
1 12 4 wrapper Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
MethodParameters:
Name Flags
wrappers
path
mappingData
private final void internalMapWildcardWrapper(org.apache.catalina.mapper.Mapper$MappedWrapper[], int, org.apache.tomcat.util.buf.CharChunk, org.apache.catalina.mapper.MappingData);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;ILorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
istore 5
start local 5 1: iconst_m1
istore 6
start local 6 2: iconst_m1
istore 7
start local 7 3: aload 1
aload 3
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)I
istore 8
start local 8 4: iload 8
iconst_m1
if_icmpeq 37
5: iconst_0
istore 9
start local 9 6: goto 21
7: StackMap locals: org.apache.catalina.mapper.Mapper org.apache.catalina.mapper.Mapper$MappedWrapper[] int org.apache.tomcat.util.buf.CharChunk org.apache.catalina.mapper.MappingData int int int int int
StackMap stack:
aload 3
aload 1
iload 8
aaload
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.name:Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.CharChunk.startsWith:(Ljava/lang/String;)Z
ifeq 15
8: aload 1
iload 8
aaload
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.name:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 7
9: aload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
iload 7
if_icmpne 12
10: iconst_1
istore 9
11: goto 22
12: StackMap locals:
StackMap stack:
aload 3
ldc "/"
iload 7
invokevirtual org.apache.tomcat.util.buf.CharChunk.startsWithIgnoreCase:(Ljava/lang/String;I)Z
ifeq 15
13: iconst_1
istore 9
14: goto 22
15: StackMap locals:
StackMap stack:
iload 6
iconst_m1
if_icmpne 18
16: aload 3
iload 2
iconst_1
iadd
invokestatic org.apache.catalina.mapper.Mapper.nthSlash:(Lorg/apache/tomcat/util/buf/CharChunk;I)I
istore 6
17: goto 19
18: StackMap locals:
StackMap stack:
aload 3
invokestatic org.apache.catalina.mapper.Mapper.lastSlash:(Lorg/apache/tomcat/util/buf/CharChunk;)I
istore 6
19: StackMap locals:
StackMap stack:
aload 3
iload 6
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
20: aload 1
aload 3
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)I
istore 8
21: StackMap locals:
StackMap stack:
iload 8
ifge 7
22: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
23: iload 9
ifeq 37
24: aload 4
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 1
iload 8
aaload
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.name:Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.MessageBytes.setString:(Ljava/lang/String;)V
25: aload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
iload 7
if_icmple 31
26: aload 4
getfield org.apache.catalina.mapper.MappingData.pathInfo:Lorg/apache/tomcat/util/buf/MessageBytes;
27: aload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
28: aload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.getOffset:()I
iload 7
iadd
29: aload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
iload 7
isub
30: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
31: StackMap locals:
StackMap stack:
aload 4
getfield org.apache.catalina.mapper.MappingData.requestPath:Lorg/apache/tomcat/util/buf/MessageBytes;
32: aload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
aload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.getOffset:()I
aload 3
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
33: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
34: aload 4
aload 1
iload 8
aaload
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.object:Ljava/lang/Object;
checkcast org.apache.catalina.Wrapper
putfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
35: aload 4
aload 1
iload 8
aaload
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.jspWildCard:Z
putfield org.apache.catalina.mapper.MappingData.jspWildCard:Z
36: aload 4
getstatic jakarta.servlet.http.MappingMatch.PATH:Ljakarta/servlet/http/MappingMatch;
putfield org.apache.catalina.mapper.MappingData.matchType:Ljakarta/servlet/http/MappingMatch;
end local 9 37: StackMap locals:
StackMap stack:
return
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 38 0 this Lorg/apache/catalina/mapper/Mapper;
0 38 1 wrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
0 38 2 nesting I
0 38 3 path Lorg/apache/tomcat/util/buf/CharChunk;
0 38 4 mappingData Lorg/apache/catalina/mapper/MappingData;
1 38 5 pathEnd I
2 38 6 lastSlash I
3 38 7 length I
4 38 8 pos I
6 37 9 found Z
MethodParameters:
Name Flags
wrappers
nesting
path
mappingData
private final void internalMapExtensionWrapper(org.apache.catalina.mapper.Mapper$MappedWrapper[], org.apache.tomcat.util.buf.CharChunk, org.apache.catalina.mapper.MappingData, boolean);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MappedWrapper;Lorg/apache/tomcat/util/buf/CharChunk;Lorg/apache/catalina/mapper/MappingData;Z)V
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
astore 5
start local 5 1: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
istore 6
start local 6 2: aload 2
invokevirtual org.apache.tomcat.util.buf.CharChunk.getOffset:()I
istore 7
start local 7 3: iconst_m1
istore 8
start local 8 4: iload 6
iconst_1
isub
istore 9
start local 9 5: goto 10
6: StackMap locals: org.apache.catalina.mapper.Mapper org.apache.catalina.mapper.Mapper$MappedWrapper[] org.apache.tomcat.util.buf.CharChunk org.apache.catalina.mapper.MappingData int char[] int int int int
StackMap stack:
aload 5
iload 9
caload
bipush 47
if_icmpne 9
7: iload 9
istore 8
8: goto 11
9: StackMap locals:
StackMap stack:
iinc 9 -1
StackMap locals:
StackMap stack:
10: iload 9
iload 7
if_icmpge 6
end local 9 11: StackMap locals:
StackMap stack:
iload 8
iflt 36
12: iconst_m1
istore 9
start local 9 13: iload 6
iconst_1
isub
istore 10
start local 10 14: goto 19
15: StackMap locals: int int
StackMap stack:
aload 5
iload 10
caload
bipush 46
if_icmpne 18
16: iload 10
istore 9
17: goto 20
18: StackMap locals:
StackMap stack:
iinc 10 -1
StackMap locals:
StackMap stack:
19: iload 10
iload 8
if_icmpgt 15
end local 10 20: StackMap locals:
StackMap stack:
iload 9
iflt 36
21: aload 2
iload 9
iconst_1
iadd
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
22: aload 2
iload 6
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
23: aload 1
aload 2
invokestatic org.apache.catalina.mapper.Mapper.exactFind:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)Lorg/apache/catalina/mapper/Mapper$MapElement;
checkcast org.apache.catalina.mapper.Mapper$MappedWrapper
astore 10
start local 10 24: aload 10
ifnull 34
25: iload 4
ifne 26
aload 10
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.resourceOnly:Z
ifne 34
26: StackMap locals: org.apache.catalina.mapper.Mapper$MappedWrapper
StackMap stack:
aload 3
getfield org.apache.catalina.mapper.MappingData.wrapperPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 5
iload 7
iload 6
27: iload 7
isub
28: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
29: aload 3
getfield org.apache.catalina.mapper.MappingData.requestPath:Lorg/apache/tomcat/util/buf/MessageBytes;
aload 5
iload 7
iload 6
30: iload 7
isub
31: invokevirtual org.apache.tomcat.util.buf.MessageBytes.setChars:([CII)V
32: aload 3
aload 10
getfield org.apache.catalina.mapper.Mapper$MappedWrapper.object:Ljava/lang/Object;
checkcast org.apache.catalina.Wrapper
putfield org.apache.catalina.mapper.MappingData.wrapper:Lorg/apache/catalina/Wrapper;
33: aload 3
getstatic jakarta.servlet.http.MappingMatch.EXTENSION:Ljakarta/servlet/http/MappingMatch;
putfield org.apache.catalina.mapper.MappingData.matchType:Ljakarta/servlet/http/MappingMatch;
34: StackMap locals:
StackMap stack:
aload 2
iload 7
invokevirtual org.apache.tomcat.util.buf.CharChunk.setOffset:(I)V
35: aload 2
iload 6
invokevirtual org.apache.tomcat.util.buf.CharChunk.setEnd:(I)V
end local 10 end local 9 36: StackMap locals:
StackMap stack:
return
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 37 0 this Lorg/apache/catalina/mapper/Mapper;
0 37 1 wrappers [Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
0 37 2 path Lorg/apache/tomcat/util/buf/CharChunk;
0 37 3 mappingData Lorg/apache/catalina/mapper/MappingData;
0 37 4 resourceExpected Z
1 37 5 buf [C
2 37 6 pathEnd I
3 37 7 servletPath I
4 37 8 slash I
5 11 9 i I
13 36 9 period I
14 20 10 i I
24 36 10 wrapper Lorg/apache/catalina/mapper/Mapper$MappedWrapper;
MethodParameters:
Name Flags
wrappers
path
mappingData
resourceExpected
private static final <T> int find(org.apache.catalina.mapper.Mapper$MapElement<T>[], org.apache.tomcat.util.buf.CharChunk);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 map [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 1 1 name Lorg/apache/tomcat/util/buf/CharChunk;
Signature: <T:Ljava/lang/Object;>([Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;Lorg/apache/tomcat/util/buf/CharChunk;)I
MethodParameters:
Name Flags
map
name
private static final <T> int find(org.apache.catalina.mapper.Mapper$MapElement<T>[], org.apache.tomcat.util.buf.CharChunk, int, );
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;II)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: aload 0
arraylength
iconst_1
isub
istore 5
start local 5 2: iload 5
iconst_m1
if_icmpne 4
3: iconst_m1
ireturn
4: StackMap locals: int int
StackMap stack:
aload 1
iload 2
iload 3
aload 0
iconst_0
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.compare:(Lorg/apache/tomcat/util/buf/CharChunk;IILjava/lang/String;)I
ifge 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
iload 5
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 9: StackMap locals: int
StackMap stack:
iload 5
iload 4
iadd
iconst_1
iushr
istore 6
10: aload 1
iload 2
iload 3
aload 0
iload 6
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.compare:(Lorg/apache/tomcat/util/buf/CharChunk;IILjava/lang/String;)I
istore 7
start local 7 11: iload 7
iconst_1
if_icmpne 14
12: iload 6
istore 4
13: goto 17
StackMap locals: int
StackMap stack:
14: iload 7
ifne 16
15: iload 6
ireturn
16: StackMap locals:
StackMap stack:
iload 6
istore 5
17: StackMap locals:
StackMap stack:
iload 5
iload 4
isub
iconst_1
if_icmpne 9
18: aload 1
iload 2
iload 3
aload 0
iload 5
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.compare:(Lorg/apache/tomcat/util/buf/CharChunk;IILjava/lang/String;)I
istore 8
start local 8 19: iload 8
ifge 21
20: iload 4
ireturn
21: StackMap locals: int
StackMap stack:
iload 5
ireturn
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 22 0 map [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 22 1 name Lorg/apache/tomcat/util/buf/CharChunk;
0 22 2 start I
0 22 3 end I
1 22 4 a I
2 22 5 b I
9 22 6 i I
11 22 7 result I
19 22 8 result2 I
Signature: <T:Ljava/lang/Object;>([Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;Lorg/apache/tomcat/util/buf/CharChunk;II)I
MethodParameters:
Name Flags
map
name
start
end
private static final <T> int findIgnoreCase(org.apache.catalina.mapper.Mapper$MapElement<T>[], org.apache.tomcat.util.buf.CharChunk);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
invokestatic org.apache.catalina.mapper.Mapper.findIgnoreCase:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 map [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 1 1 name Lorg/apache/tomcat/util/buf/CharChunk;
Signature: <T:Ljava/lang/Object;>([Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;Lorg/apache/tomcat/util/buf/CharChunk;)I
MethodParameters:
Name Flags
map
name
private static final <T> int findIgnoreCase(org.apache.catalina.mapper.Mapper$MapElement<T>[], org.apache.tomcat.util.buf.CharChunk, int, );
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;II)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: aload 0
arraylength
iconst_1
isub
istore 5
start local 5 2: iload 5
iconst_m1
if_icmpne 4
3: iconst_m1
ireturn
4: StackMap locals: int int
StackMap stack:
aload 1
iload 2
iload 3
aload 0
iconst_0
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.compareIgnoreCase:(Lorg/apache/tomcat/util/buf/CharChunk;IILjava/lang/String;)I
ifge 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
iload 5
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 9: StackMap locals: int
StackMap stack:
iload 5
iload 4
iadd
iconst_1
iushr
istore 6
10: aload 1
iload 2
iload 3
aload 0
iload 6
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.compareIgnoreCase:(Lorg/apache/tomcat/util/buf/CharChunk;IILjava/lang/String;)I
istore 7
start local 7 11: iload 7
iconst_1
if_icmpne 14
12: iload 6
istore 4
13: goto 17
StackMap locals: int
StackMap stack:
14: iload 7
ifne 16
15: iload 6
ireturn
16: StackMap locals:
StackMap stack:
iload 6
istore 5
17: StackMap locals:
StackMap stack:
iload 5
iload 4
isub
iconst_1
if_icmpne 9
18: aload 1
iload 2
iload 3
aload 0
iload 5
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.compareIgnoreCase:(Lorg/apache/tomcat/util/buf/CharChunk;IILjava/lang/String;)I
istore 8
start local 8 19: iload 8
ifge 21
20: iload 4
ireturn
21: StackMap locals: int
StackMap stack:
iload 5
ireturn
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 22 0 map [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 22 1 name Lorg/apache/tomcat/util/buf/CharChunk;
0 22 2 start I
0 22 3 end I
1 22 4 a I
2 22 5 b I
9 22 6 i I
11 22 7 result I
19 22 8 result2 I
Signature: <T:Ljava/lang/Object;>([Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;Lorg/apache/tomcat/util/buf/CharChunk;II)I
MethodParameters:
Name Flags
map
name
start
end
private static final <T> int find(org.apache.catalina.mapper.Mapper$MapElement<T>[], java.lang.String);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
arraylength
iconst_1
isub
istore 3
start local 3 2: iload 3
iconst_m1
if_icmpne 4
3: iconst_m1
ireturn
4: StackMap locals: int int
StackMap stack:
aload 1
aload 0
iconst_0
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifge 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
iload 3
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 9: StackMap locals: int
StackMap stack:
iload 3
iload 2
iadd
iconst_1
iushr
istore 4
10: aload 1
aload 0
iload 4
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 5
start local 5 11: iload 5
ifle 14
12: iload 4
istore 2
13: goto 17
StackMap locals: int
StackMap stack:
14: iload 5
ifne 16
15: iload 4
ireturn
16: StackMap locals:
StackMap stack:
iload 4
istore 3
17: StackMap locals:
StackMap stack:
iload 3
iload 2
isub
iconst_1
if_icmpne 9
18: aload 1
aload 0
iload 3
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 6
start local 6 19: iload 6
ifge 21
20: iload 2
ireturn
21: StackMap locals: int
StackMap stack:
iload 3
ireturn
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 22 0 map [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 22 1 name Ljava/lang/String;
1 22 2 a I
2 22 3 b I
9 22 4 i I
11 22 5 result I
19 22 6 result2 I
Signature: <T:Ljava/lang/Object;>([Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;Ljava/lang/String;)I
MethodParameters:
Name Flags
map
name
private static final <T, E extends org.apache.catalina.mapper.Mapper$MapElement<T>> E exactFind(E[], java.lang.String);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Lorg/apache/catalina/mapper/Mapper$MapElement;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)I
istore 2
start local 2 1: iload 2
iflt 5
2: aload 0
iload 2
aaload
astore 3
start local 3 3: aload 1
aload 3
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
areturn
end local 3 5: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 map [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 6 1 name Ljava/lang/String;
1 6 2 pos I
3 5 3 result TE;
Signature: <T:Ljava/lang/Object;E:Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;>([TE;Ljava/lang/String;)TE;
MethodParameters:
Name Flags
map
name
private static final <T, E extends org.apache.catalina.mapper.Mapper$MapElement<T>> E exactFind(E[], org.apache.tomcat.util.buf.CharChunk);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)Lorg/apache/catalina/mapper/Mapper$MapElement;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)I
istore 2
start local 2 1: iload 2
iflt 5
2: aload 0
iload 2
aaload
astore 3
start local 3 3: aload 1
aload 3
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.CharChunk.equals:(Ljava/lang/String;)Z
ifeq 5
4: aload 3
areturn
end local 3 5: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 map [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 6 1 name Lorg/apache/tomcat/util/buf/CharChunk;
1 6 2 pos I
3 5 3 result TE;
Signature: <T:Ljava/lang/Object;E:Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;>([TE;Lorg/apache/tomcat/util/buf/CharChunk;)TE;
MethodParameters:
Name Flags
map
name
private static final <T, E extends org.apache.catalina.mapper.Mapper$MapElement<T>> E exactFindIgnoreCase(E[], org.apache.tomcat.util.buf.CharChunk);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)Lorg/apache/catalina/mapper/Mapper$MapElement;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.catalina.mapper.Mapper.findIgnoreCase:([Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/tomcat/util/buf/CharChunk;)I
istore 2
start local 2 1: iload 2
iflt 5
2: aload 0
iload 2
aaload
astore 3
start local 3 3: aload 1
aload 3
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokevirtual org.apache.tomcat.util.buf.CharChunk.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: aload 3
areturn
end local 3 5: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 map [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 6 1 name Lorg/apache/tomcat/util/buf/CharChunk;
1 6 2 pos I
3 5 3 result TE;
Signature: <T:Ljava/lang/Object;E:Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;>([TE;Lorg/apache/tomcat/util/buf/CharChunk;)TE;
MethodParameters:
Name Flags
map
name
private static final int compare(org.apache.tomcat.util.buf.CharChunk, int, int, java.lang.String);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk;IILjava/lang/String;)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
astore 5
start local 5 2: aload 3
invokevirtual java.lang.String.length:()I
istore 6
start local 6 3: iload 2
iload 1
isub
iload 6
if_icmpge 5
4: iload 2
iload 1
isub
istore 6
5: StackMap locals: int char[] int
StackMap stack:
iconst_0
istore 7
start local 7 6: goto 13
7: StackMap locals: int
StackMap stack:
aload 5
iload 7
iload 1
iadd
caload
aload 3
iload 7
invokevirtual java.lang.String.charAt:(I)C
if_icmple 10
8: iconst_1
istore 4
9: goto 12
StackMap locals:
StackMap stack:
10: aload 5
iload 7
iload 1
iadd
caload
aload 3
iload 7
invokevirtual java.lang.String.charAt:(I)C
if_icmpge 12
11: iconst_m1
istore 4
12: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
iload 6
if_icmpge 14
iload 4
ifeq 7
end local 7 14: StackMap locals:
StackMap stack:
iload 4
ifne 20
15: aload 3
invokevirtual java.lang.String.length:()I
iload 2
iload 1
isub
if_icmple 18
16: iconst_m1
istore 4
17: goto 20
StackMap locals:
StackMap stack:
18: aload 3
invokevirtual java.lang.String.length:()I
iload 2
iload 1
isub
if_icmpge 20
19: iconst_1
istore 4
20: StackMap locals:
StackMap stack:
iload 4
ireturn
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 21 0 name Lorg/apache/tomcat/util/buf/CharChunk;
0 21 1 start I
0 21 2 end I
0 21 3 compareTo Ljava/lang/String;
1 21 4 result I
2 21 5 c [C
3 21 6 len I
6 14 7 i I
MethodParameters:
Name Flags
name
start
end
compareTo
private static final int compareIgnoreCase(org.apache.tomcat.util.buf.CharChunk, int, int, java.lang.String);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk;IILjava/lang/String;)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
astore 5
start local 5 2: aload 3
invokevirtual java.lang.String.length:()I
istore 6
start local 6 3: iload 2
iload 1
isub
iload 6
if_icmpge 5
4: iload 2
iload 1
isub
istore 6
5: StackMap locals: int char[] int
StackMap stack:
iconst_0
istore 7
start local 7 6: goto 13
7: StackMap locals: int
StackMap stack:
aload 5
iload 7
iload 1
iadd
caload
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
aload 3
iload 7
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
if_icmple 10
8: iconst_1
istore 4
9: goto 12
StackMap locals:
StackMap stack:
10: aload 5
iload 7
iload 1
iadd
caload
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
aload 3
iload 7
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
if_icmpge 12
11: iconst_m1
istore 4
12: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
iload 6
if_icmpge 14
iload 4
ifeq 7
end local 7 14: StackMap locals:
StackMap stack:
iload 4
ifne 20
15: aload 3
invokevirtual java.lang.String.length:()I
iload 2
iload 1
isub
if_icmple 18
16: iconst_m1
istore 4
17: goto 20
StackMap locals:
StackMap stack:
18: aload 3
invokevirtual java.lang.String.length:()I
iload 2
iload 1
isub
if_icmpge 20
19: iconst_1
istore 4
20: StackMap locals:
StackMap stack:
iload 4
ireturn
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 21 0 name Lorg/apache/tomcat/util/buf/CharChunk;
0 21 1 start I
0 21 2 end I
0 21 3 compareTo Ljava/lang/String;
1 21 4 result I
2 21 5 c [C
3 21 6 len I
6 14 7 i I
MethodParameters:
Name Flags
name
start
end
compareTo
private static final int lastSlash(org.apache.tomcat.util.buf.CharChunk);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk;)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
astore 1
start local 1 1: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
istore 2
start local 2 2: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
istore 3
start local 3 3: iload 2
istore 4
start local 4 4: goto 7
5: StackMap locals: org.apache.tomcat.util.buf.CharChunk char[] int int int
StackMap stack:
aload 1
iinc 4 -1
iload 4
caload
bipush 47
if_icmpne 7
6: goto 8
7: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmpgt 5
8: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Lorg/apache/tomcat/util/buf/CharChunk;
1 9 1 c [C
2 9 2 end I
3 9 3 start I
4 9 4 pos I
MethodParameters:
Name Flags
name
private static final int nthSlash(org.apache.tomcat.util.buf.CharChunk, int);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk;I)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getBuffer:()[C
astore 2
start local 2 1: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getEnd:()I
istore 3
start local 3 2: aload 0
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
istore 4
start local 4 3: iload 4
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 9
6: StackMap locals: org.apache.tomcat.util.buf.CharChunk int char[] int int int int
StackMap stack:
aload 2
iload 5
iinc 5 1
caload
bipush 47
if_icmpne 9
iinc 6 1
iload 6
iload 1
if_icmpne 9
7: iinc 5 -1
8: goto 10
9: StackMap locals:
StackMap stack:
iload 5
iload 3
if_icmplt 6
10: StackMap locals:
StackMap stack:
iload 5
ireturn
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 11 0 name Lorg/apache/tomcat/util/buf/CharChunk;
0 11 1 n I
1 11 2 c [C
2 11 3 end I
3 11 4 start I
4 11 5 pos I
5 11 6 count I
MethodParameters:
Name Flags
name
n
private static final int slashCount(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=1
start local 0 0: iconst_m1
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 4
3: StackMap locals: int int
StackMap stack:
iinc 2 1
4: StackMap locals:
StackMap stack:
aload 0
bipush 47
iload 1
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
dup
istore 1
iconst_m1
if_icmpne 3
5: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
1 6 1 pos I
2 6 2 count I
MethodParameters:
Name Flags
name
private static final <T> boolean insertMap(org.apache.catalina.mapper.Mapper$MapElement<T>[], org.apache.catalina.mapper.Mapper$MapElement<T>[], org.apache.catalina.mapper.Mapper$MapElement<T>);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Lorg/apache/catalina/mapper/Mapper$MapElement;)Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)I
istore 3
start local 3 1: iload 3
iconst_m1
if_icmpeq 3
aload 2
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
aload 0
iload 3
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
iconst_0
aload 1
iconst_0
iload 3
iconst_1
iadd
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 1
iload 3
iconst_1
iadd
aload 2
aastore
5: aload 0
iload 3
iconst_1
iadd
aload 1
iload 3
iconst_2
iadd
aload 0
arraylength
iload 3
isub
iconst_1
isub
6: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 oldMap [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 8 1 newMap [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 8 2 newElement Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;
1 8 3 pos I
Signature: <T:Ljava/lang/Object;>([Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;[Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;)Z
MethodParameters:
Name Flags
oldMap
newMap
newElement
private static final <T> boolean removeMap(org.apache.catalina.mapper.Mapper$MapElement<T>[], org.apache.catalina.mapper.Mapper$MapElement<T>[], java.lang.String);
descriptor: ([Lorg/apache/catalina/mapper/Mapper$MapElement;[Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic org.apache.catalina.mapper.Mapper.find:([Lorg/apache/catalina/mapper/Mapper$MapElement;Ljava/lang/String;)I
istore 3
start local 3 1: iload 3
iconst_m1
if_icmpeq 7
aload 2
aload 0
iload 3
aaload
getfield org.apache.catalina.mapper.Mapper$MapElement.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
2: aload 0
iconst_0
aload 1
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
iload 3
iconst_1
iadd
aload 1
iload 3
4: aload 0
arraylength
iload 3
isub
iconst_1
isub
5: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: iconst_1
ireturn
7: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 oldMap [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 8 1 newMap [Lorg/apache/catalina/mapper/Mapper$MapElement;
0 8 2 name Ljava/lang/String;
1 8 3 pos I
Signature: <T:Ljava/lang/Object;>([Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;[Lorg/apache/catalina/mapper/Mapper$MapElement<TT;>;Ljava/lang/String;)Z
MethodParameters:
Name Flags
oldMap
newMap
name
private static java.lang.String renameWildcardHost(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
aload 0
ldc "*."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 hostName Ljava/lang/String;
MethodParameters:
Name Flags
hostName
}
SourceFile: "Mapper.java"
NestMembers:
org.apache.catalina.mapper.Mapper$ContextList org.apache.catalina.mapper.Mapper$ContextVersion org.apache.catalina.mapper.Mapper$MapElement org.apache.catalina.mapper.Mapper$MappedContext org.apache.catalina.mapper.Mapper$MappedHost org.apache.catalina.mapper.Mapper$MappedWrapper
InnerClasses:
protected final ContextList = org.apache.catalina.mapper.Mapper$ContextList of org.apache.catalina.mapper.Mapper
protected final ContextVersion = org.apache.catalina.mapper.Mapper$ContextVersion of org.apache.catalina.mapper.Mapper
protected abstract MapElement = org.apache.catalina.mapper.Mapper$MapElement of org.apache.catalina.mapper.Mapper
protected final MappedContext = org.apache.catalina.mapper.Mapper$MappedContext of org.apache.catalina.mapper.Mapper
protected final MappedHost = org.apache.catalina.mapper.Mapper$MappedHost of org.apache.catalina.mapper.Mapper
protected MappedWrapper = org.apache.catalina.mapper.Mapper$MappedWrapper of org.apache.catalina.mapper.Mapper