public class org.apache.catalina.webresources.CachedResource implements org.apache.catalina.WebResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.webresources.CachedResource
super_class: java.lang.Object
{
private static final long CACHE_ENTRY_SIZE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 500
private final org.apache.catalina.webresources.Cache cache;
descriptor: Lorg/apache/catalina/webresources/Cache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.catalina.webresources.StandardRoot root;
descriptor: Lorg/apache/catalina/webresources/StandardRoot;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String webAppPath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long ttl;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int objectMaxSizeBytes;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean usesClassLoaderResources;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile org.apache.catalina.WebResource webResource;
descriptor: Lorg/apache/catalina/WebResource;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile org.apache.catalina.WebResource[] webResources;
descriptor: [Lorg/apache/catalina/WebResource;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile long nextCheck;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Long cachedLastModified;
descriptor: Ljava/lang/Long;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.String cachedLastModifiedHttp;
descriptor: Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile byte[] cachedContent;
descriptor: [B
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Boolean cachedIsFile;
descriptor: Ljava/lang/Boolean;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Boolean cachedIsDirectory;
descriptor: Ljava/lang/Boolean;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Boolean cachedExists;
descriptor: Ljava/lang/Boolean;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Boolean cachedIsVirtual;
descriptor: Ljava/lang/Boolean;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Long cachedContentLength;
descriptor: Ljava/lang/Long;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(org.apache.catalina.webresources.Cache, org.apache.catalina.webresources.StandardRoot, java.lang.String, long, int, boolean);
descriptor: (Lorg/apache/catalina/webresources/Cache;Lorg/apache/catalina/webresources/StandardRoot;Ljava/lang/String;JIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.catalina.webresources.CachedResource.cachedLastModified:Ljava/lang/Long;
2: aload 0
aconst_null
putfield org.apache.catalina.webresources.CachedResource.cachedLastModifiedHttp:Ljava/lang/String;
3: aload 0
aconst_null
putfield org.apache.catalina.webresources.CachedResource.cachedContent:[B
4: aload 0
aconst_null
putfield org.apache.catalina.webresources.CachedResource.cachedIsFile:Ljava/lang/Boolean;
5: aload 0
aconst_null
putfield org.apache.catalina.webresources.CachedResource.cachedIsDirectory:Ljava/lang/Boolean;
6: aload 0
aconst_null
putfield org.apache.catalina.webresources.CachedResource.cachedExists:Ljava/lang/Boolean;
7: aload 0
aconst_null
putfield org.apache.catalina.webresources.CachedResource.cachedIsVirtual:Ljava/lang/Boolean;
8: aload 0
aconst_null
putfield org.apache.catalina.webresources.CachedResource.cachedContentLength:Ljava/lang/Long;
9: aload 0
aload 1
putfield org.apache.catalina.webresources.CachedResource.cache:Lorg/apache/catalina/webresources/Cache;
10: aload 0
aload 2
putfield org.apache.catalina.webresources.CachedResource.root:Lorg/apache/catalina/webresources/StandardRoot;
11: aload 0
aload 3
putfield org.apache.catalina.webresources.CachedResource.webAppPath:Ljava/lang/String;
12: aload 0
lload 4
putfield org.apache.catalina.webresources.CachedResource.ttl:J
13: aload 0
iload 6
putfield org.apache.catalina.webresources.CachedResource.objectMaxSizeBytes:I
14: aload 0
iload 7
putfield org.apache.catalina.webresources.CachedResource.usesClassLoaderResources:Z
15: return
end local 7 end local 6 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/apache/catalina/webresources/CachedResource;
0 16 1 cache Lorg/apache/catalina/webresources/Cache;
0 16 2 root Lorg/apache/catalina/webresources/StandardRoot;
0 16 3 path Ljava/lang/String;
0 16 4 ttl J
0 16 6 objectMaxSizeBytes I
0 16 7 usesClassLoaderResources Z
MethodParameters:
Name Flags
cache
root
path
ttl
objectMaxSizeBytes
usesClassLoaderResources
protected boolean validateResource(boolean);
descriptor: (Z)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.usesClassLoaderResources:Z
iload 1
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 2
start local 2 3: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
ifnonnull 22
4: aload 0
dup
astore 4
monitorenter
5: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
ifnonnull 18
6: aload 0
aload 0
getfield org.apache.catalina.webresources.CachedResource.root:Lorg/apache/catalina/webresources/StandardRoot;
7: aload 0
getfield org.apache.catalina.webresources.CachedResource.webAppPath:Ljava/lang/String;
iload 1
8: invokevirtual org.apache.catalina.webresources.StandardRoot.getResourceInternal:(Ljava/lang/String;Z)Lorg/apache/catalina/WebResource;
putfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
9: aload 0
invokevirtual org.apache.catalina.webresources.CachedResource.getLastModified:()J
pop2
10: aload 0
invokevirtual org.apache.catalina.webresources.CachedResource.getContentLength:()J
pop2
11: aload 0
aload 0
getfield org.apache.catalina.webresources.CachedResource.ttl:J
lload 2
ladd
putfield org.apache.catalina.webresources.CachedResource.nextCheck:J
12: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
instanceof org.apache.catalina.webresources.EmptyResource
ifeq 15
13: aload 0
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
putfield org.apache.catalina.webresources.CachedResource.cachedExists:Ljava/lang/Boolean;
14: goto 16
15: StackMap locals: long org.apache.catalina.webresources.CachedResource
StackMap stack:
aload 0
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
putfield org.apache.catalina.webresources.CachedResource.cachedExists:Ljava/lang/Boolean;
16: StackMap locals:
StackMap stack:
aload 4
monitorexit
17: iconst_1
ireturn
18: StackMap locals:
StackMap stack:
aload 4
monitorexit
19: goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
20: aload 4
monitorexit
21: athrow
22: StackMap locals:
StackMap stack:
lload 2
aload 0
getfield org.apache.catalina.webresources.CachedResource.nextCheck:J
lcmp
ifge 24
23: iconst_1
ireturn
24: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.CachedResource.root:Lorg/apache/catalina/webresources/StandardRoot;
invokevirtual org.apache.catalina.webresources.StandardRoot.isPackedWarFile:()Z
ifne 36
25: aload 0
getfield org.apache.catalina.webresources.CachedResource.root:Lorg/apache/catalina/webresources/StandardRoot;
26: aload 0
getfield org.apache.catalina.webresources.CachedResource.webAppPath:Ljava/lang/String;
iload 1
27: invokevirtual org.apache.catalina.webresources.StandardRoot.getResourceInternal:(Ljava/lang/String;Z)Lorg/apache/catalina/WebResource;
astore 4
start local 4 28: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.exists:()Z
ifne 30
aload 4
invokeinterface org.apache.catalina.WebResource.exists:()Z
ifeq 30
29: iconst_0
ireturn
30: StackMap locals: org.apache.catalina.WebResource
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getLastModified:()J
aload 0
invokevirtual org.apache.catalina.webresources.CachedResource.getLastModified:()J
lcmp
ifne 32
31: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getContentLength:()J
aload 0
invokevirtual org.apache.catalina.webresources.CachedResource.getContentLength:()J
lcmp
ifeq 33
32: StackMap locals:
StackMap stack:
iconst_0
ireturn
33: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getLastModified:()J
aload 4
invokeinterface org.apache.catalina.WebResource.getLastModified:()J
lcmp
ifne 35
34: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getContentLength:()J
aload 4
invokeinterface org.apache.catalina.WebResource.getContentLength:()J
lcmp
ifeq 36
35: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 36: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.catalina.webresources.CachedResource.ttl:J
lload 2
ladd
putfield org.apache.catalina.webresources.CachedResource.nextCheck:J
37: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/apache/catalina/webresources/CachedResource;
0 38 1 useClassLoaderResources Z
3 38 2 now J
28 36 4 webResourceInternal Lorg/apache/catalina/WebResource;
Exception table:
from to target type
5 17 20 any
18 19 20 any
20 21 20 any
MethodParameters:
Name Flags
useClassLoaderResources
protected boolean validateResources(boolean);
descriptor: (Z)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 2
start local 2 1: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResources:[Lorg/apache/catalina/WebResource;
ifnonnull 14
2: aload 0
dup
astore 4
monitorenter
3: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResources:[Lorg/apache/catalina/WebResource;
ifnonnull 10
4: aload 0
aload 0
getfield org.apache.catalina.webresources.CachedResource.root:Lorg/apache/catalina/webresources/StandardRoot;
5: aload 0
getfield org.apache.catalina.webresources.CachedResource.webAppPath:Ljava/lang/String;
iload 1
6: invokevirtual org.apache.catalina.webresources.StandardRoot.getResourcesInternal:(Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
putfield org.apache.catalina.webresources.CachedResource.webResources:[Lorg/apache/catalina/WebResource;
7: aload 0
aload 0
getfield org.apache.catalina.webresources.CachedResource.ttl:J
lload 2
ladd
putfield org.apache.catalina.webresources.CachedResource.nextCheck:J
8: aload 4
monitorexit
9: iconst_1
ireturn
10: StackMap locals: long org.apache.catalina.webresources.CachedResource
StackMap stack:
aload 4
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 4
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
lload 2
aload 0
getfield org.apache.catalina.webresources.CachedResource.nextCheck:J
lcmp
ifge 16
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.CachedResource.root:Lorg/apache/catalina/webresources/StandardRoot;
invokevirtual org.apache.catalina.webresources.StandardRoot.isPackedWarFile:()Z
ifeq 19
17: aload 0
aload 0
getfield org.apache.catalina.webresources.CachedResource.ttl:J
lload 2
ladd
putfield org.apache.catalina.webresources.CachedResource.nextCheck:J
18: iconst_1
ireturn
19: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/catalina/webresources/CachedResource;
0 20 1 useClassLoaderResources Z
1 20 2 now J
Exception table:
from to target type
3 9 12 any
10 11 12 any
12 13 12 any
MethodParameters:
Name Flags
useClassLoaderResources
protected long getNextCheck();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.nextCheck:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public long getLastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.cachedLastModified:Ljava/lang/Long;
astore 1
start local 1 1: aload 1
ifnonnull 5
2: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getLastModified:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
3: astore 1
4: aload 0
aload 1
putfield org.apache.catalina.webresources.CachedResource.cachedLastModified:Ljava/lang/Long;
5: StackMap locals: java.lang.Long
StackMap stack:
aload 1
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/webresources/CachedResource;
1 6 1 cachedLastModified Ljava/lang/Long;
public java.lang.String getLastModifiedHttp();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.cachedLastModifiedHttp:Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getLastModifiedHttp:()Ljava/lang/String;
astore 1
3: aload 0
aload 1
putfield org.apache.catalina.webresources.CachedResource.cachedLastModifiedHttp:Ljava/lang/String;
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/webresources/CachedResource;
1 5 1 cachedLastModifiedHttp Ljava/lang/String;
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.cachedExists:Ljava/lang/Boolean;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.exists:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 1
3: aload 0
aload 1
putfield org.apache.catalina.webresources.CachedResource.cachedExists:Ljava/lang/Boolean;
4: StackMap locals: java.lang.Boolean
StackMap stack:
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/webresources/CachedResource;
1 5 1 cachedExists Ljava/lang/Boolean;
public boolean isVirtual();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.cachedIsVirtual:Ljava/lang/Boolean;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.isVirtual:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 1
3: aload 0
aload 1
putfield org.apache.catalina.webresources.CachedResource.cachedIsVirtual:Ljava/lang/Boolean;
4: StackMap locals: java.lang.Boolean
StackMap stack:
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/webresources/CachedResource;
1 5 1 cachedIsVirtual Ljava/lang/Boolean;
public boolean isDirectory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.cachedIsDirectory:Ljava/lang/Boolean;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.isDirectory:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 1
3: aload 0
aload 1
putfield org.apache.catalina.webresources.CachedResource.cachedIsDirectory:Ljava/lang/Boolean;
4: StackMap locals: java.lang.Boolean
StackMap stack:
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/webresources/CachedResource;
1 5 1 cachedIsDirectory Ljava/lang/Boolean;
public boolean isFile();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.cachedIsFile:Ljava/lang/Boolean;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.isFile:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 1
3: aload 0
aload 1
putfield org.apache.catalina.webresources.CachedResource.cachedIsFile:Ljava/lang/Boolean;
4: StackMap locals: java.lang.Boolean
StackMap stack:
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/webresources/CachedResource;
1 5 1 cachedIsFile Ljava/lang/Boolean;
public boolean delete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.delete:()Z
istore 1
start local 1 1: iload 1
ifeq 3
2: aload 0
getfield org.apache.catalina.webresources.CachedResource.cache:Lorg/apache/catalina/webresources/Cache;
aload 0
getfield org.apache.catalina.webresources.CachedResource.webAppPath:Ljava/lang/String;
invokevirtual org.apache.catalina.webresources.Cache.removeCacheEntry:(Ljava/lang/String;)V
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/webresources/CachedResource;
1 4 1 deleteResult Z
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.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public long getContentLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.cachedContentLength:Ljava/lang/Long;
astore 1
start local 1 1: aload 1
ifnonnull 8
2: lconst_0
lstore 2
start local 2 3: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
ifnull 7
4: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getContentLength:()J
lstore 2
5: lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 1
6: aload 0
aload 1
putfield org.apache.catalina.webresources.CachedResource.cachedContentLength:Ljava/lang/Long;
7: StackMap locals: java.lang.Long long
StackMap stack:
lload 2
lreturn
end local 2 8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/webresources/CachedResource;
1 9 1 cachedContentLength Ljava/lang/Long;
3 8 2 result J
public java.lang.String getCanonicalPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getCanonicalPath:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public boolean canRead();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.canRead:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public java.lang.String getWebappPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webAppPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public java.lang.String getETag();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getETag:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public void setMimeType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
aload 1
invokeinterface org.apache.catalina.WebResource.setMimeType:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/webresources/CachedResource;
0 2 1 mimeType Ljava/lang/String;
MethodParameters:
Name Flags
mimeType
public java.lang.String getMimeType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getMimeType:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.webresources.CachedResource.getContent:()[B
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getInputStream:()Ljava/io/InputStream;
areturn
3: StackMap locals: byte[]
StackMap stack:
new java.io.ByteArrayInputStream
dup
aload 1
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/webresources/CachedResource;
1 4 1 content [B
public byte[] getContent();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.cachedContent:[B
astore 1
start local 1 1: aload 1
ifnonnull 6
2: aload 0
invokevirtual org.apache.catalina.webresources.CachedResource.getContentLength:()J
aload 0
getfield org.apache.catalina.webresources.CachedResource.objectMaxSizeBytes:I
i2l
lcmp
ifle 4
3: aconst_null
areturn
4: StackMap locals: byte[]
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getContent:()[B
astore 1
5: aload 0
aload 1
putfield org.apache.catalina.webresources.CachedResource.cachedContent:[B
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/webresources/CachedResource;
1 7 1 cachedContent [B
public long getCreation();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getCreation:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public java.net.URL getURL();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getURL:()Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public java.net.URL getCodeBase();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getCodeBase:()Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public java.security.cert.Certificate[] getCertificates();
descriptor: ()[Ljava/security/cert/Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getCertificates:()[Ljava/security/cert/Certificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public java.util.jar.Manifest getManifest();
descriptor: ()Ljava/util/jar/Manifest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getManifest:()Ljava/util/jar/Manifest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
public org.apache.catalina.WebResourceRoot getWebResourceRoot();
descriptor: ()Lorg/apache/catalina/WebResourceRoot;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getWebResourceRoot:()Lorg/apache/catalina/WebResourceRoot;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
org.apache.catalina.WebResource getWebResource();
descriptor: ()Lorg/apache/catalina/WebResource;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResource:Lorg/apache/catalina/WebResource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
org.apache.catalina.WebResource[] getWebResources();
descriptor: ()[Lorg/apache/catalina/WebResource;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.CachedResource.webResources:[Lorg/apache/catalina/WebResource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/CachedResource;
long getSize();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: ldc 500
lstore 1
start local 1 1: aload 0
invokevirtual org.apache.catalina.webresources.CachedResource.getContentLength:()J
aload 0
getfield org.apache.catalina.webresources.CachedResource.objectMaxSizeBytes:I
i2l
lcmp
ifgt 3
2: lload 1
aload 0
invokevirtual org.apache.catalina.webresources.CachedResource.getContentLength:()J
ladd
lstore 1
3: StackMap locals: long
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/webresources/CachedResource;
1 4 1 result J
}
SourceFile: "CachedResource.java"