public class org.eclipse.jetty.util.resource.PathResource extends org.eclipse.jetty.util.resource.Resource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.resource.PathResource
super_class: org.eclipse.jetty.util.resource.Resource
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.file.LinkOption[] NO_FOLLOW_LINKS;
descriptor: [Ljava/nio/file/LinkOption;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.nio.file.LinkOption[] FOLLOW_LINKS;
descriptor: [Ljava/nio/file/LinkOption;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.nio.file.Path path;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.Path alias;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URI uri;
descriptor: Ljava/net/URI;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean belongsToDefaultFileSystem;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/resource/PathResource;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
1: iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
putstatic org.eclipse.jetty.util.resource.PathResource.NO_FOLLOW_LINKS:[Ljava/nio/file/LinkOption;
2: iconst_0
anewarray java.nio.file.LinkOption
putstatic org.eclipse.jetty.util.resource.PathResource.FOLLOW_LINKS:[Ljava/nio/file/LinkOption;
return
LocalVariableTable:
Start End Slot Name Signature
private final java.nio.file.Path checkAliasPath();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
astore 1
start local 1 1: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.uri:Ljava/net/URI;
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
invokestatic org.eclipse.jetty.util.URIUtil.equalsIgnoreEncodings:(Ljava/net/URI;Ljava/net/URI;)Z
ifne 6
2: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.uri:Ljava/net/URI;
invokestatic java.nio.file.Paths.get:(Ljava/net/URI;)Ljava/nio/file/Path;
getstatic org.eclipse.jetty.util.resource.PathResource.FOLLOW_LINKS:[Ljava/nio/file/LinkOption;
invokeinterface java.nio.file.Path.toRealPath:([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
3: areturn
4: StackMap locals: org.eclipse.jetty.util.resource.PathResource java.nio.file.Path
StackMap stack: java.io.IOException
astore 2
start local 2 5: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 2
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.nio.file.Path.isAbsolute:()Z
ifne 8
7: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
astore 1
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.isSymbolicLink:(Ljava/nio/file/Path;)Z
ifeq 11
9: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.readSymbolicLink:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
10: areturn
11: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 21
12: aload 1
getstatic org.eclipse.jetty.util.resource.PathResource.FOLLOW_LINKS:[Ljava/nio/file/LinkOption;
invokeinterface java.nio.file.Path.toRealPath:([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
astore 2
start local 2 13: aload 1
aload 2
invokestatic org.eclipse.jetty.util.resource.PathResource.isSameName:(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
ifne 21
14: aload 2
15: areturn
end local 2 16: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 17: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 2
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 18: goto 21
19: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 20: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "bad alias ({} {}) for {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
aastore
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 2 21: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/eclipse/jetty/util/resource/PathResource;
1 22 1 abs Ljava/nio/file/Path;
5 6 2 ignored Ljava/io/IOException;
13 16 2 real Ljava/nio/file/Path;
17 18 2 e Ljava/io/IOException;
20 21 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.io.IOException
8 10 16 Class java.io.IOException
11 15 16 Class java.io.IOException
8 10 19 Class java.lang.Exception
11 15 19 Class java.lang.Exception
public static boolean isSameName(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.nio.file.Path.getNameCount:()I
istore 2
start local 2 1: aload 1
invokeinterface java.nio.file.Path.getNameCount:()I
istore 3
start local 3 2: iload 2
iload 3
if_icmpeq 4
3: iconst_0
ireturn
4: StackMap locals: int int
StackMap stack:
iload 3
istore 4
start local 4 5: goto 8
6: StackMap locals: int
StackMap stack:
aload 0
iload 4
invokeinterface java.nio.file.Path.getName:(I)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aload 1
iload 4
invokeinterface java.nio.file.Path.getName:(I)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iload 4
iinc 4 -1
ifgt 6
end local 4 9: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 pathA Ljava/nio/file/Path;
0 10 1 pathB Ljava/nio/file/Path;
1 10 2 aCount I
2 10 3 bCount I
5 9 4 i I
MethodParameters:
Name Flags
pathA
pathB
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokespecial org.eclipse.jetty.util.resource.PathResource.<init>:(Ljava/nio/file/Path;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 2 1 file Ljava/io/File;
MethodParameters:
Name Flags
file
public void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jetty.util.resource.Resource.<init>:()V
1: aload 1
astore 2
start local 2 2: aload 1
getstatic org.eclipse.jetty.util.resource.PathResource.NO_FOLLOW_LINKS:[Ljava/nio/file/LinkOption;
invokeinterface java.nio.file.Path.toRealPath:([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
astore 2
3: goto 7
4: StackMap locals: org.eclipse.jetty.util.resource.PathResource java.nio.file.Path java.nio.file.Path
StackMap stack: java.lang.Throwable
astore 3
start local 3 5: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 7
6: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "Unable to get real/canonical path for {}"
aload 1
aload 3
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 3 7: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
putfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
8: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.resource.PathResource.assertValidPath:(Ljava/nio/file/Path;)V
9: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
putfield org.eclipse.jetty.util.resource.PathResource.uri:Ljava/net/URI;
10: aload 0
aload 0
invokevirtual org.eclipse.jetty.util.resource.PathResource.checkAliasPath:()Ljava/nio/file/Path;
putfield org.eclipse.jetty.util.resource.PathResource.alias:Ljava/nio/file/Path;
11: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
if_acmpne 12
iconst_1
goto 13
StackMap locals:
StackMap stack: org.eclipse.jetty.util.resource.PathResource
12: iconst_0
StackMap locals: org.eclipse.jetty.util.resource.PathResource java.nio.file.Path java.nio.file.Path
StackMap stack: org.eclipse.jetty.util.resource.PathResource int
13: putfield org.eclipse.jetty.util.resource.PathResource.belongsToDefaultFileSystem:Z
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 15 1 path Ljava/nio/file/Path;
2 15 2 absPath Ljava/nio/file/Path;
5 7 3 e Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.io.IOError
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
path
private void <init>(org.eclipse.jetty.util.resource.PathResource, java.lang.String);
descriptor: (Lorg/eclipse/jetty/util/resource/PathResource;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.eclipse.jetty.util.resource.Resource.<init>:()V
1: aload 0
aload 1
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
aload 1
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
2: aload 0
invokevirtual org.eclipse.jetty.util.resource.PathResource.isDirectory:()Z
ifeq 4
aload 2
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 4
3: new java.lang.StringBuilder
dup
aload 2
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 2
4: StackMap locals: org.eclipse.jetty.util.resource.PathResource org.eclipse.jetty.util.resource.PathResource java.lang.String
StackMap stack:
aload 0
aload 1
getfield org.eclipse.jetty.util.resource.PathResource.uri:Ljava/net/URI;
aload 2
invokestatic org.eclipse.jetty.util.URIUtil.addPath:(Ljava/net/URI;Ljava/lang/String;)Ljava/net/URI;
putfield org.eclipse.jetty.util.resource.PathResource.uri:Ljava/net/URI;
5: aload 0
aload 0
invokevirtual org.eclipse.jetty.util.resource.PathResource.checkAliasPath:()Ljava/nio/file/Path;
putfield org.eclipse.jetty.util.resource.PathResource.alias:Ljava/nio/file/Path;
6: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
if_acmpne 7
iconst_1
goto 8
StackMap locals:
StackMap stack: org.eclipse.jetty.util.resource.PathResource
7: iconst_0
StackMap locals: org.eclipse.jetty.util.resource.PathResource org.eclipse.jetty.util.resource.PathResource java.lang.String
StackMap stack: org.eclipse.jetty.util.resource.PathResource int
8: putfield org.eclipse.jetty.util.resource.PathResource.belongsToDefaultFileSystem:Z
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 10 1 parent Lorg/eclipse/jetty/util/resource/PathResource;
0 10 2 childPath Ljava/lang/String;
MethodParameters:
Name Flags
parent
childPath
public void <init>(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.jetty.util.resource.Resource.<init>:()V
1: aload 1
invokevirtual java.net.URI.isAbsolute:()Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "not an absolute uri"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.eclipse.jetty.util.resource.PathResource java.net.URI
StackMap stack:
aload 1
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 5
4: new java.lang.IllegalArgumentException
dup
ldc "not file: scheme"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 1
invokestatic java.nio.file.Paths.get:(Ljava/net/URI;)Ljava/nio/file/Path;
astore 2
start local 2 6: goto 12
end local 2 7: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 3
start local 3 8: aload 3
athrow
end local 3 9: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 10: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 3
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
11: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to build Path from: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 12: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
aload 2
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
putfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
13: aload 0
aload 2
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
putfield org.eclipse.jetty.util.resource.PathResource.uri:Ljava/net/URI;
14: aload 0
aload 0
invokevirtual org.eclipse.jetty.util.resource.PathResource.checkAliasPath:()Ljava/nio/file/Path;
putfield org.eclipse.jetty.util.resource.PathResource.alias:Ljava/nio/file/Path;
15: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
if_acmpne 16
iconst_1
goto 17
StackMap locals:
StackMap stack: org.eclipse.jetty.util.resource.PathResource
16: iconst_0
StackMap locals: org.eclipse.jetty.util.resource.PathResource java.net.URI java.nio.file.Path
StackMap stack: org.eclipse.jetty.util.resource.PathResource int
17: putfield org.eclipse.jetty.util.resource.PathResource.belongsToDefaultFileSystem:Z
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 19 1 uri Ljava/net/URI;
6 7 2 path Ljava/nio/file/Path;
12 19 2 path Ljava/nio/file/Path;
8 9 3 e Ljava/lang/IllegalArgumentException;
10 12 3 e Ljava/lang/Exception;
Exception table:
from to target type
5 6 7 Class java.lang.IllegalArgumentException
5 6 9 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
public void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
invokespecial org.eclipse.jetty.util.resource.PathResource.<init>:(Ljava/net/URI;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 2 1 url Ljava/net/URL;
Exceptions:
throws java.io.IOException, java.net.URISyntaxException
MethodParameters:
Name Flags
url
public org.eclipse.jetty.util.resource.Resource addPath(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.eclipse.jetty.util.URIUtil.canonicalPath:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.String.length:()I
ifne 3
2: StackMap locals: java.lang.String
StackMap stack:
new java.net.MalformedURLException
dup
aload 1
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
ldc "/"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 0
areturn
5: StackMap locals:
StackMap stack:
new org.eclipse.jetty.util.resource.PathResource
dup
aload 0
aload 1
invokespecial org.eclipse.jetty.util.resource.PathResource.<init>:(Lorg/eclipse/jetty/util/resource/PathResource;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 6 1 subpath Ljava/lang/String;
1 6 2 cpath Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
subpath final
private void assertValidPath(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokestatic org.eclipse.jetty.util.StringUtil.indexOfControlChars:(Ljava/lang/String;)I
istore 3
start local 3 2: iload 3
iflt 4
3: new java.nio.file.InvalidPathException
dup
aload 2
new java.lang.StringBuilder
dup
ldc "Invalid Character at index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.nio.file.InvalidPathException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.String int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 5 1 path Ljava/nio/file/Path;
1 5 2 str Ljava/lang/String;
2 5 3 idx I
MethodParameters:
Name Flags
path
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
public boolean delete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
1: ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/resource/PathResource;
3 5 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.lang.SecurityException
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.eclipse.jetty.util.resource.PathResource
astore 2
start local 2 7: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
ifnonnull 10
8: aload 2
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
ifnull 12
9: iconst_0
ireturn
10: StackMap locals: org.eclipse.jetty.util.resource.PathResource
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
aload 2
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.equals:(Ljava/lang/Object;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 13 1 obj Ljava/lang/Object;
7 13 2 other Lorg/eclipse/jetty/util/resource/PathResource;
MethodParameters:
Name Flags
obj
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
getstatic org.eclipse.jetty.util.resource.PathResource.NO_FOLLOW_LINKS:[Ljava/nio/file/LinkOption;
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
public java.io.File getFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.belongsToDefaultFileSystem:Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/PathResource;
Exceptions:
throws java.io.IOException
public java.nio.file.Path getPath();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
iconst_1
anewarray java.nio.file.OpenOption
dup
iconst_0
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
aastore
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
Exceptions:
throws java.io.IOException
public java.lang.String getName();
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.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
public java.nio.channels.ReadableByteChannel getReadableByteChannel();
descriptor: ()Ljava/nio/channels/ReadableByteChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.PathResource.newSeekableByteChannel:()Ljava/nio/channels/SeekableByteChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
Exceptions:
throws java.io.IOException
public java.nio.channels.SeekableByteChannel newSeekableByteChannel();
descriptor: ()Ljava/nio/channels/SeekableByteChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
iconst_1
anewarray java.nio.file.OpenOption
dup
iconst_0
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
aastore
invokestatic java.nio.file.Files.newByteChannel:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/SeekableByteChannel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
Exceptions:
throws java.io.IOException
public java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.uri:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
ifnonnull 2
iconst_0
goto 3
StackMap locals: org.eclipse.jetty.util.resource.PathResource int
StackMap stack: int
2: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.hashCode:()I
StackMap locals: org.eclipse.jetty.util.resource.PathResource int
StackMap stack: int int
3: iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/resource/PathResource;
1 5 1 result I
public boolean isContainedIn(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: ldc Lorg/eclipse/jetty/util/resource/PathResource;
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.jetty.util.resource.PathResource
astore 2
start local 2 1: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
aload 2
invokevirtual org.eclipse.jetty.util.resource.PathResource.getPath:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.startsWith:(Ljava/nio/file/Path;)Z
2: ireturn
end local 2 3: StackMap locals:
StackMap stack: java.lang.ClassCastException
pop
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 5 1 r Lorg/eclipse/jetty/util/resource/Resource;
1 3 2 pr Lorg/eclipse/jetty/util/resource/PathResource;
Exception table:
from to target type
0 2 3 Class java.lang.ClassCastException
MethodParameters:
Name Flags
r
public boolean isDirectory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
getstatic org.eclipse.jetty.util.resource.PathResource.FOLLOW_LINKS:[Ljava/nio/file/LinkOption;
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
public long lastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
getstatic org.eclipse.jetty.util.resource.PathResource.FOLLOW_LINKS:[Ljava/nio/file/LinkOption;
invokestatic java.nio.file.Files.getLastModifiedTime:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileTime;
astore 1
start local 1 1: aload 1
invokevirtual java.nio.file.attribute.FileTime.toMillis:()J
2: lreturn
end local 1 3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
5: lconst_0
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/resource/PathResource;
1 3 1 ft Ljava/nio/file/attribute/FileTime;
4 6 1 e Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.size:(Ljava/nio/file/Path;)J
1: lreturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/resource/PathResource;
Exception table:
from to target type
0 1 2 Class java.io.IOException
public boolean isAlias();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.alias:Ljava/nio/file/Path;
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/PathResource;
public java.nio.file.Path getAliasPath();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.alias:Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
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: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.alias:Ljava/nio/file/Path;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.alias:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
StackMap locals:
StackMap stack: java.net.URI
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/PathResource;
public java.lang.String[] list();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 3
start local 3 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 3: aload 3
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: org.eclipse.jetty.util.resource.PathResource java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.List top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 5
start local 5 5: aload 5
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 7
start local 7 6: aload 5
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 8
7: new java.lang.StringBuilder
dup
aload 7
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 7
8: StackMap locals: org.eclipse.jetty.util.resource.PathResource java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.List java.nio.file.Path java.util.Iterator java.lang.String
StackMap stack:
aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 9: StackMap locals: org.eclipse.jetty.util.resource.PathResource java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
10: aload 4
invokeinterface java.util.List.size:()I
istore 5
start local 5 11: aload 4
iload 5
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
12: aload 3
ifnull 13
aload 3
invokeinterface java.nio.file.DirectoryStream.close:()V
13: StackMap locals: org.eclipse.jetty.util.resource.PathResource java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.List int
StackMap stack: java.lang.String[]
areturn
end local 5 end local 4 StackMap locals: org.eclipse.jetty.util.resource.PathResource java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
14: astore 1
15: aload 3
ifnull 16
aload 3
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 3 StackMap locals:
StackMap stack:
16: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 2
aload 1
ifnonnull 18
aload 2
astore 1
goto 19
StackMap locals:
StackMap stack:
18: aload 1
aload 2
if_acmpeq 19
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 1
athrow
20: StackMap locals: org.eclipse.jetty.util.resource.PathResource
StackMap stack: java.nio.file.DirectoryIteratorException
astore 1
start local 1 21: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "Directory list failure"
aload 1
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 22: goto 25
23: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 24: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "Directory list access failure"
aload 1
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 25: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/eclipse/jetty/util/resource/PathResource;
2 16 3 dir Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
3 14 4 entries Ljava/util/List<Ljava/lang/String;>;
5 9 5 entry Ljava/nio/file/Path;
6 9 7 name Ljava/lang/String;
11 14 5 size I
21 22 1 e Ljava/nio/file/DirectoryIteratorException;
24 25 1 e Ljava/io/IOException;
Exception table:
from to target type
2 12 14 any
1 13 17 any
14 17 17 any
0 13 20 Class java.nio.file.DirectoryIteratorException
14 20 20 Class java.nio.file.DirectoryIteratorException
0 13 23 Class java.io.IOException
14 20 23 Class java.io.IOException
public boolean renameTo(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.eclipse.jetty.util.resource.PathResource
ifeq 8
1: aload 1
checkcast org.eclipse.jetty.util.resource.PathResource
astore 2
start local 2 2: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
aload 2
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.CopyOption
invokestatic java.nio.file.Files.move:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
astore 3
start local 3 3: aload 3
getstatic org.eclipse.jetty.util.resource.PathResource.NO_FOLLOW_LINKS:[Ljava/nio/file/LinkOption;
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
4: ireturn
end local 3 5: StackMap locals: org.eclipse.jetty.util.resource.PathResource org.eclipse.jetty.util.resource.Resource org.eclipse.jetty.util.resource.PathResource
StackMap stack: java.io.IOException
astore 3
start local 3 6: getstatic org.eclipse.jetty.util.resource.PathResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 3
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
7: iconst_0
ireturn
end local 3 end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 9 1 dest Lorg/eclipse/jetty/util/resource/Resource;
2 8 2 destRes Lorg/eclipse/jetty/util/resource/PathResource;
3 5 3 result Ljava/nio/file/Path;
6 8 3 e Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
Exceptions:
throws java.lang.SecurityException
MethodParameters:
Name Flags
dest
public void copyTo(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.PathResource.isDirectory:()Z
ifeq 3
1: aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
aload 1
invokestatic org.eclipse.jetty.util.IO.copyDir:(Ljava/io/File;Ljava/io/File;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.PathResource.path:Ljava/nio/file/Path;
aload 1
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.CopyOption
invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
pop
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/resource/PathResource;
0 5 1 destination Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
destination
public java.lang.String toString();
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.util.resource.PathResource.uri:Ljava/net/URI;
invokevirtual java.net.URI.toASCIIString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/PathResource;
}
SourceFile: "PathResource.java"