public class org.eclipse.jetty.server.ServletPathMapping implements jakarta.servlet.http.HttpServletMapping
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.ServletPathMapping
super_class: java.lang.Object
{
private final jakarta.servlet.http.MappingMatch _mappingMatch;
descriptor: Ljakarta/servlet/http/MappingMatch;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _matchValue;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _pattern;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _servletName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _servletPath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String _pathInfo;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$eclipse$jetty$http$pathmap$PathSpecGroup;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(org.eclipse.jetty.http.pathmap.PathSpec, java.lang.String, java.lang.String);
descriptor: (Lorg/eclipse/jetty/http/pathmap/PathSpec;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
ifnonnull 2
ldc ""
goto 3
StackMap locals: org.eclipse.jetty.server.ServletPathMapping org.eclipse.jetty.http.pathmap.PathSpec java.lang.String java.lang.String
StackMap stack: org.eclipse.jetty.server.ServletPathMapping
2: aload 2
StackMap locals: org.eclipse.jetty.server.ServletPathMapping org.eclipse.jetty.http.pathmap.PathSpec java.lang.String java.lang.String
StackMap stack: org.eclipse.jetty.server.ServletPathMapping java.lang.String
3: putfield org.eclipse.jetty.server.ServletPathMapping._servletName:Ljava/lang/String;
4: aload 0
aload 1
ifnonnull 5
aconst_null
goto 6
StackMap locals:
StackMap stack: org.eclipse.jetty.server.ServletPathMapping
5: aload 1
invokeinterface org.eclipse.jetty.http.pathmap.PathSpec.getDeclaration:()Ljava/lang/String;
StackMap locals: org.eclipse.jetty.server.ServletPathMapping org.eclipse.jetty.http.pathmap.PathSpec java.lang.String java.lang.String
StackMap stack: org.eclipse.jetty.server.ServletPathMapping java.lang.String
6: putfield org.eclipse.jetty.server.ServletPathMapping._pattern:Ljava/lang/String;
7: aload 1
instanceof org.eclipse.jetty.http.pathmap.ServletPathSpec
ifeq 48
aload 3
ifnull 48
8: invokestatic org.eclipse.jetty.server.ServletPathMapping.$SWITCH_TABLE$org$eclipse$jetty$http$pathmap$PathSpecGroup:()[I
aload 1
invokeinterface org.eclipse.jetty.http.pathmap.PathSpec.getGroup:()Lorg/eclipse/jetty/http/pathmap/PathSpecGroup;
invokevirtual org.eclipse.jetty.http.pathmap.PathSpecGroup.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 9
2: 19
3: 41
4: 26
5: 33
6: 14
default: 46
}
9: StackMap locals:
StackMap stack:
aload 0
getstatic jakarta.servlet.http.MappingMatch.CONTEXT_ROOT:Ljakarta/servlet/http/MappingMatch;
putfield org.eclipse.jetty.server.ServletPathMapping._mappingMatch:Ljakarta/servlet/http/MappingMatch;
10: aload 0
ldc ""
putfield org.eclipse.jetty.server.ServletPathMapping._matchValue:Ljava/lang/String;
11: aload 0
ldc ""
putfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
12: aload 0
ldc "/"
putfield org.eclipse.jetty.server.ServletPathMapping._pathInfo:Ljava/lang/String;
13: goto 52
14: StackMap locals:
StackMap stack:
aload 0
getstatic jakarta.servlet.http.MappingMatch.DEFAULT:Ljakarta/servlet/http/MappingMatch;
putfield org.eclipse.jetty.server.ServletPathMapping._mappingMatch:Ljakarta/servlet/http/MappingMatch;
15: aload 0
ldc ""
putfield org.eclipse.jetty.server.ServletPathMapping._matchValue:Ljava/lang/String;
16: aload 0
aload 3
putfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
17: aload 0
aconst_null
putfield org.eclipse.jetty.server.ServletPathMapping._pathInfo:Ljava/lang/String;
18: goto 52
19: StackMap locals:
StackMap stack:
aload 0
getstatic jakarta.servlet.http.MappingMatch.EXACT:Ljakarta/servlet/http/MappingMatch;
putfield org.eclipse.jetty.server.ServletPathMapping._mappingMatch:Ljakarta/servlet/http/MappingMatch;
20: aload 0
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._pattern:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._pattern:Ljava/lang/String;
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 22
StackMap locals:
StackMap stack: org.eclipse.jetty.server.ServletPathMapping
21: aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._pattern:Ljava/lang/String;
StackMap locals: org.eclipse.jetty.server.ServletPathMapping org.eclipse.jetty.http.pathmap.PathSpec java.lang.String java.lang.String
StackMap stack: org.eclipse.jetty.server.ServletPathMapping java.lang.String
22: putfield org.eclipse.jetty.server.ServletPathMapping._matchValue:Ljava/lang/String;
23: aload 0
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._pattern:Ljava/lang/String;
putfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
24: aload 0
aconst_null
putfield org.eclipse.jetty.server.ServletPathMapping._pathInfo:Ljava/lang/String;
25: goto 52
26: StackMap locals:
StackMap stack:
aload 0
getstatic jakarta.servlet.http.MappingMatch.PATH:Ljakarta/servlet/http/MappingMatch;
putfield org.eclipse.jetty.server.ServletPathMapping._mappingMatch:Ljakarta/servlet/http/MappingMatch;
27: aload 0
aload 1
invokeinterface org.eclipse.jetty.http.pathmap.PathSpec.getPrefix:()Ljava/lang/String;
putfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
28: aload 0
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 29
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 30
StackMap locals:
StackMap stack: org.eclipse.jetty.server.ServletPathMapping
29: aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
StackMap locals: org.eclipse.jetty.server.ServletPathMapping org.eclipse.jetty.http.pathmap.PathSpec java.lang.String java.lang.String
StackMap stack: org.eclipse.jetty.server.ServletPathMapping java.lang.String
30: putfield org.eclipse.jetty.server.ServletPathMapping._matchValue:Ljava/lang/String;
31: aload 0
aload 1
aload 3
invokeinterface org.eclipse.jetty.http.pathmap.PathSpec.getPathInfo:(Ljava/lang/String;)Ljava/lang/String;
putfield org.eclipse.jetty.server.ServletPathMapping._pathInfo:Ljava/lang/String;
32: goto 52
33: StackMap locals:
StackMap stack:
aload 0
getstatic jakarta.servlet.http.MappingMatch.EXTENSION:Ljakarta/servlet/http/MappingMatch;
putfield org.eclipse.jetty.server.ServletPathMapping._mappingMatch:Ljakarta/servlet/http/MappingMatch;
34: aload 3
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 35: aload 0
aload 3
aload 3
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 36
iconst_1
goto 37
StackMap locals: org.eclipse.jetty.server.ServletPathMapping org.eclipse.jetty.http.pathmap.PathSpec java.lang.String java.lang.String int
StackMap stack: org.eclipse.jetty.server.ServletPathMapping java.lang.String
36: iconst_0
StackMap locals: org.eclipse.jetty.server.ServletPathMapping org.eclipse.jetty.http.pathmap.PathSpec java.lang.String java.lang.String int
StackMap stack: org.eclipse.jetty.server.ServletPathMapping java.lang.String int
37: iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.eclipse.jetty.server.ServletPathMapping._matchValue:Ljava/lang/String;
38: aload 0
aload 3
putfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
39: aload 0
aconst_null
putfield org.eclipse.jetty.server.ServletPathMapping._pathInfo:Ljava/lang/String;
40: goto 52
end local 4 41: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.server.ServletPathMapping._mappingMatch:Ljakarta/servlet/http/MappingMatch;
42: aload 0
ldc ""
putfield org.eclipse.jetty.server.ServletPathMapping._matchValue:Ljava/lang/String;
43: aload 0
aload 3
putfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
44: aload 0
aconst_null
putfield org.eclipse.jetty.server.ServletPathMapping._pathInfo:Ljava/lang/String;
45: goto 52
46: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
47: StackMap locals:
StackMap stack:
goto 52
48: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.server.ServletPathMapping._mappingMatch:Ljakarta/servlet/http/MappingMatch;
49: aload 0
ldc ""
putfield org.eclipse.jetty.server.ServletPathMapping._matchValue:Ljava/lang/String;
50: aload 0
aload 3
putfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
51: aload 0
aconst_null
putfield org.eclipse.jetty.server.ServletPathMapping._pathInfo:Ljava/lang/String;
52: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lorg/eclipse/jetty/server/ServletPathMapping;
0 53 1 pathSpec Lorg/eclipse/jetty/http/pathmap/PathSpec;
0 53 2 servletName Ljava/lang/String;
0 53 3 pathInContext Ljava/lang/String;
35 41 4 dot I
MethodParameters:
Name Flags
pathSpec
servletName
pathInContext
public java.lang.String getMatchValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._matchValue:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/ServletPathMapping;
public java.lang.String getPattern();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._pattern:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/ServletPathMapping;
public java.lang.String getServletName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._servletName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/ServletPathMapping;
public jakarta.servlet.http.MappingMatch getMappingMatch();
descriptor: ()Ljakarta/servlet/http/MappingMatch;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._mappingMatch:Ljakarta/servlet/http/MappingMatch;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/ServletPathMapping;
public java.lang.String getServletPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/ServletPathMapping;
public java.lang.String getPathInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._pathInfo:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/server/ServletPathMapping;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ServletPathMapping{matchValue="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._matchValue:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc ", pattern="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._pattern:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc ", servletName="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._servletName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc ", mappingMatch="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._mappingMatch:Ljakarta/servlet/http/MappingMatch;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: ldc ", servletPath="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._servletPath:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc ", pathInfo="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.eclipse.jetty.server.ServletPathMapping._pathInfo:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/server/ServletPathMapping;
static int[] $SWITCH_TABLE$org$eclipse$jetty$http$pathmap$PathSpecGroup();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.eclipse.jetty.server.ServletPathMapping.$SWITCH_TABLE$org$eclipse$jetty$http$pathmap$PathSpecGroup:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.eclipse.jetty.http.pathmap.PathSpecGroup.values:()[Lorg/eclipse/jetty/http/pathmap/PathSpecGroup;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.eclipse.jetty.http.pathmap.PathSpecGroup.DEFAULT:Lorg/eclipse/jetty/http/pathmap/PathSpecGroup;
invokevirtual org.eclipse.jetty.http.pathmap.PathSpecGroup.ordinal:()I
bipush 6
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.eclipse.jetty.http.pathmap.PathSpecGroup.EXACT:Lorg/eclipse/jetty/http/pathmap/PathSpecGroup;
invokevirtual org.eclipse.jetty.http.pathmap.PathSpecGroup.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.eclipse.jetty.http.pathmap.PathSpecGroup.MIDDLE_GLOB:Lorg/eclipse/jetty/http/pathmap/PathSpecGroup;
invokevirtual org.eclipse.jetty.http.pathmap.PathSpecGroup.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.eclipse.jetty.http.pathmap.PathSpecGroup.PREFIX_GLOB:Lorg/eclipse/jetty/http/pathmap/PathSpecGroup;
invokevirtual org.eclipse.jetty.http.pathmap.PathSpecGroup.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.eclipse.jetty.http.pathmap.PathSpecGroup.ROOT:Lorg/eclipse/jetty/http/pathmap/PathSpecGroup;
invokevirtual org.eclipse.jetty.http.pathmap.PathSpecGroup.ordinal:()I
iconst_1
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.eclipse.jetty.http.pathmap.PathSpecGroup.SUFFIX_GLOB:Lorg/eclipse/jetty/http/pathmap/PathSpecGroup;
invokevirtual org.eclipse.jetty.http.pathmap.PathSpecGroup.ordinal:()I
iconst_5
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic org.eclipse.jetty.server.ServletPathMapping.$SWITCH_TABLE$org$eclipse$jetty$http$pathmap$PathSpecGroup:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "ServletPathMapping.java"