public class org.glassfish.grizzly.http.server.util.AlternateDocBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.util.AlternateDocBase
super_class: java.lang.Object
{
private java.lang.String pattern;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType patternType;
descriptor: Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
flags: (0x0002) ACC_PRIVATE
private int patternSlashCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String docBase;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String basePath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String patternSuffix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String wildcardPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.http.server.naming.DirContext resources;
descriptor: Lorg/glassfish/grizzly/http/server/naming/DirContext;
flags: (0x0002) ACC_PRIVATE
private org.glassfish.grizzly.http.server.naming.DirContext webappResources;
descriptor: Lorg/glassfish/grizzly/http/server/naming/DirContext;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public void setUrlPattern(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.pattern:Ljava/lang/String;
1: aload 0
aload 1
invokestatic org.glassfish.grizzly.http.server.util.AlternateDocBase.getSlashCount:(Ljava/lang/String;)I
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.patternSlashCount:I
2: aload 1
ldc "/*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 6
3: aload 0
getstatic org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType.WILDCARD:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.patternType:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
4: aload 0
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.wildcardPath:Ljava/lang/String;
5: goto 11
StackMap locals:
StackMap stack:
6: aload 1
ldc "*."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
7: aload 0
getstatic org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType.EXTENSION:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.patternType:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
8: aload 0
aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.patternSuffix:Ljava/lang/String;
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
getstatic org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType.EXACT:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.patternType:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
0 12 1 urlPattern Ljava/lang/String;
MethodParameters:
Name Flags
urlPattern
public java.lang.String getUrlPattern();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.AlternateDocBase.pattern:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType getUrlPatternType();
descriptor: ()Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.AlternateDocBase.patternType:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public int getUrlPatternSlashCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.AlternateDocBase.patternSlashCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public java.lang.String getUrlPatternSuffix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.AlternateDocBase.patternSuffix:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public java.lang.String getUrlPatternWildcardPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.AlternateDocBase.wildcardPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public void setDocBase(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.docBase:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
0 2 1 docBase Ljava/lang/String;
MethodParameters:
Name Flags
docBase
public java.lang.String getDocBase();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.AlternateDocBase.docBase:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public void setBasePath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.basePath:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
0 2 1 basePath Ljava/lang/String;
MethodParameters:
Name Flags
basePath
public java.lang.String getBasePath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.AlternateDocBase.basePath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public void setResources(org.glassfish.grizzly.http.server.naming.DirContext);
descriptor: (Lorg/glassfish/grizzly/http/server/naming/DirContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.resources:Lorg/glassfish/grizzly/http/server/naming/DirContext;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
0 2 1 resources Lorg/glassfish/grizzly/http/server/naming/DirContext;
MethodParameters:
Name Flags
resources
public org.glassfish.grizzly.http.server.naming.DirContext getResources();
descriptor: ()Lorg/glassfish/grizzly/http/server/naming/DirContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.AlternateDocBase.resources:Lorg/glassfish/grizzly/http/server/naming/DirContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public void setWebappResources(org.glassfish.grizzly.http.server.naming.DirContext);
descriptor: (Lorg/glassfish/grizzly/http/server/naming/DirContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.util.AlternateDocBase.webappResources:Lorg/glassfish/grizzly/http/server/naming/DirContext;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
0 2 1 webappResources Lorg/glassfish/grizzly/http/server/naming/DirContext;
MethodParameters:
Name Flags
webappResources
public org.glassfish.grizzly.http.server.naming.DirContext getWebappResources();
descriptor: ()Lorg/glassfish/grizzly/http/server/naming/DirContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.util.AlternateDocBase.webappResources:Lorg/glassfish/grizzly/http/server/naming/DirContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
public static org.glassfish.grizzly.http.server.util.AlternateDocBase findMatch(java.lang.String, java.util.List<org.glassfish.grizzly.http.server.util.AlternateDocBase>);
descriptor: (Ljava/lang/String;Ljava/util/List;)Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=13, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: aload 0
invokestatic org.glassfish.grizzly.http.server.util.AlternateDocBase.getSlashCount:(Ljava/lang/String;)I
istore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 25
9: StackMap locals: java.lang.String java.util.List org.glassfish.grizzly.http.server.util.AlternateDocBase org.glassfish.grizzly.http.server.util.AlternateDocBase org.glassfish.grizzly.http.server.util.AlternateDocBase int int int
StackMap stack:
aload 1
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.util.AlternateDocBase
astore 8
start local 8 10: aload 8
invokevirtual org.glassfish.grizzly.http.server.util.AlternateDocBase.getUrlPattern:()Ljava/lang/String;
astore 9
start local 9 11: aload 8
invokevirtual org.glassfish.grizzly.http.server.util.AlternateDocBase.getUrlPatternSlashCount:()I
istore 10
start local 10 12: aload 8
invokevirtual org.glassfish.grizzly.http.server.util.AlternateDocBase.getUrlPatternType:()Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
astore 11
start local 11 13: aload 8
invokevirtual org.glassfish.grizzly.http.server.util.AlternateDocBase.getUrlPatternWildcardPath:()Ljava/lang/String;
astore 12
start local 12 14: aload 11
getstatic org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType.EXACT:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
if_acmpne 17
aload 0
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 8
astore 2
16: goto 26
17: StackMap locals: java.lang.String java.util.List org.glassfish.grizzly.http.server.util.AlternateDocBase org.glassfish.grizzly.http.server.util.AlternateDocBase org.glassfish.grizzly.http.server.util.AlternateDocBase int int int org.glassfish.grizzly.http.server.util.AlternateDocBase java.lang.String int org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType java.lang.String
StackMap stack:
aload 11
getstatic org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType.WILDCARD:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
if_acmpne 22
iload 6
iload 10
if_icmplt 22
iload 10
iload 5
if_icmple 22
18: aload 0
aload 12
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
19: aload 8
astore 3
20: iload 10
istore 5
21: goto 24
StackMap locals:
StackMap stack:
22: aload 11
getstatic org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType.EXTENSION:Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
if_acmpne 24
aload 0
aload 8
invokevirtual org.glassfish.grizzly.http.server.util.AlternateDocBase.getUrlPatternSuffix:()Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 24
23: aload 8
astore 4
end local 12 end local 11 end local 10 end local 9 end local 8 24: StackMap locals: java.lang.String java.util.List org.glassfish.grizzly.http.server.util.AlternateDocBase org.glassfish.grizzly.http.server.util.AlternateDocBase org.glassfish.grizzly.http.server.util.AlternateDocBase int int int
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
25: iload 7
aload 1
invokeinterface java.util.List.size:()I
if_icmplt 9
end local 7 26: StackMap locals:
StackMap stack:
aload 2
ifnonnull 31
27: aload 3
ifnull 30
28: aload 3
astore 2
29: goto 31
30: StackMap locals:
StackMap stack:
aload 4
astore 2
31: StackMap locals:
StackMap stack:
aload 2
areturn
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 32 0 path Ljava/lang/String;
0 32 1 alternateDocBases Ljava/util/List<Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;>;
3 32 2 match Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
4 32 3 wildcardMatch Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
5 32 4 extensionMatch Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
6 32 5 maxSlashCountMatch I
7 32 6 pathSlashCount I
8 26 7 i I
10 24 8 alternateDocBase Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
11 24 9 pattern Ljava/lang/String;
12 24 10 patternSlashCount I
13 24 11 type Lorg/glassfish/grizzly/http/server/util/AlternateDocBase$UrlPatternType;
14 24 12 wildcardPath Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/List<Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;>;)Lorg/glassfish/grizzly/http/server/util/AlternateDocBase;
MethodParameters:
Name Flags
path
alternateDocBases
private static int getSlashCount(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
ifnull 7
2: aload 0
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 3: goto 6
4: StackMap locals: int int
StackMap stack:
iinc 1 1
5: aload 0
bipush 47
iload 2
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 2
6: StackMap locals:
StackMap stack:
iload 2
ifge 4
end local 2 7: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 s Ljava/lang/String;
1 8 1 count I
3 7 2 index I
MethodParameters:
Name Flags
s
}
SourceFile: "AlternateDocBase.java"
NestMembers:
org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType
InnerClasses:
final UrlPatternType = org.glassfish.grizzly.http.server.util.AlternateDocBase$UrlPatternType of org.glassfish.grizzly.http.server.util.AlternateDocBase