public abstract class org.eclipse.jetty.util.resource.Resource implements org.eclipse.jetty.util.resource.ResourceFactory, java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.jetty.util.resource.Resource
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static boolean __defaultUseCaches;
descriptor: Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
volatile java.lang.Object _associate;
descriptor: Ljava/lang/Object;
flags: (0x0040) ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/resource/Resource;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.util.resource.Resource.LOG:Lorg/slf4j/Logger;
1: iconst_1
putstatic org.eclipse.jetty.util.resource.Resource.__defaultUseCaches:Z
return
LocalVariableTable:
Start End Slot Name Signature
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/util/resource/Resource;
public static void setDefaultUseCaches(boolean);
descriptor: (Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
putstatic org.eclipse.jetty.util.resource.Resource.__defaultUseCaches:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 useCaches Z
MethodParameters:
Name Flags
useCaches
public static boolean getDefaultUseCaches();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.eclipse.jetty.util.resource.Resource.__defaultUseCaches:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static org.eclipse.jetty.util.resource.Resource newResource(java.net.URI);
descriptor: (Ljava/net/URI;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/net/URL;)Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 uri Ljava/net/URI;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
uri
public static org.eclipse.jetty.util.resource.Resource newResource(java.net.URL);
descriptor: (Ljava/net/URL;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.eclipse.jetty.util.resource.Resource.__defaultUseCaches:Z
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/net/URL;Z)Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 url Ljava/net/URL;
MethodParameters:
Name Flags
url
static org.eclipse.jetty.util.resource.Resource newResource(java.net.URL, boolean);
descriptor: (Ljava/net/URL;Z)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
4: new org.eclipse.jetty.util.resource.PathResource
dup
aload 0
invokespecial org.eclipse.jetty.util.resource.PathResource.<init>:(Ljava/net/URL;)V
5: areturn
6: StackMap locals: java.net.URL int java.lang.String
StackMap stack: java.lang.Exception
astore 3
start local 3 7: getstatic org.eclipse.jetty.util.resource.Resource.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 9
8: getstatic org.eclipse.jetty.util.resource.Resource.LOG:Lorg/slf4j/Logger;
ldc "Bad PathResource: {}"
aload 0
aload 3
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
goto 10
9: StackMap locals: java.lang.Exception
StackMap stack:
getstatic org.eclipse.jetty.util.resource.Resource.LOG:Lorg/slf4j/Logger;
ldc "Bad PathResource: {} {}"
aload 0
aload 3
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
new org.eclipse.jetty.util.resource.BadResource
dup
aload 0
aload 3
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokespecial org.eclipse.jetty.util.resource.BadResource.<init>:(Ljava/net/URL;Ljava/lang/String;)V
areturn
end local 3 11: StackMap locals:
StackMap stack:
aload 2
ldc "jar:file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
12: new org.eclipse.jetty.util.resource.JarFileResource
dup
aload 0
iload 1
invokespecial org.eclipse.jetty.util.resource.JarFileResource.<init>:(Ljava/net/URL;Z)V
areturn
13: StackMap locals:
StackMap stack:
aload 2
ldc "jar:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
14: new org.eclipse.jetty.util.resource.JarResource
dup
aload 0
iload 1
invokespecial org.eclipse.jetty.util.resource.JarResource.<init>:(Ljava/net/URL;Z)V
areturn
15: StackMap locals:
StackMap stack:
new org.eclipse.jetty.util.resource.URLResource
dup
aload 0
aconst_null
iload 1
invokespecial org.eclipse.jetty.util.resource.URLResource.<init>:(Ljava/net/URL;Ljava/net/URLConnection;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 url Ljava/net/URL;
0 16 1 useCaches Z
3 16 2 urlString Ljava/lang/String;
7 11 3 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
url
useCaches
public static org.eclipse.jetty.util.resource.Resource newResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.eclipse.jetty.util.resource.Resource.__defaultUseCaches:Z
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/lang/String;Z)Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resource Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
resource
public static org.eclipse.jetty.util.resource.Resource newResource(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new java.net.URL
dup
aload 0
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: goto 9
end local 2 2: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 3
start local 3 3: aload 0
ldc "ftp:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 7
4: aload 0
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 7
5: aload 0
ldc "jar:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 7
6: new org.eclipse.jetty.util.resource.PathResource
dup
aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokespecial org.eclipse.jetty.util.resource.PathResource.<init>:(Ljava/nio/file/Path;)V
areturn
7: StackMap locals: java.lang.String int top java.net.MalformedURLException
StackMap stack:
getstatic org.eclipse.jetty.util.resource.Resource.LOG:Lorg/slf4j/Logger;
ldc "Bad Resource: {}"
aload 0
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
8: aload 3
athrow
end local 3 start local 2 9: StackMap locals: java.lang.String int java.net.URL
StackMap stack:
aload 2
iload 1
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/net/URL;Z)Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 resource Ljava/lang/String;
0 10 1 useCaches Z
1 2 2 url Ljava/net/URL;
9 10 2 url Ljava/net/URL;
3 9 3 e Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
resource
useCaches
public static org.eclipse.jetty.util.resource.Resource newResource(java.io.File);
descriptor: (Ljava/io/File;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.eclipse.jetty.util.resource.PathResource
dup
aload 0
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokespecial org.eclipse.jetty.util.resource.PathResource.<init>:(Ljava/nio/file/Path;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
MethodParameters:
Name Flags
file
public static org.eclipse.jetty.util.resource.Resource newResource(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.eclipse.jetty.util.resource.PathResource
dup
aload 0
invokespecial org.eclipse.jetty.util.resource.PathResource.<init>:(Ljava/nio/file/Path;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
public static org.eclipse.jetty.util.resource.Resource newSystemResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 2: aload 2
ifnull 10
3: aload 2
aload 0
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 1
4: aload 1
ifnonnull 10
aload 0
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
5: aload 2
aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 1
6: goto 10
7: StackMap locals: java.lang.String java.net.URL java.lang.ClassLoader
StackMap stack: java.lang.IllegalArgumentException
astore 3
start local 3 8: getstatic org.eclipse.jetty.util.resource.Resource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 3
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
9: aconst_null
astore 1
end local 3 10: StackMap locals:
StackMap stack:
aload 1
ifnonnull 16
11: ldc Lorg/eclipse/jetty/util/resource/Resource;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 2
12: aload 2
ifnull 16
13: aload 2
aload 0
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 1
14: aload 1
ifnonnull 16
aload 0
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
15: aload 2
aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 1
16: StackMap locals:
StackMap stack:
aload 1
ifnonnull 20
17: aload 0
invokestatic java.lang.ClassLoader.getSystemResource:(Ljava/lang/String;)Ljava/net/URL;
astore 1
18: aload 1
ifnonnull 20
aload 0
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
19: aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.ClassLoader.getSystemResource:(Ljava/lang/String;)Ljava/net/URL;
astore 1
20: StackMap locals:
StackMap stack:
aload 1
ifnonnull 22
21: aconst_null
areturn
22: StackMap locals:
StackMap stack:
aload 1
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/net/URL;)Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 resource Ljava/lang/String;
1 23 1 url Ljava/net/URL;
2 23 2 loader Ljava/lang/ClassLoader;
8 10 3 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
3 6 7 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
resource
public static org.eclipse.jetty.util.resource.Resource newClassPathResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
iconst_0
invokestatic org.eclipse.jetty.util.resource.Resource.newClassPathResource:(Ljava/lang/String;ZZ)Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resource Ljava/lang/String;
MethodParameters:
Name Flags
resource
public static org.eclipse.jetty.util.resource.Resource newClassPathResource(java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;ZZ)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc Lorg/eclipse/jetty/util/resource/Resource;
aload 0
invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aload 0
invokestatic org.eclipse.jetty.util.Loader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
3: StackMap locals: java.net.URL
StackMap stack:
aload 3
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 3
iload 1
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/net/URL;Z)Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
0 6 1 useCaches Z
0 6 2 checkParents Z
1 6 3 url Ljava/net/URL;
MethodParameters:
Name Flags
name
useCaches
checkParents
public static boolean isContainedIn(org.eclipse.jetty.util.resource.Resource, org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.isContainedIn:(Lorg/eclipse/jetty/util/resource/Resource;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 r Lorg/eclipse/jetty/util/resource/Resource;
0 1 1 containingResource Lorg/eclipse/jetty/util/resource/Resource;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
r
containingResource
public abstract boolean isContainedIn(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
r
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean exists();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isDirectory();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract long lastModified();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract long length();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.io.File getFile();
descriptor: ()Ljava/io/File;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract java.nio.channels.ReadableByteChannel getReadableByteChannel();
descriptor: ()Ljava/nio/channels/ReadableByteChannel;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract boolean delete();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.SecurityException
public abstract boolean renameTo(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.lang.SecurityException
MethodParameters:
Name Flags
dest
public abstract java.lang.String[] list();
descriptor: ()[Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.eclipse.jetty.util.resource.Resource addPath(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, java.net.MalformedURLException
MethodParameters:
Name Flags
path
public org.eclipse.jetty.util.resource.Resource getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.addPath:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/Resource;
0 1 1 path Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public java.lang.Object getAssociate();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.Resource._associate:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/Resource;
public void setAssociate(java.lang.Object);
descriptor: (Ljava/lang/Object;)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.eclipse.jetty.util.resource.Resource._associate:Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/resource/Resource;
0 2 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public boolean isAlias();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getAlias:()Ljava/net/URI;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/resource/Resource;
public java.net.URI getAlias();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/Resource;
public java.lang.String getListHTML(java.lang.String, boolean, java.lang.String);
descriptor: (Ljava/lang/String;ZLjava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=23, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.eclipse.jetty.util.URIUtil.canonicalPath:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 1
ifnull 2
aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.isDirectory:()Z
ifne 3
2: StackMap locals:
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.list:()[Ljava/lang/String;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals: java.lang.String[]
StackMap stack:
iconst_1
istore 5
start local 5 7: ldc "N"
astore 6
start local 6 8: aload 3
ifnull 22
9: new org.eclipse.jetty.util.MultiMap
dup
invokespecial org.eclipse.jetty.util.MultiMap.<init>:()V
astore 7
start local 7 10: aload 3
iconst_0
aload 3
invokevirtual java.lang.String.length:()I
aload 7
invokestatic org.eclipse.jetty.util.UrlEncoded.decodeUtf8To:(Ljava/lang/String;IILorg/eclipse/jetty/util/MultiMap;)V
11: aload 7
ldc "O"
invokevirtual org.eclipse.jetty.util.MultiMap.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 12: aload 7
ldc "C"
invokevirtual org.eclipse.jetty.util.MultiMap.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 13: aload 8
invokestatic org.eclipse.jetty.util.StringUtil.isNotBlank:(Ljava/lang/String;)Z
ifeq 19
14: aload 8
ldc "A"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: iconst_1
istore 5
16: goto 19
17: StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String int java.lang.String java.lang.String[] int java.lang.String org.eclipse.jetty.util.MultiMap java.lang.String java.lang.String
StackMap stack:
aload 8
ldc "D"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
18: iconst_0
istore 5
19: StackMap locals:
StackMap stack:
aload 9
invokestatic org.eclipse.jetty.util.StringUtil.isNotBlank:(Ljava/lang/String;)Z
ifeq 22
20: aload 9
ldc "N"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
aload 9
ldc "M"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
aload 9
ldc "S"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
21: StackMap locals:
StackMap stack:
aload 9
astore 6
end local 9 end local 8 end local 7 22: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 23: aload 4
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 28
StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String int java.lang.String java.lang.String[] int java.lang.String java.util.List top int int java.lang.String[]
StackMap stack:
24: aload 11
iload 9
aaload
astore 8
start local 8 25: aload 0
aload 8
invokevirtual org.eclipse.jetty.util.resource.Resource.addPath:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 12
start local 12 26: aload 7
aload 12
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 12 end local 8 27: iinc 9 1
StackMap locals:
StackMap stack:
28: iload 9
iload 10
if_icmplt 24
29: aload 6
ldc "M"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: aload 7
iload 5
invokestatic org.eclipse.jetty.util.resource.ResourceCollators.byLastModified:(Z)Ljava/util/Comparator;
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
31: goto 36
32: StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String int java.lang.String java.lang.String[] int java.lang.String java.util.List
StackMap stack:
aload 6
ldc "S"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
33: aload 7
iload 5
invokestatic org.eclipse.jetty.util.resource.ResourceCollators.bySize:(Z)Ljava/util/Comparator;
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
34: goto 36
35: StackMap locals:
StackMap stack:
aload 7
iload 5
invokestatic org.eclipse.jetty.util.resource.ResourceCollators.byName:(Z)Ljava/util/Comparator;
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
36: StackMap locals:
StackMap stack:
aload 1
invokestatic org.eclipse.jetty.util.URIUtil.decodePath:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 37: new java.lang.StringBuilder
dup
ldc "Directory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokestatic org.eclipse.jetty.util.resource.Resource.deTag:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 38: new java.lang.StringBuilder
dup
sipush 4096
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 10
start local 10 39: aload 10
ldc "<!DOCTYPE html>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
40: aload 10
ldc "<html lang=\"en\">\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: aload 10
ldc "<head>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
42: aload 10
ldc "<meta charset=\"utf-8\">\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
43: aload 10
ldc "<link href=\"jetty-dir.css\" rel=\"stylesheet\" />\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
44: aload 10
ldc "<title>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
45: aload 10
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
46: aload 10
ldc "</title>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
47: aload 10
ldc "</head>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
48: aload 10
ldc "<body>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
49: aload 10
ldc "<h1 class=\"title\">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "</h1>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
50: aload 10
ldc "<table class=\"listing\">\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
51: aload 10
ldc "<thead>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
52: ldc ""
astore 11
start local 11 53: ldc "A"
astore 12
start local 12 54: aload 6
ldc "N"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 61
55: iload 5
ifeq 59
56: ldc "D"
astore 12
57: ldc " ⇧"
astore 11
58: goto 61
59: StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String int java.lang.String java.lang.String[] int java.lang.String java.util.List java.lang.String java.lang.String java.lang.StringBuilder java.lang.String java.lang.String
StackMap stack:
ldc "A"
astore 12
60: ldc " ⇩"
astore 11
61: StackMap locals:
StackMap stack:
aload 10
ldc "<tr><th class=\"name\"><a href=\"?C=N&O="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
62: aload 10
ldc "Name"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
63: aload 10
ldc "</a></th>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
64: ldc ""
astore 11
65: ldc "A"
astore 12
66: aload 6
ldc "M"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 73
67: iload 5
ifeq 71
68: ldc "D"
astore 12
69: ldc " ⇧"
astore 11
70: goto 73
71: StackMap locals:
StackMap stack:
ldc "A"
astore 12
72: ldc " ⇩"
astore 11
73: StackMap locals:
StackMap stack:
aload 10
ldc "<th class=\"lastmodified\"><a href=\"?C=M&O="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
74: aload 10
ldc "Last Modified"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
75: aload 10
ldc "</a></th>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
76: ldc ""
astore 11
77: ldc "A"
astore 12
78: aload 6
ldc "S"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 85
79: iload 5
ifeq 83
80: ldc "D"
astore 12
81: ldc " ⇧"
astore 11
82: goto 85
83: StackMap locals:
StackMap stack:
ldc "A"
astore 12
84: ldc " ⇩"
astore 11
85: StackMap locals:
StackMap stack:
aload 10
ldc "<th class=\"size\"><a href=\"?C=S&O="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
86: aload 10
ldc "Size"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
87: aload 10
ldc "</a></th></tr>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
88: aload 10
ldc "</thead>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
89: aload 10
ldc "<tbody>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
90: aload 1
invokestatic org.eclipse.jetty.util.resource.Resource.hrefEncodeURI:(Ljava/lang/String;)Ljava/lang/String;
astore 13
start local 13 91: iload 2
ifeq 98
92: aload 10
ldc "<tr><td class=\"name\"><a href=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
93: aload 10
aload 13
ldc "../"
invokestatic org.eclipse.jetty.util.URIUtil.addPaths:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
94: aload 10
ldc "\">Parent Directory</a></td>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
95: aload 10
ldc "<td class=\"lastmodified\">-</td>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
96: aload 10
ldc "<td>-</td>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
97: aload 10
ldc "</tr>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
98: StackMap locals: java.lang.String
StackMap stack:
iconst_2
99: iconst_2
100: invokestatic java.text.DateFormat.getDateTimeInstance:(II)Ljava/text/DateFormat;
astore 14
start local 14 101: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 16
goto 125
StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String int java.lang.String java.lang.String[] int java.lang.String java.util.List java.lang.String java.lang.String java.lang.StringBuilder java.lang.String java.lang.String java.lang.String java.text.DateFormat top java.util.Iterator
StackMap stack:
102: aload 16
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.jetty.util.resource.Resource
astore 15
start local 15 103: aload 15
invokevirtual org.eclipse.jetty.util.resource.Resource.getFileName:()Ljava/lang/String;
astore 17
start local 17 104: aload 17
invokestatic org.eclipse.jetty.util.StringUtil.isBlank:(Ljava/lang/String;)Z
ifeq 106
105: goto 125
106: StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String int java.lang.String java.lang.String[] int java.lang.String java.util.List java.lang.String java.lang.String java.lang.StringBuilder java.lang.String java.lang.String java.lang.String java.text.DateFormat org.eclipse.jetty.util.resource.Resource java.util.Iterator java.lang.String
StackMap stack:
aload 15
invokevirtual org.eclipse.jetty.util.resource.Resource.isDirectory:()Z
ifeq 108
aload 17
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 108
107: new java.lang.StringBuilder
dup
aload 17
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 17
108: StackMap locals:
StackMap stack:
aload 10
ldc "<tr><td class=\"name\"><a href=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
109: aload 13
aload 17
invokestatic org.eclipse.jetty.util.URIUtil.encodePath:(Ljava/lang/String;)Ljava/lang/String;
invokestatic org.eclipse.jetty.util.URIUtil.addEncodedPaths:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 18
start local 18 110: aload 10
aload 18
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
111: aload 10
ldc "\">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
112: aload 10
aload 17
invokestatic org.eclipse.jetty.util.resource.Resource.deTag:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
113: aload 10
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
114: aload 10
ldc "</a></td>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
115: aload 10
ldc "<td class=\"lastmodified\">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
116: aload 15
invokevirtual org.eclipse.jetty.util.resource.Resource.lastModified:()J
lstore 19
start local 19 117: lload 19
lconst_0
lcmp
ifle 119
118: aload 10
aload 14
new java.util.Date
dup
aload 15
invokevirtual org.eclipse.jetty.util.resource.Resource.lastModified:()J
invokespecial java.util.Date.<init>:(J)V
invokevirtual java.text.DateFormat.format:(Ljava/util/Date;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
119: StackMap locals: java.lang.String long
StackMap stack:
aload 10
ldc " </td>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
120: aload 10
ldc "<td class=\"size\">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
121: aload 15
invokevirtual org.eclipse.jetty.util.resource.Resource.length:()J
lstore 21
start local 21 122: lload 21
lconst_0
lcmp
iflt 124
123: aload 10
ldc "%,d bytes"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 15
invokevirtual org.eclipse.jetty.util.resource.Resource.length:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
124: StackMap locals: long
StackMap stack:
aload 10
ldc " </td></tr>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 21 end local 19 end local 18 end local 17 end local 15 125: StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String int java.lang.String java.lang.String[] int java.lang.String java.util.List java.lang.String java.lang.String java.lang.StringBuilder java.lang.String java.lang.String java.lang.String java.text.DateFormat top java.util.Iterator
StackMap stack:
aload 16
invokeinterface java.util.Iterator.hasNext:()Z
ifne 102
126: aload 10
ldc "</tbody>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
127: aload 10
ldc "</table>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
128: aload 10
ldc "</body></html>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
129: aload 10
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 130 0 this Lorg/eclipse/jetty/util/resource/Resource;
0 130 1 base Ljava/lang/String;
0 130 2 parent Z
0 130 3 query Ljava/lang/String;
4 130 4 rawListing [Ljava/lang/String;
7 130 5 sortOrderAscending Z
8 130 6 sortColumn Ljava/lang/String;
10 22 7 params Lorg/eclipse/jetty/util/MultiMap<Ljava/lang/String;>;
12 22 8 paramO Ljava/lang/String;
13 22 9 paramC Ljava/lang/String;
23 130 7 items Ljava/util/List<Lorg/eclipse/jetty/util/resource/Resource;>;
25 27 8 l Ljava/lang/String;
26 27 12 item Lorg/eclipse/jetty/util/resource/Resource;
37 130 8 decodedBase Ljava/lang/String;
38 130 9 title Ljava/lang/String;
39 130 10 buf Ljava/lang/StringBuilder;
53 130 11 arrow Ljava/lang/String;
54 130 12 order Ljava/lang/String;
91 130 13 encodedBase Ljava/lang/String;
101 130 14 dfmt Ljava/text/DateFormat;
103 125 15 item Lorg/eclipse/jetty/util/resource/Resource;
104 125 17 name Ljava/lang/String;
110 125 18 path Ljava/lang/String;
117 125 19 lastModified J
122 125 21 length J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
base
parent
query
private java.lang.String getFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getFile:()Ljava/io/File;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
invokevirtual java.io.File.getName:()Ljava/lang/String;
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.lang.Throwable
pop
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getName:()Ljava/lang/String;
astore 1
start local 1 6: aload 1
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 7: iload 2
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpne 9
8: aload 1
bipush 47
iload 2
iconst_1
isub
invokevirtual java.lang.String.lastIndexOf:(II)I
istore 2
9: StackMap locals: java.lang.String int
StackMap stack:
iload 2
iflt 12
10: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 11: goto 13
end local 3 12: StackMap locals:
StackMap stack:
aload 1
astore 3
start local 3 13: StackMap locals: java.lang.String
StackMap stack:
aload 3
iconst_0
aload 3
invokevirtual java.lang.String.length:()I
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic org.eclipse.jetty.util.UrlEncoded.decodeString:(Ljava/lang/String;IILjava/nio/charset/Charset;)Ljava/lang/String;
14: areturn
end local 3 end local 2 end local 1 15: StackMap locals: org.eclipse.jetty.util.resource.Resource
StackMap stack: java.lang.Throwable
pop
16: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jetty/util/resource/Resource;
1 4 1 file Ljava/io/File;
6 15 1 rawName Ljava/lang/String;
7 15 2 idx I
11 12 3 encodedFileName Ljava/lang/String;
13 15 3 encodedFileName Ljava/lang/String;
Exception table:
from to target type
0 3 4 Class java.lang.Throwable
5 14 15 Class java.lang.Throwable
private static java.lang.String hrefEncodeURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
lookupswitch { // 4
34: 5
39: 5
60: 5
62: 5
default: 7
}
5: StackMap locals: int
StackMap stack:
new java.lang.StringBuffer
dup
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
ishl
invokespecial java.lang.StringBuffer.<init>:(I)V
astore 1
6: goto 9
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 9: StackMap locals:
StackMap stack:
aload 1
ifnonnull 11
10: aload 0
areturn
11: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 12: goto 25
13: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 14: iload 3
lookupswitch { // 4
34: 15
39: 17
60: 19
62: 21
default: 23
}
15: StackMap locals: int
StackMap stack:
aload 1
ldc "%22"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
16: goto 24
17: StackMap locals:
StackMap stack:
aload 1
ldc "%27"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
18: goto 24
19: StackMap locals:
StackMap stack:
aload 1
ldc "%3C"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
20: goto 24
21: StackMap locals:
StackMap stack:
aload 1
ldc "%3E"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
22: goto 24
23: StackMap locals:
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 3 24: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
25: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 13
end local 2 26: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 raw Ljava/lang/String;
1 27 1 buf Ljava/lang/StringBuffer;
2 9 2 i I
4 7 3 c C
12 26 2 i I
14 24 3 c C
MethodParameters:
Name Flags
raw
private static java.lang.String deTag(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.jetty.util.StringUtil.sanitizeXmlString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 raw Ljava/lang/String;
MethodParameters:
Name Flags
raw
public void copyTo(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.exists:()Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " exists"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getFile:()Ljava/io/File;
astore 2
start local 2 3: aload 2
ifnull 8
4: aload 2
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
aload 1
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
iconst_3
anewarray java.nio.file.CopyOption
dup
iconst_0
5: getstatic java.nio.file.StandardCopyOption.ATOMIC_MOVE:Ljava/nio/file/StandardCopyOption;
aastore
dup
iconst_1
getstatic java.nio.file.StandardCopyOption.COPY_ATTRIBUTES:Ljava/nio/file/StandardCopyOption;
aastore
dup
iconst_2
getstatic java.nio.file.StandardCopyOption.REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
aastore
6: invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
pop
7: return
8: StackMap locals: java.io.File
StackMap stack:
aconst_null
astore 3
aconst_null
astore 4
9: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getInputStream:()Ljava/io/InputStream;
astore 5
start local 5 10: new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 6
start local 6 11: aload 5
aload 6
invokestatic org.eclipse.jetty.util.IO.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
12: aload 6
ifnull 15
aload 6
invokevirtual java.io.OutputStream.close:()V
goto 15
StackMap locals: org.eclipse.jetty.util.resource.Resource java.io.File java.io.File java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.OutputStream
StackMap stack: java.lang.Throwable
13: astore 3
aload 6
ifnull 14
aload 6
invokevirtual java.io.OutputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
14: aload 3
athrow
StackMap locals:
StackMap stack:
15: aload 5
ifnull 23
aload 5
invokevirtual java.io.InputStream.close:()V
goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 4
aload 3
ifnonnull 17
aload 4
astore 3
goto 18
StackMap locals:
StackMap stack:
17: aload 3
aload 4
if_acmpeq 18
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 5
ifnull 19
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
19: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 4
aload 3
ifnonnull 21
aload 4
astore 3
goto 22
StackMap locals:
StackMap stack:
21: aload 3
aload 4
if_acmpeq 22
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 3
athrow
23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/eclipse/jetty/util/resource/Resource;
0 24 1 destination Ljava/io/File;
3 24 2 src Ljava/io/File;
10 19 5 in Ljava/io/InputStream;
11 14 6 out Ljava/io/OutputStream;
Exception table:
from to target type
11 12 13 any
10 15 16 any
9 20 20 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
destination
public java.lang.String getWeakETag();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ""
invokevirtual org.eclipse.jetty.util.resource.Resource.getWeakETag:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/Resource;
public java.lang.String getWeakETag(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
bipush 32
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 1: aload 2
ldc "W/\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getName:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
invokevirtual java.lang.String.length:()I
istore 4
start local 4 4: lconst_0
lstore 5
start local 5 5: iconst_0
istore 7
start local 7 6: goto 9
7: StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String java.lang.StringBuilder java.lang.String int long int
StackMap stack:
ldc 31
lload 5
lmul
aload 3
iload 7
invokevirtual java.lang.String.charAt:(I)C
i2l
ladd
lstore 5
8: iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
iload 4
if_icmplt 7
end local 7 10: invokestatic java.util.Base64.getEncoder:()Ljava/util/Base64$Encoder;
invokevirtual java.util.Base64$Encoder.withoutPadding:()Ljava/util/Base64$Encoder;
astore 7
start local 7 11: aload 2
aload 7
aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.lastModified:()J
lload 5
lxor
invokestatic org.eclipse.jetty.util.resource.Resource.longToBytes:(J)[B
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 2
aload 7
aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.length:()J
lload 5
lxor
invokestatic org.eclipse.jetty.util.resource.Resource.longToBytes:(J)[B
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 2
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 2
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
15: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 7 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 16 0 this Lorg/eclipse/jetty/util/resource/Resource;
0 16 1 suffix Ljava/lang/String;
1 16 2 b Ljava/lang/StringBuilder;
3 16 3 name Ljava/lang/String;
4 16 4 length I
5 16 5 lhash J
6 10 7 i I
11 16 7 encoder Ljava/util/Base64$Encoder;
MethodParameters:
Name Flags
suffix
private static byte[] longToBytes(long);
descriptor: (J)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: bipush 8
newarray 8
astore 2
start local 2 1: bipush 7
istore 3
start local 3 2: goto 6
3: StackMap locals: byte[] int
StackMap stack:
aload 2
iload 3
lload 0
ldc 255
land
l2i
i2b
bastore
4: lload 0
bipush 8
lshr
lstore 0
5: iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
ifge 3
end local 3 7: aload 2
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 value J
1 8 2 result [B
2 7 3 i I
MethodParameters:
Name Flags
value
public java.util.Collection<org.eclipse.jetty.util.resource.Resource> getAllResources();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.list:()[Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 11
3: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: org.eclipse.jetty.util.resource.Resource java.util.ArrayList java.lang.String[] top int int java.lang.String[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 0
aload 3
invokevirtual org.eclipse.jetty.util.resource.Resource.addPath:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 7
start local 7 6: aload 7
invokevirtual org.eclipse.jetty.util.resource.Resource.isDirectory:()Z
ifeq 8
7: aload 1
aload 7
invokevirtual org.eclipse.jetty.util.resource.Resource.getAllResources:()Ljava/util/Collection;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
goto 9
8: StackMap locals: org.eclipse.jetty.util.resource.Resource java.util.ArrayList java.lang.String[] java.lang.String int int java.lang.String[] org.eclipse.jetty.util.resource.Resource
StackMap stack:
aload 1
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 3 9: StackMap locals: org.eclipse.jetty.util.resource.Resource java.util.ArrayList java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 4
end local 2 11: StackMap locals: org.eclipse.jetty.util.resource.Resource java.util.ArrayList
StackMap stack:
aload 1
12: areturn
end local 1 13: StackMap locals: org.eclipse.jetty.util.resource.Resource
StackMap stack: java.lang.Exception
astore 1
start local 1 14: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/util/resource/Resource;
1 13 1 deep Ljava/util/ArrayList<Lorg/eclipse/jetty/util/resource/Resource;>;
2 11 2 list [Ljava/lang/String;
5 9 3 i Ljava/lang/String;
6 9 7 r Lorg/eclipse/jetty/util/resource/Resource;
14 15 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 12 13 Class java.lang.Exception
Signature: ()Ljava/util/Collection<Lorg/eclipse/jetty/util/resource/Resource;>;
public static java.net.URL toURL(java.io.File);
descriptor: (Ljava/io/File;)Ljava/net/URL;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
file
public static java.util.List<org.eclipse.jetty.util.resource.Resource> fromList(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokedynamic getResource()Lorg/eclipse/jetty/util/resource/ResourceFactory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
org/eclipse/jetty/util/resource/Resource.newResource(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource; (6)
(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
invokestatic org.eclipse.jetty.util.resource.Resource.fromList:(Ljava/lang/String;ZLorg/eclipse/jetty/util/resource/ResourceFactory;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 resources Ljava/lang/String;
0 1 1 globDirs Z
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Z)Ljava/util/List<Lorg/eclipse/jetty/util/resource/Resource;>;
MethodParameters:
Name Flags
resources
globDirs
public static java.util.List<org.eclipse.jetty.util.resource.Resource> fromList(java.lang.String, boolean, org.eclipse.jetty.util.resource.ResourceFactory);
descriptor: (Ljava/lang/String;ZLorg/eclipse/jetty/util/resource/ResourceFactory;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.eclipse.jetty.util.StringUtil.isBlank:(Ljava/lang/String;)Z
ifeq 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: new java.util.StringTokenizer
dup
aload 0
ldc ",;"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 4: goto 28
5: StackMap locals: java.util.List java.util.StringTokenizer
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 5
start local 5 6: aload 5
ldc "/*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 7
aload 5
ldc "\\*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 27
7: StackMap locals: java.lang.String
StackMap stack:
aload 5
iconst_0
aload 5
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 8: aload 2
aload 6
invokeinterface org.eclipse.jetty.util.resource.ResourceFactory.getResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 7
start local 7 9: aload 7
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
ifeq 28
aload 7
invokevirtual org.eclipse.jetty.util.resource.Resource.isDirectory:()Z
ifeq 28
10: aload 7
invokevirtual org.eclipse.jetty.util.resource.Resource.list:()[Ljava/lang/String;
astore 8
start local 8 11: aload 8
ifnull 28
12: aload 8
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
13: aload 8
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 25
StackMap locals: java.lang.String int org.eclipse.jetty.util.resource.ResourceFactory java.util.List java.util.StringTokenizer java.lang.String java.lang.String org.eclipse.jetty.util.resource.Resource java.lang.String[] top int int java.lang.String[]
StackMap stack:
14: aload 12
iload 10
aaload
astore 9
start local 9 15: aload 7
aload 9
invokevirtual org.eclipse.jetty.util.resource.Resource.addPath:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
astore 13
start local 13 16: aload 13
invokevirtual org.eclipse.jetty.util.resource.Resource.isDirectory:()Z
ifne 19
17: aload 3
aload 13
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: goto 24
19: StackMap locals: java.lang.String int org.eclipse.jetty.util.resource.ResourceFactory java.util.List java.util.StringTokenizer java.lang.String java.lang.String org.eclipse.jetty.util.resource.Resource java.lang.String[] java.lang.String int int java.lang.String[] org.eclipse.jetty.util.resource.Resource
StackMap stack:
iload 1
ifeq 24
20: aload 3
aload 13
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 13 21: goto 24
22: StackMap locals: java.lang.String int org.eclipse.jetty.util.resource.ResourceFactory java.util.List java.util.StringTokenizer java.lang.String java.lang.String org.eclipse.jetty.util.resource.Resource java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack: java.lang.Exception
astore 13
start local 13 23: getstatic org.eclipse.jetty.util.resource.Resource.LOG:Lorg/slf4j/Logger;
ldc "Bad glob [{}] entry: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 9
aastore
dup
iconst_2
aload 13
aastore
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 13 end local 9 24: StackMap locals: java.lang.String int org.eclipse.jetty.util.resource.ResourceFactory java.util.List java.util.StringTokenizer java.lang.String java.lang.String org.eclipse.jetty.util.resource.Resource java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
25: iload 10
iload 11
if_icmplt 14
end local 8 end local 7 end local 6 26: goto 28
27: StackMap locals: java.lang.String int org.eclipse.jetty.util.resource.ResourceFactory java.util.List java.util.StringTokenizer java.lang.String
StackMap stack:
aload 3
aload 2
aload 5
invokeinterface org.eclipse.jetty.util.resource.ResourceFactory.getResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 28: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 5
29: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 resources Ljava/lang/String;
0 30 1 globDirs Z
0 30 2 resourceFactory Lorg/eclipse/jetty/util/resource/ResourceFactory;
3 30 3 returnedResources Ljava/util/List<Lorg/eclipse/jetty/util/resource/Resource;>;
4 30 4 tokenizer Ljava/util/StringTokenizer;
6 28 5 token Ljava/lang/String;
8 26 6 dir Ljava/lang/String;
9 26 7 dirResource Lorg/eclipse/jetty/util/resource/Resource;
11 26 8 entries [Ljava/lang/String;
15 24 9 entry Ljava/lang/String;
16 21 13 resource Lorg/eclipse/jetty/util/resource/Resource;
23 24 13 ex Ljava/lang/Exception;
Exception table:
from to target type
15 21 22 Class java.lang.Exception
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;ZLorg/eclipse/jetty/util/resource/ResourceFactory;)Ljava/util/List<Lorg/eclipse/jetty/util/resource/Resource;>;
MethodParameters:
Name Flags
resources
globDirs
resourceFactory
}
SourceFile: "Resource.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Encoder = java.util.Base64$Encoder of java.util.Base64