final class io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry
super_class: java.lang.Object
{
final io.vertx.core.file.FileProps props;
descriptor: Lio/vertx/core/file/FileProps;
flags: (0x0010) ACC_FINAL
long createDate;
descriptor: J
flags: (0x0000)
final io.vertx.ext.web.handler.impl.StaticHandlerImpl this$0;
descriptor: Lio/vertx/ext/web/handler/impl/StaticHandlerImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(io.vertx.ext.web.handler.impl.StaticHandlerImpl, io.vertx.core.file.FileProps, long);
descriptor: (Lio/vertx/ext/web/handler/impl/StaticHandlerImpl;Lio/vertx/core/file/FileProps;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry.this$0:Lio/vertx/ext/web/handler/impl/StaticHandlerImpl;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry.props:Lio/vertx/core/file/FileProps;
2: aload 0
lload 3
putfield io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry.createDate:J
3: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/ext/web/handler/impl/StaticHandlerImpl$CacheEntry;
0 4 2 props Lio/vertx/core/file/FileProps;
0 4 3 createDate J
MethodParameters:
Name Flags
this$0 final
props
createDate
boolean shouldUseCached(io.vertx.core.http.HttpServerRequest);
descriptor: (Lio/vertx/core/http/HttpServerRequest;)Z
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.HttpServerRequest.headers:()Lio/vertx/core/MultiMap;
ldc "if-modified-since"
invokeinterface io.vertx.core.MultiMap.get:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry.this$0:Lio/vertx/ext/web/handler/impl/StaticHandlerImpl;
aload 2
invokevirtual io.vertx.ext.web.handler.impl.StaticHandlerImpl.parseDate:(Ljava/lang/String;)Ljava/util/Date;
astore 3
start local 3 4: aload 0
getfield io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry.props:Lio/vertx/core/file/FileProps;
invokeinterface io.vertx.core.file.FileProps.lastModifiedTime:()J
invokestatic io.vertx.ext.web.impl.Utils.secondsFactor:(J)J
aload 3
invokevirtual java.util.Date.getTime:()J
lcmp
ifle 5
iconst_1
goto 6
StackMap locals: java.util.Date
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 4
start local 4 7: iload 4
ifeq 8
iconst_0
goto 9
StackMap locals: int
StackMap stack:
8: iconst_1
StackMap locals:
StackMap stack: int
9: ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/ext/web/handler/impl/StaticHandlerImpl$CacheEntry;
0 10 1 request Lio/vertx/core/http/HttpServerRequest;
1 10 2 ifModifiedSince Ljava/lang/String;
4 10 3 ifModifiedSinceDate Ljava/util/Date;
7 10 4 modifiedSince Z
MethodParameters:
Name Flags
request
boolean isOutOfDate();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.currentTimeMillis:()J
aload 0
getfield io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry.createDate:J
lsub
aload 0
getfield io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry.this$0:Lio/vertx/ext/web/handler/impl/StaticHandlerImpl;
getfield io.vertx.ext.web.handler.impl.StaticHandlerImpl.cacheEntryTimeout:J
lcmp
ifle 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 Lio/vertx/ext/web/handler/impl/StaticHandlerImpl$CacheEntry;
}
SourceFile: "StaticHandlerImpl.java"
NestHost: io.vertx.ext.web.handler.impl.StaticHandlerImpl
InnerClasses:
private final CacheEntry = io.vertx.ext.web.handler.impl.StaticHandlerImpl$CacheEntry of io.vertx.ext.web.handler.impl.StaticHandlerImpl