public class org.eclipse.jetty.server.handler.ContextHandler$ApproveNonExistentDirectoryAliases implements org.eclipse.jetty.server.handler.ContextHandler$AliasCheck
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.server.handler.ContextHandler$ApproveNonExistentDirectoryAliases
super_class: java.lang.Object
{
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/eclipse/jetty/server/handler/ContextHandler$ApproveNonExistentDirectoryAliases;
public boolean check(java.lang.String, org.eclipse.jetty.util.resource.Resource);
descriptor: (Ljava/lang/String;Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.eclipse.jetty.util.resource.Resource.getAlias:()Ljava/net/URI;
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 3
start local 3 3: aload 2
invokevirtual org.eclipse.jetty.util.resource.Resource.getURI:()Ljava/net/URI;
invokevirtual java.net.URI.toString:()Ljava/lang/String;
astore 4
start local 4 4: aload 3
invokevirtual java.lang.String.length:()I
aload 4
invokevirtual java.lang.String.length:()I
if_icmple 7
5: aload 3
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
aload 3
invokevirtual java.lang.String.length:()I
aload 4
invokevirtual java.lang.String.length:()I
iconst_1
iadd
if_icmpne 6
aload 3
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 6
iconst_1
ireturn
StackMap locals: java.lang.String java.lang.String
StackMap stack:
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.String.length:()I
aload 4
invokevirtual java.lang.String.length:()I
if_icmpge 10
8: aload 4
aload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
aload 4
invokevirtual java.lang.String.length:()I
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
iadd
if_icmpne 9
aload 4
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/jetty/server/handler/ContextHandler$ApproveNonExistentDirectoryAliases;
0 11 1 path Ljava/lang/String;
0 11 2 resource Lorg/eclipse/jetty/util/resource/Resource;
3 11 3 a Ljava/lang/String;
4 11 4 r Ljava/lang/String;
MethodParameters:
Name Flags
path
resource
}
SourceFile: "ContextHandler.java"
NestHost: org.eclipse.jetty.server.handler.ContextHandler
InnerClasses:
public abstract AliasCheck = org.eclipse.jetty.server.handler.ContextHandler$AliasCheck of org.eclipse.jetty.server.handler.ContextHandler
public ApproveNonExistentDirectoryAliases = org.eclipse.jetty.server.handler.ContextHandler$ApproveNonExistentDirectoryAliases of org.eclipse.jetty.server.handler.ContextHandler