public class org.eclipse.jetty.util.resource.URLResource 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.URLResource
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
protected final org.eclipse.jetty.util.thread.AutoLock _lock;
descriptor: Lorg/eclipse/jetty/util/thread/AutoLock;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.net.URL _url;
descriptor: Ljava/net/URL;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String _urlString;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.net.URLConnection _connection;
descriptor: Ljava/net/URLConnection;
flags: (0x0004) ACC_PROTECTED
protected java.io.InputStream _in;
descriptor: Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
transient boolean _useCaches;
descriptor: Z
flags: (0x0080) ACC_TRANSIENT
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/resource/URLResource;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.net.URL, java.net.URLConnection);
descriptor: (Ljava/net/URL;Ljava/net/URLConnection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, 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
new org.eclipse.jetty.util.thread.AutoLock
dup
invokespecial org.eclipse.jetty.util.thread.AutoLock.<init>:()V
putfield org.eclipse.jetty.util.resource.URLResource._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
2: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
3: aload 0
getstatic org.eclipse.jetty.util.resource.Resource.__defaultUseCaches:Z
putfield org.eclipse.jetty.util.resource.URLResource._useCaches:Z
4: aload 0
aload 1
putfield org.eclipse.jetty.util.resource.URLResource._url:Ljava/net/URL;
5: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._url:Ljava/net/URL;
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
putfield org.eclipse.jetty.util.resource.URLResource._urlString:Ljava/lang/String;
6: aload 0
aload 2
putfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jetty/util/resource/URLResource;
0 8 1 url Ljava/net/URL;
0 8 2 connection Ljava/net/URLConnection;
MethodParameters:
Name Flags
url
connection
protected void <init>(java.net.URL, java.net.URLConnection, boolean);
descriptor: (Ljava/net/URL;Ljava/net/URLConnection;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.eclipse.jetty.util.resource.URLResource.<init>:(Ljava/net/URL;Ljava/net/URLConnection;)V
1: aload 0
iload 3
putfield org.eclipse.jetty.util.resource.URLResource._useCaches:Z
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/URLResource;
0 3 1 url Ljava/net/URL;
0 3 2 connection Ljava/net/URLConnection;
0 3 3 useCaches Z
MethodParameters:
Name Flags
url
connection
useCaches
protected boolean checkConnection();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
ifnonnull 8
3: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._url:Ljava/net/URL;
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
putfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
4: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._useCaches:Z
invokevirtual java.net.URLConnection.setUseCaches:(Z)V
5: goto 8
6: StackMap locals: org.eclipse.jetty.util.resource.URLResource java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: java.io.IOException
astore 4
start local 4 7: getstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 4
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
ifnull 9
iconst_1
goto 10
StackMap locals:
StackMap stack:
9: iconst_0
10: StackMap locals:
StackMap stack: int
aload 3
ifnull 11
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
11: StackMap locals:
StackMap stack: int
ireturn
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 1
13: aload 3
ifnull 14
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
14: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 2
aload 1
ifnonnull 16
aload 2
astore 1
goto 17
StackMap locals:
StackMap stack:
16: aload 1
aload 2
if_acmpeq 17
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/eclipse/jetty/util/resource/URLResource;
2 14 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
7 8 4 e Ljava/io/IOException;
Exception table:
from to target type
3 5 6 Class java.io.IOException
2 10 12 any
1 11 15 any
12 15 15 any
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
ifnull 8
3: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
4: goto 7
5: StackMap locals: org.eclipse.jetty.util.resource.URLResource java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: java.io.IOException
astore 4
start local 4 6: getstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 4
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
ifnull 10
9: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
10: StackMap locals:
StackMap stack:
aload 3
ifnull 16
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 1
aload 3
ifnull 12
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
12: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 2
aload 1
ifnonnull 14
aload 2
astore 1
goto 15
StackMap locals:
StackMap stack:
14: aload 1
aload 2
if_acmpeq 15
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 1
athrow
16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/jetty/util/resource/URLResource;
2 12 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
6 7 4 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
2 10 11 any
1 13 13 any
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
invokevirtual org.eclipse.jetty.util.resource.URLResource.checkConnection:()Z
ifeq 4
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
ifnonnull 4
3: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
putfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
4: StackMap locals: java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack:
aload 3
ifnull 12
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals: org.eclipse.jetty.util.resource.URLResource
StackMap stack: java.io.IOException
astore 1
start local 1 11: getstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 1
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 1 12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
ifnull 13
iconst_1
ireturn
StackMap locals:
StackMap stack:
13: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/jetty/util/resource/URLResource;
2 6 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
11 12 1 e Ljava/io/IOException;
Exception table:
from to target type
2 4 5 any
1 7 7 any
0 10 10 Class java.io.IOException
public boolean isDirectory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.URLResource.exists:()Z
ifeq 1
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._urlString:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 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/URLResource;
public long lastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.URLResource.checkConnection:()Z
ifeq 2
1: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
invokevirtual java.net.URLConnection.getLastModified:()J
lreturn
2: StackMap locals:
StackMap stack:
ldc -1
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/URLResource;
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.URLResource.checkConnection:()Z
ifeq 2
1: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
invokevirtual java.net.URLConnection.getContentLength:()I
i2l
lreturn
2: StackMap locals:
StackMap stack:
ldc -1
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/URLResource;
public java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._url:Ljava/net/URL;
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
1: areturn
2: StackMap locals:
StackMap stack: java.net.URISyntaxException
astore 1
start local 1 3: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/resource/URLResource;
3 4 1 e Ljava/net/URISyntaxException;
Exception table:
from to target type
0 1 2 Class java.net.URISyntaxException
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: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
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.URLResource._url:Ljava/net/URL;
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.eclipse.jetty.util.resource.URLResource.getInputStream:(Z)Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
Exceptions:
throws java.io.IOException
protected java.io.InputStream getInputStream(boolean);
descriptor: (Z)Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 4
start local 4 2: aload 0
invokevirtual org.eclipse.jetty.util.resource.URLResource.checkConnection:()Z
ifne 4
3: new java.io.IOException
dup
ldc "Invalid resource"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
ifnull 14
5: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
astore 5
start local 5 6: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.URLResource._in:Ljava/io/InputStream;
7: aload 5
astore 7
8: iload 1
ifeq 12
9: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
10: getstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 12
11: getstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
ldc "Connection nulled"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
12: StackMap locals: org.eclipse.jetty.util.resource.URLResource int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock java.io.InputStream top java.io.InputStream
StackMap stack:
aload 4
ifnull 13
aload 4
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
13: StackMap locals:
StackMap stack:
aload 7
areturn
end local 5 14: StackMap locals: org.eclipse.jetty.util.resource.URLResource int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
astore 7
15: iload 1
ifeq 19
16: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
17: getstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 19
18: getstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
ldc "Connection nulled"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
19: StackMap locals: org.eclipse.jetty.util.resource.URLResource int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock top top java.io.InputStream
StackMap stack:
aload 4
ifnull 20
aload 4
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
20: StackMap locals:
StackMap stack:
aload 7
areturn
21: StackMap locals: org.eclipse.jetty.util.resource.URLResource int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: java.lang.Throwable
astore 6
22: iload 1
ifeq 26
23: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.URLResource._connection:Ljava/net/URLConnection;
24: getstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 26
25: getstatic org.eclipse.jetty.util.resource.URLResource.LOG:Lorg/slf4j/Logger;
ldc "Connection nulled"
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
26: StackMap locals: org.eclipse.jetty.util.resource.URLResource int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock top java.lang.Throwable
StackMap stack:
aload 6
athrow
StackMap locals: org.eclipse.jetty.util.resource.URLResource int java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: java.lang.Throwable
27: astore 2
28: aload 4
ifnull 29
aload 4
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 4 StackMap locals:
StackMap stack:
29: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
30: astore 3
aload 2
ifnonnull 31
aload 3
astore 2
goto 32
StackMap locals:
StackMap stack:
31: aload 2
aload 3
if_acmpeq 32
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
32: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/eclipse/jetty/util/resource/URLResource;
0 33 1 resetConnection Z
2 29 4 l Lorg/eclipse/jetty/util/thread/AutoLock;
6 14 5 in Ljava/io/InputStream;
Exception table:
from to target type
4 8 21 any
14 15 21 any
2 12 27 any
14 19 27 any
21 27 27 any
1 13 30 any
14 20 30 any
21 30 30 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
resetConnection
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: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
Exceptions:
throws java.io.IOException
public boolean delete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.SecurityException
dup
ldc "Delete not supported"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
Exceptions:
throws java.lang.SecurityException
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=2, args_size=2
start local 0 start local 1 0: new java.lang.SecurityException
dup
ldc "RenameTo not supported"
invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
0 1 1 dest Lorg/eclipse/jetty/util/resource/Resource;
Exceptions:
throws java.lang.SecurityException
MethodParameters:
Name Flags
dest
public java.lang.String[] list();
descriptor: ()[Ljava/lang/String;
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/URLResource;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "Path may not be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 1
invokestatic org.eclipse.jetty.util.URIUtil.canonicalPath:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._url:Ljava/net/URL;
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
aload 1
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;
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._useCaches:Z
invokestatic org.eclipse.jetty.util.resource.URLResource.newResource:(Ljava/lang/String;Z)Lorg/eclipse/jetty/util/resource/Resource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/URLResource;
0 3 1 path Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
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.URLResource._urlString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.URLResource._urlString:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.eclipse.jetty.util.resource.URLResource
ifeq 1
aload 0
getfield org.eclipse.jetty.util.resource.URLResource._urlString:Ljava/lang/String;
aload 1
checkcast org.eclipse.jetty.util.resource.URLResource
getfield org.eclipse.jetty.util.resource.URLResource._urlString:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/resource/URLResource;
0 2 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public boolean getUseCaches();
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.URLResource._useCaches:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
public boolean isContainedIn(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/resource/URLResource;
0 1 1 containingResource Lorg/eclipse/jetty/util/resource/Resource;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
containingResource
}
SourceFile: "URLResource.java"