class org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField extends org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$AbstractField
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField
super_class: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$AbstractField
{
private static volatile int[] $SWITCH_TABLE$org$glassfish$grizzly$http$Protocol;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 72
invokespecial org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$AbstractField.<init>:(C)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$RequestProtocolField;
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=2, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
invokevirtual org.glassfish.grizzly.http.server.Request.getProtocol:()Lorg/glassfish/grizzly/http/Protocol;
astore 7
start local 7 1: aload 7
ifnonnull 3
2: aload 1
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
3: StackMap locals: org.glassfish.grizzly.http.Protocol
StackMap stack:
invokestatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField.$SWITCH_TABLE$org$glassfish$grizzly$http$Protocol:()[I
aload 7
invokevirtual org.glassfish.grizzly.http.Protocol.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 4
2: 5
3: 6
default: 7
}
4: StackMap locals:
StackMap stack:
aload 1
ldc "HTTP/0.9"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
5: StackMap locals:
StackMap stack:
aload 1
ldc "HTTP/1.0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
6: StackMap locals:
StackMap stack:
aload 1
ldc "HTTP/1.1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
7: StackMap locals:
StackMap stack:
aload 1
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
areturn
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 8 0 this Lorg/glassfish/grizzly/http/server/accesslog/ApacheLogFormat$RequestProtocolField;
0 8 1 builder Ljava/lang/StringBuilder;
0 8 2 request Lorg/glassfish/grizzly/http/server/Request;
0 8 3 response Lorg/glassfish/grizzly/http/server/Response;
0 8 4 timeStamp Ljava/util/Date;
0 8 5 responseNanos J
1 8 7 protocol Lorg/glassfish/grizzly/http/Protocol;
MethodParameters:
Name Flags
builder
request
response
timeStamp
responseNanos
static int[] $SWITCH_TABLE$org$glassfish$grizzly$http$Protocol();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField.$SWITCH_TABLE$org$glassfish$grizzly$http$Protocol:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.glassfish.grizzly.http.Protocol.values:()[Lorg/glassfish/grizzly/http/Protocol;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.glassfish.grizzly.http.Protocol.HTTP_0_9:Lorg/glassfish/grizzly/http/Protocol;
invokevirtual org.glassfish.grizzly.http.Protocol.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.glassfish.grizzly.http.Protocol.HTTP_1_0:Lorg/glassfish/grizzly/http/Protocol;
invokevirtual org.glassfish.grizzly.http.Protocol.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.glassfish.grizzly.http.Protocol.HTTP_1_1:Lorg/glassfish/grizzly/http/Protocol;
invokevirtual org.glassfish.grizzly.http.Protocol.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.glassfish.grizzly.http.Protocol.HTTP_2_0:Lorg/glassfish/grizzly/http/Protocol;
invokevirtual org.glassfish.grizzly.http.Protocol.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$RequestProtocolField.$SWITCH_TABLE$org$glassfish$grizzly$http$Protocol:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "ApacheLogFormat.java"
NestHost: org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat
InnerClasses:
private abstract AbstractField = org.glassfish.grizzly.http.server.accesslog.ApacheLogFormat$AbstractField 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