class io.dropwizard.servlets.assets.AssetServlet$CachedAsset
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.dropwizard.servlets.assets.AssetServlet$CachedAsset
super_class: java.lang.Object
{
private final byte[] resource;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String eTag;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long lastModifiedTime;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(byte[], long);
descriptor: ([BJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.servlets.assets.AssetServlet$CachedAsset.resource:[B
2: aload 0
new java.lang.StringBuilder
dup
bipush 34
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic io.dropwizard.servlets.assets.AssetServlet$CachedAsset.hash:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield io.dropwizard.servlets.assets.AssetServlet$CachedAsset.eTag:Ljava/lang/String;
3: aload 0
lload 2
putfield io.dropwizard.servlets.assets.AssetServlet$CachedAsset.lastModifiedTime:J
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/dropwizard/servlets/assets/AssetServlet$CachedAsset;
0 5 1 resource [B
0 5 2 lastModifiedTime J
MethodParameters:
Name Flags
resource
lastModifiedTime
private static java.lang.String hash(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.zip.CRC32
dup
invokespecial java.util.zip.CRC32.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.util.zip.CRC32.update:([B)V
2: aload 1
invokevirtual java.util.zip.CRC32.getValue:()J
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 resource [B
1 3 1 crc32 Ljava/util/zip/CRC32;
MethodParameters:
Name Flags
resource
public byte[] getResource();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.assets.AssetServlet$CachedAsset.resource:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet$CachedAsset;
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 io.dropwizard.servlets.assets.AssetServlet$CachedAsset.eTag:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet$CachedAsset;
public long getLastModifiedTime();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.servlets.assets.AssetServlet$CachedAsset.lastModifiedTime:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/servlets/assets/AssetServlet$CachedAsset;
}
SourceFile: "AssetServlet.java"
NestHost: io.dropwizard.servlets.assets.AssetServlet
InnerClasses:
private CachedAsset = io.dropwizard.servlets.assets.AssetServlet$CachedAsset of io.dropwizard.servlets.assets.AssetServlet