public class org.glassfish.grizzly.http.server.accesslog.AccessLogProbe extends org.glassfish.grizzly.http.server.HttpServerProbe$Adapter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.accesslog.AccessLogProbe
super_class: org.glassfish.grizzly.http.server.HttpServerProbe$Adapter
{
public static final int DEFAULT_STATUS_THRESHOLD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -2147483648
private static final java.lang.String ATTRIBUTE_TIME_STAMP;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.glassfish.grizzly.http.server.accesslog.AccessLogAppender appender;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.http.server.accesslog.AccessLogFormat format;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int statusThreshold;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.StringBuilder
dup
ldc Lorg/glassfish/grizzly/http/server/accesslog/AccessLogProbe;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".timeStamp"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.ATTRIBUTE_TIME_STAMP:Ljava/lang/String;
1: ldc Lorg/glassfish/grizzly/http/server/HttpServer;
invokestatic org.glassfish.grizzly.Grizzly.logger:(Ljava/lang/Class;)Ljava/util/logging/Logger;
putstatic org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.glassfish.grizzly.http.server.accesslog.AccessLogAppender, org.glassfish.grizzly.http.server.accesslog.AccessLogFormat);
descriptor: (Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc -2147483648
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
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogProbe;
0 2 1 appender Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;
0 2 2 format Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
MethodParameters:
Name Flags
appender
format
public void <init>(org.glassfish.grizzly.http.server.accesslog.AccessLogAppender, org.glassfish.grizzly.http.server.accesslog.AccessLogFormat, int);
descriptor: (Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.glassfish.grizzly.http.server.HttpServerProbe$Adapter.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "Null access log appender"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.glassfish.grizzly.http.server.accesslog.AccessLogProbe org.glassfish.grizzly.http.server.accesslog.AccessLogAppender org.glassfish.grizzly.http.server.accesslog.AccessLogFormat int
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "Null format"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.appender:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;
6: aload 0
aload 2
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
7: aload 0
iload 3
putfield org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.statusThreshold:I
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogProbe;
0 9 1 appender Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;
0 9 2 format Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
0 9 3 statusThreshold I
MethodParameters:
Name Flags
appender
format
statusThreshold
public void onRequestReceiveEvent(org.glassfish.grizzly.http.server.HttpServerFilter, org.glassfish.grizzly.Connection, org.glassfish.grizzly.http.server.Request);
descriptor: (Lorg/glassfish/grizzly/http/server/HttpServerFilter;Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/http/server/Request;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getstatic org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.ATTRIBUTE_TIME_STAMP:Ljava/lang/String;
invokestatic java.lang.System.nanoTime:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual org.glassfish.grizzly.http.server.Request.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 2
invokeinterface org.glassfish.grizzly.Connection.getLocalAddress:()Ljava/lang/Object;
pop
2: aload 2
invokeinterface org.glassfish.grizzly.Connection.getPeerAddress:()Ljava/lang/Object;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogProbe;
0 4 1 filter Lorg/glassfish/grizzly/http/server/HttpServerFilter;
0 4 2 connection Lorg/glassfish/grizzly/Connection;
0 4 3 request Lorg/glassfish/grizzly/http/server/Request;
MethodParameters:
Name Flags
filter
connection
request
public void onRequestCompleteEvent(org.glassfish.grizzly.http.server.HttpServerFilter, org.glassfish.grizzly.Connection, org.glassfish.grizzly.http.server.Response);
descriptor: (Lorg/glassfish/grizzly/http/server/HttpServerFilter;Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/http/server/Response;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.glassfish.grizzly.http.server.Response.getStatus:()I
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.statusThreshold:I
if_icmpge 2
1: return
2: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.glassfish.grizzly.http.server.Response.getRequest:()Lorg/glassfish/grizzly/http/server/Request;
getstatic org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.ATTRIBUTE_TIME_STAMP:Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.server.Request.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Long
astore 4
start local 4 3: invokestatic java.lang.System.currentTimeMillis:()J
lstore 5
start local 5 4: invokestatic java.lang.System.nanoTime:()J
lstore 7
start local 7 5: aload 4
ifnonnull 6
ldc -1
goto 7
StackMap locals: java.lang.Long long long
StackMap stack:
6: lload 7
aload 4
invokevirtual java.lang.Long.longValue:()J
lsub
StackMap locals:
StackMap stack: long
7: lstore 9
start local 9 8: new java.util.Date
dup
lload 5
lload 9
ldc 1000000
ldiv
lsub
invokespecial java.util.Date.<init>:(J)V
astore 11
start local 11 9: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.appender:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogAppender;
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.format:Lorg/glassfish/grizzly/http/server/accesslog/AccessLogFormat;
aload 3
aload 11
lload 9
invokeinterface org.glassfish.grizzly.http.server.accesslog.AccessLogFormat.format:(Lorg/glassfish/grizzly/http/server/Response;Ljava/util/Date;J)Ljava/lang/String;
invokeinterface org.glassfish.grizzly.http.server.accesslog.AccessLogAppender.append:(Ljava/lang/String;)V
10: goto 13
StackMap locals: org.glassfish.grizzly.http.server.accesslog.AccessLogProbe org.glassfish.grizzly.http.server.HttpServerFilter org.glassfish.grizzly.Connection org.glassfish.grizzly.http.server.Response java.lang.Long long long long java.util.Date
StackMap stack: java.lang.Throwable
11: astore 12
start local 12 12: getstatic org.glassfish.grizzly.http.server.accesslog.AccessLogProbe.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "Exception caught appending to access log"
aload 12
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 12 13: StackMap locals:
StackMap stack:
return
end local 11 end local 9 end local 7 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 14 0 this Lorg/glassfish/grizzly/http/server/accesslog/AccessLogProbe;
0 14 1 filter Lorg/glassfish/grizzly/http/server/HttpServerFilter;
0 14 2 connection Lorg/glassfish/grizzly/Connection;
0 14 3 response Lorg/glassfish/grizzly/http/server/Response;
3 14 4 requestNanos Ljava/lang/Long;
4 14 5 timeStamp J
5 14 7 nanoStamp J
8 14 9 responseNanos J
9 14 11 requestMillis Ljava/util/Date;
12 13 12 throwable Ljava/lang/Throwable;
Exception table:
from to target type
9 10 11 Class java.lang.Throwable
MethodParameters:
Name Flags
filter
connection
response
}
SourceFile: "AccessLogProbe.java"
InnerClasses:
public Adapter = org.glassfish.grizzly.http.server.HttpServerProbe$Adapter of org.glassfish.grizzly.http.server.HttpServerProbe