public class org.springframework.boot.actuate.logging.LogFileWebEndpoint
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.actuate.logging.LogFileWebEndpoint
super_class: java.lang.Object
{
private static final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.io.File externalFile;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private final org.springframework.boot.logging.LogFile logFile;
descriptor: Lorg/springframework/boot/logging/LogFile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/springframework/boot/actuate/logging/LogFileWebEndpoint;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.springframework.boot.actuate.logging.LogFileWebEndpoint.logger:Lorg/apache/commons/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.springframework.boot.logging.LogFile, java.io.File);
descriptor: (Lorg/springframework/boot/logging/LogFile;Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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 2
putfield org.springframework.boot.actuate.logging.LogFileWebEndpoint.externalFile:Ljava/io/File;
2: aload 0
aload 1
putfield org.springframework.boot.actuate.logging.LogFileWebEndpoint.logFile:Lorg/springframework/boot/logging/LogFile;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/actuate/logging/LogFileWebEndpoint;
0 4 1 logFile Lorg/springframework/boot/logging/LogFile;
0 4 2 externalFile Ljava/io/File;
MethodParameters:
Name Flags
logFile
externalFile
public org.springframework.core.io.Resource logFile();
descriptor: ()Lorg/springframework/core/io/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.boot.actuate.logging.LogFileWebEndpoint.getLogFileResource:()Lorg/springframework/core/io/Resource;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface org.springframework.core.io.Resource.isReadable:()Z
ifne 3
2: StackMap locals: org.springframework.core.io.Resource
StackMap stack:
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/actuate/logging/LogFileWebEndpoint;
1 4 1 logFileResource Lorg/springframework/core/io/Resource;
RuntimeVisibleAnnotations:
org.springframework.boot.actuate.endpoint.annotation.ReadOperation(produces = {"text/plain; charset=UTF-8"})
private org.springframework.core.io.Resource getLogFileResource();
descriptor: ()Lorg/springframework/core/io/Resource;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.actuate.logging.LogFileWebEndpoint.externalFile:Ljava/io/File;
ifnull 2
1: new org.springframework.core.io.FileSystemResource
dup
aload 0
getfield org.springframework.boot.actuate.logging.LogFileWebEndpoint.externalFile:Ljava/io/File;
invokespecial org.springframework.core.io.FileSystemResource.<init>:(Ljava/io/File;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.actuate.logging.LogFileWebEndpoint.logFile:Lorg/springframework/boot/logging/LogFile;
ifnonnull 5
3: getstatic org.springframework.boot.actuate.logging.LogFileWebEndpoint.logger:Lorg/apache/commons/logging/Log;
ldc "Missing 'logging.file.name' or 'logging.file.path' properties"
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
new org.springframework.core.io.FileSystemResource
dup
aload 0
getfield org.springframework.boot.actuate.logging.LogFileWebEndpoint.logFile:Lorg/springframework/boot/logging/LogFile;
invokevirtual org.springframework.boot.logging.LogFile.toString:()Ljava/lang/String;
invokespecial org.springframework.core.io.FileSystemResource.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/actuate/logging/LogFileWebEndpoint;
}
SourceFile: "LogFileWebEndpoint.java"
RuntimeVisibleAnnotations:
org.springframework.boot.actuate.endpoint.web.annotation.WebEndpoint(id = "logfile")