public class org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder
super_class: java.lang.Object
{
private org.glassfish.grizzly.http.server.accesslog.AccessLogFormat format;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
flags: (0x0002) ACC_PRIVATE
private int statusThreshold;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String rotationPattern;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean synchronous;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.io.File file;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.COMBINED:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
2: aload 0
ldc -2147483648
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.statusThreshold:I
3: aload 1
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "Null file"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder java.lang.String
StackMap stack:
aload 0
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.file:Ljava/io/File;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 7 1 file Ljava/lang/String;
MethodParameters:
Name Flags
file
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.COMBINED:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
2: aload 0
ldc -2147483648
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.statusThreshold:I
3: aload 1
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "Null file"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder java.io.File
StackMap stack:
aload 0
aload 1
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.file:Ljava/io/File;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 7 1 file Ljava/io/File;
MethodParameters:
Name Flags
file
public org.glassfish.grizzly.http.server.accesslog.AccessLogProbe build();
descriptor: ()Lorg/glassfish/grizzly/http/server/accesslog/AccessLogProbe;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.rotationPattern:Ljava/lang/String;
ifnonnull 3
1: new org.glassfish.grizzly.http.server.accesslog.FileAppender
dup
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.file:Ljava/io/File;
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
invokespecial org.glassfish.grizzly.http.server.accesslog.FileAppender.<init>:(Ljava/io/File;)V
astore 1
start local 1 2: goto 19
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.file:Ljava/io/File;
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 2
start local 2 4: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.file:Ljava/io/File;
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 6
start local 6 6: iload 6
ifge 10
7: aload 3
ldc "'"
ldc "''"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 4
start local 4 8: ldc ""
astore 5
start local 5 9: goto 12
end local 5 end local 4 10: StackMap locals: org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder top java.io.File java.lang.String top top int
StackMap stack:
aload 3
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
ldc "'"
ldc "''"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 4
start local 4 11: aload 3
iload 6
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
ldc "'"
ldc "''"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 5
start local 5 12: StackMap locals: org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder top java.io.File java.lang.String java.lang.String java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.rotationPattern:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: astore 7
start local 7 15: new org.glassfish.grizzly.http.server.accesslog.RotatingFileAppender
dup
aload 2
aload 3
aload 7
invokespecial org.glassfish.grizzly.http.server.accesslog.RotatingFileAppender.<init>:(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)V
astore 1
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 start local 1 16: goto 19
end local 1 StackMap locals: org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder
StackMap stack: java.io.IOException
17: astore 2
start local 2 18: new java.lang.IllegalStateException
dup
ldc "I/O error creating acces log"
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 start local 1 19: StackMap locals: org.glassfish.grizzly.http.server.accesslog.AccessLogAppender
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.synchronous:Z
ifne 21
20: new org.glassfish.grizzly.http.server.accesslog.QueueingAppender
dup
aload 1
invokespecial org.glassfish.grizzly.http.server.accesslog.QueueingAppender.<init>:(Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;)V
astore 1
21: StackMap locals:
StackMap stack:
new org.glassfish.grizzly.http.server.accesslog.AccessLogProbe
dup
aload 1
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.statusThreshold:I
invokespecial org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.<init>:(Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
2 3 1 appender Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;
16 17 1 appender Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;
19 22 1 appender Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;
4 16 2 directory Ljava/io/File;
5 16 3 name Ljava/lang/String;
8 10 4 base Ljava/lang/String;
11 16 4 base Ljava/lang/String;
9 10 5 extension Ljava/lang/String;
12 16 5 extension Ljava/lang/String;
6 16 6 position I
15 16 7 archive Ljava/lang/String;
18 19 2 exception Ljava/io/IOException;
Exception table:
from to target type
0 16 17 Class java.io.IOException
public org.glassfish.grizzly.http.server.ServerConfiguration instrument(org.glassfish.grizzly.http.server.ServerConfiguration);
descriptor: (Lorg/glassfish/grizzly/http/server/ServerConfiguration;)Lorg/glassfish/grizzly/http/server/ServerConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.glassfish.grizzly.http.server.ServerConfiguration.getMonitoringConfig:()Lorg/glassfish/grizzly/http/server/HttpServerMonitoringConfig;
invokevirtual org.glassfish.grizzly.http.server.HttpServerMonitoringConfig.getWebServerConfig:()Lorg/glassfish/grizzly/monitoring/MonitoringConfig;
iconst_1
anewarray org.glassfish.grizzly.http.server.HttpServerProbe
dup
iconst_0
aload 0
invokevirtual org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.build:()Lorg/glassfish/grizzly/http/server/accesslog/AccessLogProbe;
aastore
invokeinterface org.glassfish.grizzly.monitoring.MonitoringConfig.addProbes:([Ljava/lang/Object;)V
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 2 1 serverConfiguration Lorg/glassfish/grizzly/http/server/ServerConfiguration;
MethodParameters:
Name Flags
serverConfiguration
public org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder format(org.glassfish.grizzly.http.server.accesslog.AccessLogFormat);
descriptor: (Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null format"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 4 1 format Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
MethodParameters:
Name Flags
format
public org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder format(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null format"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
aload 1
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/lang/String;)V
invokevirtual org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.format:(Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 3 1 format Ljava/lang/String;
MethodParameters:
Name Flags
format
public org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder timeZone(java.util.TimeZone);
descriptor: (Ljava/util/TimeZone;)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null time zone"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
instanceof org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
ifeq 6
3: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
checkcast org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
astore 2
start local 2 4: aload 0
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.getFormat:()Ljava/lang/String;
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/util/TimeZone;Ljava/lang/String;)V
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
5: aload 0
areturn
end local 2 6: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "TimeZone can not be set for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 7 1 timeZone Ljava/util/TimeZone;
4 6 2 apacheFormat Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
MethodParameters:
Name Flags
timeZone
public org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder timeZone(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null time zone"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
invokevirtual org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.timeZone:(Ljava/util/TimeZone;)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 3 1 timeZone Ljava/lang/String;
MethodParameters:
Name Flags
timeZone
public org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder statusThreshold(int);
descriptor: (I)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.statusThreshold:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 2 1 statusThreshold I
MethodParameters:
Name Flags
statusThreshold
public org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder rotatedHourly();
descriptor: ()Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "yyyyMMDDhh"
invokevirtual org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.rotationPattern:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
public org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder rotatedDaily();
descriptor: ()Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "yyyyMMDD"
invokevirtual org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.rotationPattern:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
public org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder rotationPattern(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null rotation pattern"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.rotationPattern:Ljava/lang/String;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 4 1 rotationPattern Ljava/lang/String;
MethodParameters:
Name Flags
rotationPattern
public org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder synchronous(boolean);
descriptor: (Z)Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogBuilder.synchronous:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogBuilder;
0 2 1 synchronous Z
MethodParameters:
Name Flags
synchronous
}
SourceFile: "AccessLogBuilder.java"