public class org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat implements org.glassfish.grizzly.http.server.accesslog.AccessLogFormat
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
super_class: java.lang.Object
{
private static final java.util.TimeZone UTC;
descriptor: Ljava/util/TimeZone;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String COMMON_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "%h - %u %t \"%r\" %s %b"
public static final java.lang.String COMBINED_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "%h - %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
public static final java.lang.String VHOST_COMMON_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "%v %h - %u %t \"%r\" %s %b"
public static final java.lang.String VHOST_COMBINED_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "%v %h - %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
public static final java.lang.String REFERER_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "%{Referer}i -> %U"
public static final java.lang.String AGENT_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "%{User-agent}i"
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat COMMON;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat COMBINED;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat VHOST_COMMON;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat VHOST_COMBINED;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat REFERER;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat AGENT;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat COMMON_UTC;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat COMBINED_UTC;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat VHOST_COMMON_UTC;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat VHOST_COMBINED_UTC;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat REFERER_UTC;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat AGENT_UTC;
descriptor: Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
flags: (0x0019) ACC_PUBLIC, 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 java.util.List<org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field> fields;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$Field;>;
private final java.util.TimeZone timeZone;
descriptor: Ljava/util/TimeZone;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc "UTC"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.UTC:Ljava/util/TimeZone;
1: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
ldc "%h - %u %t \"%r\" %s %b"
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.COMMON:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
2: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
ldc "%h - %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.COMBINED:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
3: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
ldc "%v %h - %u %t \"%r\" %s %b"
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.VHOST_COMMON:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
4: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
ldc "%v %h - %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.VHOST_COMBINED:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
5: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
ldc "%{Referer}i -> %U"
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.REFERER:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
6: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
ldc "%{User-agent}i"
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.AGENT:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
7: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.UTC:Ljava/util/TimeZone;
ldc "%h - %u %t \"%r\" %s %b"
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/util/TimeZone;Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.COMMON_UTC:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
8: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.UTC:Ljava/util/TimeZone;
ldc "%h - %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/util/TimeZone;Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.COMBINED_UTC:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
9: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.UTC:Ljava/util/TimeZone;
ldc "%v %h - %u %t \"%r\" %s %b"
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/util/TimeZone;Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.VHOST_COMMON_UTC:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
10: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.UTC:Ljava/util/TimeZone;
ldc "%v %h - %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/util/TimeZone;Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.VHOST_COMBINED_UTC:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
11: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.UTC:Ljava/util/TimeZone;
ldc "%{Referer}i -> %U"
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/util/TimeZone;Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.REFERER_UTC:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
12: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
dup
getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.UTC:Ljava/util/TimeZone;
ldc "%{User-agent}i"
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/util/TimeZone;Ljava/lang/String;)V
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.AGENT_UTC:Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
13: 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.ApacheLogFormat.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
aload 1
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.<init>:(Ljava/util/TimeZone;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 2 1 format Ljava/lang/String;
MethodParameters:
Name Flags
format
public void <init>(java.util.TimeZone, java.lang.String);
descriptor: (Ljava/util/TimeZone;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "Null time zone"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat java.util.TimeZone java.lang.String
StackMap stack:
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
4: aload 0
aload 1
putfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.timeZone:Ljava/util/TimeZone;
5: aload 0
aload 2
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.parse:(Ljava/lang/String;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 7 1 timeZone Ljava/util/TimeZone;
0 7 2 format Ljava/lang/String;
MethodParameters:
Name Flags
timeZone
format
public java.lang.String format(org.glassfish.grizzly.http.server.Response, java.util.Date, long);
descriptor: (Lorg/glassfish/grizzly/http/server/Response;Ljava/util/Date;J)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 1: aload 1
invokevirtual org.glassfish.grizzly.http.server.Response.getRequest:()Lorg/glassfish/grizzly/http/server/Request;
astore 6
start local 6 2: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 9
StackMap locals: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat org.glassfish.grizzly.http.server.Response java.util.Date long java.lang.StringBuilder org.glassfish.grizzly.http.server.Request top java.util.Iterator
StackMap stack:
3: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field
astore 7
start local 7 4: aload 7
aload 5
aload 6
aload 1
aload 2
lload 3
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field.format:(Ljava/lang/StringBuilder;Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/server/Response;Ljava/util/Date;J)Ljava/lang/StringBuilder;
pop
5: goto 9
StackMap locals: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat org.glassfish.grizzly.http.server.Response java.util.Date long java.lang.StringBuilder org.glassfish.grizzly.http.server.Request org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field java.util.Iterator
StackMap stack: java.lang.Exception
6: astore 9
start local 9 7: getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "Exception formatting access log entry"
aload 9
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
8: aload 5
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 9 end local 7 9: StackMap locals: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat org.glassfish.grizzly.http.server.Response java.util.Date long java.lang.StringBuilder org.glassfish.grizzly.http.server.Request top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 11 1 response Lorg/glassfish/grizzly/http/server/Response;
0 11 2 timeStamp Ljava/util/Date;
0 11 3 responseNanos J
1 11 5 builder Ljava/lang/StringBuilder;
2 11 6 request Lorg/glassfish/grizzly/http/server/Request;
4 9 7 field Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$Field;
7 9 9 exception Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
response
timeStamp
responseNanos
java.lang.String unsafeFormat(org.glassfish.grizzly.http.server.Response, java.util.Date, long);
descriptor: (Lorg/glassfish/grizzly/http/server/Response;Ljava/util/Date;J)Ljava/lang/String;
flags: (0x0000)
Code:
stack=7, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 1: aload 1
invokevirtual org.glassfish.grizzly.http.server.Response.getRequest:()Lorg/glassfish/grizzly/http/server/Request;
astore 6
start local 6 2: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 5
StackMap locals: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat org.glassfish.grizzly.http.server.Response java.util.Date long java.lang.StringBuilder org.glassfish.grizzly.http.server.Request top java.util.Iterator
StackMap stack:
3: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field
astore 7
start local 7 4: aload 7
aload 5
aload 6
aload 1
aload 2
lload 3
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field.format:(Ljava/lang/StringBuilder;Lorg/glassfish/grizzly/http/server/Request;Lorg/glassfish/grizzly/http/server/Response;Ljava/util/Date;J)Ljava/lang/StringBuilder;
pop
end local 7 5: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 7 1 response Lorg/glassfish/grizzly/http/server/Response;
0 7 2 timeStamp Ljava/util/Date;
0 7 3 responseNanos J
1 7 5 builder Ljava/lang/StringBuilder;
2 7 6 request Lorg/glassfish/grizzly/http/server/Request;
4 5 7 field Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$Field;
MethodParameters:
Name Flags
response
timeStamp
responseNanos
public java.lang.String getFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field
astore 2
start local 2 3: aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
1 6 1 builder Ljava/lang/StringBuilder;
3 4 2 field Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$Field;
private void parse(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 2
37: 5
92: 3
default: 7
}
3: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.parseEscape:(Ljava/lang/String;I)I
istore 2
4: goto 8
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
iload 2
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.parseFormat:(Ljava/lang/String;Ljava/lang/String;I)I
istore 2
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 2
end local 2 10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 11 1 format Ljava/lang/String;
1 10 2 x I
MethodParameters:
Name Flags
format
private int parseFormat(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iinc 3 1
iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmpge 69
1: aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 2: aload 2
ifnull 14
3: iload 4
lookupswitch { // 7
67: 4
84: 10
104: 5
105: 6
111: 7
112: 8
116: 9
default: 11
}
4: StackMap locals: int
StackMap stack:
goto 14
5: StackMap locals:
StackMap stack:
goto 14
6: StackMap locals:
StackMap stack:
goto 14
7: StackMap locals:
StackMap stack:
goto 14
8: StackMap locals:
StackMap stack:
goto 14
9: StackMap locals:
StackMap stack:
goto 14
10: StackMap locals:
StackMap stack:
goto 14
11: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
12: new java.lang.StringBuilder
dup
ldc "Unsupported parameter \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" for field '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc "' in ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
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;
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iload 4
lookupswitch { // 22
37: 16
65: 20
66: 24
67: 26
68: 28
72: 34
84: 59
85: 63
97: 18
98: 22
104: 30
105: 36
109: 38
111: 40
112: 42
113: 46
114: 48
115: 55
116: 57
117: 61
118: 65
123: 15
default: 67
}
15: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.parseParameter:(Ljava/lang/String;I)I
ireturn
16: StackMap locals:
StackMap stack:
aload 0
bipush 37
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
17: goto 68
18: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemoteAddressField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemoteAddressField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: goto 68
20: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalAddressField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalAddressField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: goto 68
22: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseSizeField
dup
iconst_0
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseSizeField.<init>:(Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: goto 68
24: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseSizeField
dup
iconst_1
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseSizeField.<init>:(Z)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
25: goto 68
26: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestCookieField
dup
aload 2
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestCookieField.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
27: goto 68
28: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField
dup
ldc "micro"
aload 1
iload 3
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.<init>:(Ljava/lang/String;Ljava/lang/String;I)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
29: goto 68
30: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
aload 0
aload 2
iconst_0
iload 4
aload 1
iload 3
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.parseLocal:(Ljava/lang/String;ZCLjava/lang/String;I)Z
ifeq 31
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalHostField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalHostField.<init>:()V
goto 32
StackMap locals:
StackMap stack: java.util.List
31: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemoteHostField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemoteHostField.<init>:()V
StackMap locals: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat java.lang.String java.lang.String int int
StackMap stack: java.util.List org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$AbstractField
32: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
33: goto 68
34: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
35: goto 68
36: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestHeaderField
dup
aload 2
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestHeaderField.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
37: goto 68
38: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestMethodField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestMethodField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
39: goto 68
40: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseHeaderField
dup
aload 2
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseHeaderField.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
41: goto 68
42: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
aload 0
aload 2
iconst_1
iload 4
aload 1
iload 3
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.parseLocal:(Ljava/lang/String;ZCLjava/lang/String;I)Z
ifeq 43
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalPortField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalPortField.<init>:()V
goto 44
StackMap locals:
StackMap stack: java.util.List
43: new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemotePortField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemotePortField.<init>:()V
StackMap locals: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat java.lang.String java.lang.String int int
StackMap stack: java.util.List org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$AbstractField
44: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
45: goto 68
46: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestQueryField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestQueryField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
47: goto 68
48: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestMethodField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestMethodField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
49: aload 0
bipush 32
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
50: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestURIField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestURIField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
51: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestQueryField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestQueryField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
52: aload 0
bipush 32
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
53: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
54: goto 68
55: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseStatusField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseStatusField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
56: goto 68
57: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestTimeField
dup
aload 2
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.timeZone:Ljava/util/TimeZone;
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestTimeField.<init>:(Ljava/lang/String;Ljava/util/TimeZone;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
58: goto 68
59: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField
dup
aload 2
aload 1
iload 3
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField.<init>:(Ljava/lang/String;Ljava/lang/String;I)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
60: goto 68
61: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestUserField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestUserField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
62: goto 68
63: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestURIField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestURIField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
64: goto 68
65: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ServerNameField
dup
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ServerNameField.<init>:()V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
66: goto 68
67: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported field '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc "' in ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
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
68: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 4 69: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unterminated field declaration in ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 70 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 70 1 format Ljava/lang/String;
0 70 2 parameter Ljava/lang/String;
0 70 3 position I
2 69 4 field C
MethodParameters:
Name Flags
format
parameter
position
private boolean parseLocal(java.lang.String, boolean, char, java.lang.String, int);
descriptor: (Ljava/lang/String;ZCLjava/lang/String;I)Z
flags: (0x0002) ACC_PRIVATE
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: aload 1
ifnonnull 2
1: iload 2
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 6
start local 6 3: aload 6
ldc "local"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 6
ldc "remote"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
8: new java.lang.StringBuilder
dup
ldc "Unsupported parameter \""
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 '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc "' in ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
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 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 6 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 10 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 10 1 parameter Ljava/lang/String;
0 10 2 defaultValue Z
0 10 3 field C
0 10 4 format Ljava/lang/String;
0 10 5 position I
3 10 6 p Ljava/lang/String;
MethodParameters:
Name Flags
parameter
defaultValue
field
format
position
private int parseParameter(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iinc 2 1
iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmpge 6
1: aload 1
bipush 125
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 2: iload 3
iload 2
if_icmpne 4
3: aload 0
aload 1
aconst_null
iload 3
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.parseFormat:(Ljava/lang/String;Ljava/lang/String;I)I
ireturn
4: StackMap locals: int
StackMap stack:
iload 3
iload 2
if_icmple 6
5: aload 0
aload 1
aload 1
iload 2
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iload 3
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.parseFormat:(Ljava/lang/String;Ljava/lang/String;I)I
ireturn
end local 3 6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unterminated format parameter in ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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 2
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
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 7 1 format Ljava/lang/String;
0 7 2 position I
2 6 3 end I
MethodParameters:
Name Flags
format
position
private int parseEscape(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iinc 2 1
iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmpge 15
1: aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 2: iload 3
lookupswitch { // 5
98: 5
102: 11
110: 7
114: 9
116: 3
default: 13
}
3: StackMap locals: int
StackMap stack:
aload 0
bipush 9
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
4: goto 14
5: StackMap locals:
StackMap stack:
aload 0
bipush 8
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
6: goto 14
7: StackMap locals:
StackMap stack:
aload 0
bipush 10
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
8: goto 14
9: StackMap locals:
StackMap stack:
aload 0
bipush 13
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
10: goto 14
11: StackMap locals:
StackMap stack:
aload 0
bipush 12
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.addLiteral:(C)V
14: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 3 15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unterminated escape sequence in ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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 2
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
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 16 1 format Ljava/lang/String;
0 16 2 position I
2 15 3 escaped C
MethodParameters:
Name Flags
format
position
private void addLiteral(char);
descriptor: (C)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 5
1: aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field
astore 2
start local 2 2: aload 2
instanceof org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LiteralField
ifeq 5
3: aload 2
checkcast org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LiteralField
iload 1
invokevirtual org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LiteralField.append:(C)V
4: return
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat.fields:Ljava/util/List;
new org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LiteralField
dup
iload 1
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LiteralField.<init>:(C)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat;
0 7 1 c C
2 5 2 last Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$Field;
MethodParameters:
Name Flags
c
}
SourceFile: "ApacheLogFormat.java"
NestMembers:
org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$AbstractField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$HeaderField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LiteralField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalAddressField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalHostField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalPortField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemoteAddressField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemoteHostField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemotePortField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestCookieField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestHeaderField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestMethodField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestQueryField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestTimeField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestURIField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestUserField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseHeaderField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseSizeField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseStatusField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseTimeField org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ServerNameField
InnerClasses:
private abstract AbstractField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$AbstractField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private abstract Field = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$Field of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private abstract HeaderField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$HeaderField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private LiteralField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LiteralField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private LocalAddressField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalAddressField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private LocalHostField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalHostField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private LocalPortField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$LocalPortField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RemoteAddressField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemoteAddressField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RemoteHostField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemoteHostField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RemotePortField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RemotePortField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RequestCookieField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestCookieField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RequestHeaderField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestHeaderField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RequestMethodField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestMethodField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RequestProtocolField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RequestQueryField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestQueryField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RequestTimeField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestTimeField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RequestURIField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestURIField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private RequestUserField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestUserField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private ResponseHeaderField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseHeaderField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private ResponseSizeField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseSizeField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
private ResponseStatusField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ResponseStatusField 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
private ServerNameField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$ServerNameField of org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat