class org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField extends org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField
super_class: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field
{
private final long scale;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field.<init>:()V
1: aload 1
ifnonnull 4
2: aload 0
ldc 1000000000
putfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
3: return
4: StackMap locals: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField java.lang.String java.lang.String int
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 4
start local 4 5: aload 4
ldc "n"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
aload 4
ldc "nano"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
aload 4
ldc "nanos"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
aload 4
ldc "nanosec"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
aload 4
ldc "nanosecs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
aload 4
ldc "nanosecond"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: aload 4
ldc "nanoseconds"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: StackMap locals: java.lang.String
StackMap stack:
aload 0
lconst_1
putfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
8: goto 21
StackMap locals:
StackMap stack:
9: aload 4
ldc "micro"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
aload 4
ldc "micros"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
aload 4
ldc "microsec"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
aload 4
ldc "microsecs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
aload 4
ldc "microsecond"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
10: aload 4
ldc "microseconds"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: StackMap locals:
StackMap stack:
aload 0
ldc 1000
putfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
12: goto 21
StackMap locals:
StackMap stack:
13: aload 4
ldc "m"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
aload 4
ldc "milli"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
aload 4
ldc "millis"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
aload 4
ldc "millisec"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
aload 4
ldc "millisecs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
aload 4
ldc "millisecond"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
14: aload 4
ldc "milliseconds"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: StackMap locals:
StackMap stack:
aload 0
ldc 1000000
putfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
16: goto 21
StackMap locals:
StackMap stack:
17: aload 4
ldc "s"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
aload 4
ldc "sec"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
aload 4
ldc "secs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
aload 4
ldc "second"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
aload 4
ldc "seconds"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: StackMap locals:
StackMap stack:
aload 0
ldc 1000000000
putfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
19: goto 21
20: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported time unit \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" for field 'T' in ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] at character "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$ResponseTimeField;
0 22 1 unit Ljava/lang/String;
0 22 2 format Ljava/lang/String;
0 22 3 position I
5 22 4 s Ljava/lang/String;
MethodParameters:
Name Flags
unit
format
position
java.lang.StringBuilder format(java.lang.StringBuilder, org.glassfish.grizzly.http.server.Request, org.glassfish.grizzly.http.server.Response, java.util.Date, long);
descriptor: (Ljava/lang/StringBuilder;Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/server/Response;Ljava/util/Date;J)Ljava/lang/StringBuilder;
flags: (0x0000)
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: lload 5
lconst_0
lcmp
ifge 2
1: aload 1
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
areturn
2: StackMap locals:
StackMap stack:
aload 1
lload 5
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
ldiv
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$ResponseTimeField;
0 3 1 builder Ljava/lang/StringBuilder;
0 3 2 request Lorg/glassfish/grizzly/http/server/Request;
0 3 3 response Lorg/glassfish/grizzly/http/server/Response;
0 3 4 timeStamp Ljava/util/Date;
0 3 5 responseNanos J
MethodParameters:
Name Flags
builder
request
response
timeStamp
responseNanos
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
bipush 37
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
astore 1
start local 1 1: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
lconst_1
lcmp
ifne 4
2: aload 1
ldc "{n}T"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: goto 14
StackMap locals: java.lang.StringBuilder
StackMap stack:
4: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
ldc 1000
lcmp
ifne 7
5: aload 1
bipush 68
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: goto 14
StackMap locals:
StackMap stack:
7: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
ldc 1000000
lcmp
ifne 10
8: aload 1
ldc "{m}T"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: goto 14
StackMap locals:
StackMap stack:
10: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
ldc 1000000000
lcmp
ifne 13
11: aload 1
bipush 84
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: goto 14
13: StackMap locals:
StackMap stack:
aload 1
bipush 123
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.scale:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "}T"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$ResponseTimeField;
1 15 1 string Ljava/lang/StringBuilder;
}
SourceFile: "ApacheLogFormat.java"
NestHost: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
InnerClasses:
private abstract Field = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private ResponseTimeField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat