final class org.glassfish.grizzly.http.ajp.AjpMessageUtils
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.http.ajp.AjpMessageUtils
super_class: java.lang.Object
{
private static final int[] DEC;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] EMPTY_BYTE_ARRAY;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int BODY_CHUNK_HEADER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
private static final int MAX_BODY_CHUNK_CONTENT_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8178
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.glassfish.grizzly.http.util.HexUtils.getDecBytes:()[I
putstatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.DEC:[I
1: iconst_0
newarray 8
putstatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.EMPTY_BYTE_ARRAY:[B
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/http/ajp/AjpMessageUtils;
static void decodeRequest(org.glassfish.grizzly.Buffer, org.glassfish.grizzly.http.ajp.AjpHttpRequest, boolean);
descriptor: (Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;Z)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface org.glassfish.grizzly.Buffer.position:()I
istore 3
start local 3 1: aload 0
iload 3
iinc 3 1
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 4
start local 4 2: iload 4
iconst_m1
if_icmpeq 5
3: getstatic org.glassfish.grizzly.http.ajp.AjpConstants.methodTransArray:[Ljava/lang/String;
iload 4
iconst_1
isub
aaload
astore 5
start local 5 4: aload 1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.getMethodDC:()Lorg/glassfish/grizzly/http/util/DataChunk;
aload 5
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
end local 5 5: StackMap locals: int int
StackMap stack:
aload 0
iload 3
aload 1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.getProtocolDC:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 3
6: aload 0
iload 3
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.readShort:(Lorg/glassfish/grizzly/Buffer;I)I
istore 5
start local 5 7: iload 5
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.isNullLength:(I)Z
ifne 9
8: aload 1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.getRequestURIRef:()Lorg/glassfish/grizzly/http/util/RequestURIRef;
aload 0
iload 3
iconst_2
iadd
iload 3
iconst_2
iadd
iload 5
iadd
invokevirtual org.glassfish.grizzly.http.util.RequestURIRef.init:(Lorg/glassfish/grizzly/Buffer;II)V
9: StackMap locals: int
StackMap stack:
iload 3
iconst_2
iload 5
iadd
iconst_1
iadd
iadd
istore 3
10: aload 0
iload 3
aload 1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.remoteAddr:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 3
11: aload 0
iload 3
aload 1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.remoteHostRaw:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 3
12: aload 0
iload 3
aload 1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.localName:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 3
13: aload 1
aload 0
iload 3
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.readShort:(Lorg/glassfish/grizzly/Buffer;I)I
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setLocalPort:(I)V
14: iinc 3 2
15: aload 0
iload 3
iinc 3 1
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
ifeq 16
iconst_1
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 6
start local 6 18: aload 1
iload 6
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setSecure:(Z)V
19: aload 1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.getResponse:()Lorg/glassfish/grizzly/http/HttpResponsePacket;
iload 6
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.setSecure:(Z)V
20: aload 0
iload 3
aload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.decodeHeaders:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/ajp/AjpHttpRequest;)I
istore 3
21: aload 0
iload 3
aload 1
iload 2
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.decodeAttributes:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/ajp/AjpHttpRequest;Z)I
pop
22: aload 1
aload 1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
ldc "host"
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getValue:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/util/DataChunk;
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setUnparsedHostHeader:(Lorg/glassfish/grizzly/http/util/DataChunk;)V
23: return
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 24 0 requestContent Lorg/glassfish/grizzly/Buffer;
0 24 1 req Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;
0 24 2 tomcatAuthentication Z
1 24 3 offset I
2 24 4 methodCode B
4 5 5 mName Ljava/lang/String;
7 24 5 requestURILen I
18 24 6 isSSL Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
requestContent final
req final
tomcatAuthentication final
private static int decodeAttributes(org.glassfish.grizzly.Buffer, int, org.glassfish.grizzly.http.ajp.AjpHttpRequest, boolean);
descriptor: (Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/ajp/AjpHttpRequest;Z)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
getfield org.glassfish.grizzly.http.ajp.AjpHttpRequest.tmpDataChunk:Lorg/glassfish/grizzly/http/util/DataChunk;
astore 4
start local 4 1: iconst_1
istore 5
start local 5 2: goto 43
3: StackMap locals: org.glassfish.grizzly.http.util.DataChunk int
StackMap stack:
aload 0
iload 1
iinc 1 1
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 6
start local 6 4: iload 6
iconst_m1
if_icmpne 6
5: iload 1
ireturn
6: StackMap locals: int
StackMap stack:
iload 6
bipush 11
if_icmpne 9
7: aload 2
ldc "jakarta.servlet.request.key_size"
aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.readShort:(Lorg/glassfish/grizzly/Buffer;I)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
8: iinc 1 2
9: StackMap locals:
StackMap stack:
iload 6
bipush 10
if_icmpne 11
10: aload 2
aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.setStringAttribute:(Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;Lorg/glassfish/grizzly/Buffer;I)I
istore 1
11: StackMap locals:
StackMap stack:
iload 6
tableswitch { // 1 - 13
1: 12
2: 43
3: 14
4: 19
5: 24
6: 26
7: 28
8: 31
9: 34
10: 43
11: 43
12: 37
13: 41
default: 43
}
12: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.skipBytes:(Lorg/glassfish/grizzly/Buffer;I)I
istore 1
13: goto 43
14: StackMap locals:
StackMap stack:
iload 3
ifeq 17
15: aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.skipBytes:(Lorg/glassfish/grizzly/Buffer;I)I
istore 1
16: goto 43
17: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.remoteUser:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 1
18: goto 43
19: StackMap locals:
StackMap stack:
iload 3
ifeq 22
20: aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.skipBytes:(Lorg/glassfish/grizzly/Buffer;I)I
istore 1
21: goto 43
22: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.authType:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 1
23: goto 43
24: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.getQueryStringDC:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 1
25: goto 43
26: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.instanceId:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 1
27: goto 43
28: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setSecure:(Z)V
29: aload 0
iload 1
aload 2
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.sslCert:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 1
30: goto 43
31: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setSecure:(Z)V
32: aload 2
ldc "jakarta.servlet.request.cipher_suite"
aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.setStringAttributeValue:(Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;I)I
istore 1
33: goto 43
34: StackMap locals:
StackMap stack:
aload 2
iconst_1
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setSecure:(Z)V
35: aload 2
ldc "jakarta.servlet.request.ssl_session_id"
aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.setStringAttributeValue:(Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;I)I
istore 1
36: goto 43
37: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 4
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 1
38: aload 2
aload 4
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setSecret:(Ljava/lang/String;)V
39: aload 4
invokevirtual org.glassfish.grizzly.http.util.DataChunk.recycle:()V
40: goto 43
41: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.getMethodDC:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 1
42: goto 43
end local 6 43: StackMap locals:
StackMap stack:
iload 5
ifne 3
44: iload 1
ireturn
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 45 0 requestContent Lorg/glassfish/grizzly/Buffer;
0 45 1 offset I
0 45 2 req Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;
0 45 3 tomcatAuthentication Z
1 45 4 tmpDataChunk Lorg/glassfish/grizzly/http/util/DataChunk;
2 45 5 moreAttr Z
4 43 6 attributeCode B
MethodParameters:
Name Flags
requestContent final
offset
req final
tomcatAuthentication final
static int (org.glassfish.grizzly.Buffer, int, org.glassfish.grizzly.http.ajp.AjpHttpRequest);
descriptor: (Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/ajp/AjpHttpRequest;)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
astore 3
start local 3 1: aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.readShort:(Lorg/glassfish/grizzly/Buffer;I)I
istore 4
start local 4 2: iinc 1 2
3: iconst_0
istore 5
start local 5 4: goto 28
5: StackMap locals: org.glassfish.grizzly.http.util.MimeHeaders int int
StackMap stack:
aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.readShort:(Lorg/glassfish/grizzly/Buffer;I)I
istore 7
start local 7 6: iload 7
sipush 255
iand
istore 8
start local 8 7: iload 7
ldc 65280
iand
istore 7
8: ldc 40960
iload 7
if_icmpne 13
9: iinc 1 2
10: getstatic org.glassfish.grizzly.http.ajp.AjpConstants.headerTransArray:[Ljava/lang/String;
iload 8
iconst_1
isub
aaload
astore 6
start local 6 11: aload 3
aload 6
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.addValue:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/util/DataChunk;
astore 9
start local 9 12: goto 18
end local 9 end local 6 13: StackMap locals: org.glassfish.grizzly.Buffer int org.glassfish.grizzly.http.ajp.AjpHttpRequest org.glassfish.grizzly.http.util.MimeHeaders int int top int int
StackMap stack:
iconst_m1
istore 8
14: aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.readShort:(Lorg/glassfish/grizzly/Buffer;I)I
istore 10
start local 10 15: iinc 1 2
16: aload 3
aload 0
iload 1
iload 10
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.addValue:(Lorg/glassfish/grizzly/Buffer;II)Lorg/glassfish/grizzly/http/util/DataChunk;
astore 9
start local 9 17: iload 1
iload 10
iconst_1
iadd
iadd
istore 1
end local 10 18: StackMap locals: org.glassfish.grizzly.http.util.DataChunk
StackMap stack:
aload 0
iload 1
aload 9
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 1
19: aload 3
aload 3
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.size:()I
iconst_1
isub
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getName:(I)Lorg/glassfish/grizzly/http/util/DataChunk;
astore 10
start local 10 20: iload 8
bipush 8
if_icmpeq 21
iload 8
iconst_m1
if_icmpne 25
aload 10
ldc "Content-Length"
invokevirtual org.glassfish.grizzly.http.util.DataChunk.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 25
21: StackMap locals: org.glassfish.grizzly.http.util.DataChunk
StackMap stack:
aload 9
invokestatic org.glassfish.grizzly.http.util.Ascii.parseLong:(Lorg/glassfish/grizzly/http/util/DataChunk;)J
lstore 11
start local 11 22: lload 11
ldc 2147483647
lcmp
ifge 27
23: aload 2
lload 11
l2i
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setContentLength:(I)V
end local 11 24: goto 27
StackMap locals:
StackMap stack:
25: iload 8
bipush 7
if_icmpeq 26
iload 8
iconst_m1
if_icmpne 27
aload 10
ldc "Content-Type"
invokevirtual org.glassfish.grizzly.http.util.DataChunk.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 27
26: StackMap locals:
StackMap stack:
aload 2
aload 9
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setContentType:(Ljava/lang/String;)V
end local 10 end local 9 end local 8 end local 7 27: StackMap locals: org.glassfish.grizzly.Buffer int org.glassfish.grizzly.http.ajp.AjpHttpRequest org.glassfish.grizzly.http.util.MimeHeaders int int
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
28: iload 5
iload 4
if_icmplt 5
end local 5 29: iload 1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 requestContent Lorg/glassfish/grizzly/Buffer;
0 30 1 offset I
0 30 2 req Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;
1 30 3 headers Lorg/glassfish/grizzly/http/util/MimeHeaders;
2 30 4 hCount I
4 29 5 i I
11 13 6 hName Ljava/lang/String;
6 27 7 isc I
7 27 8 hId I
12 13 9 valueDC Lorg/glassfish/grizzly/http/util/DataChunk;
17 27 9 valueDC Lorg/glassfish/grizzly/http/util/DataChunk;
15 18 10 headerNameLen I
20 27 10 headerNameDC Lorg/glassfish/grizzly/http/util/DataChunk;
22 24 11 cl J
MethodParameters:
Name Flags
requestContent final
offset
req final
static void parseHost(org.glassfish.grizzly.http.util.DataChunk, org.glassfish.grizzly.http.util.DataChunk, org.glassfish.grizzly.http.HttpRequestPacket);
descriptor: (Lorg/glassfish/grizzly/http/util/DataChunk;Lorg/glassfish/grizzly/http/util/DataChunk;Lorg/glassfish/grizzly/http/HttpRequestPacket;)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 4
1: aload 2
aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getLocalPort:()I
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
2: aload 1
aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getLocalName:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getBufferChunk:()Lorg/glassfish/grizzly/http/util/BufferChunk;
astore 3
start local 3 5: aload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getStart:()I
istore 4
start local 4 6: aload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getEnd:()I
iload 4
isub
istore 5
start local 5 7: iconst_m1
istore 6
start local 6 8: aload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 7
start local 7 9: aload 7
iload 4
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 91
if_icmpne 10
iconst_1
goto 11
StackMap locals: org.glassfish.grizzly.http.util.DataChunk org.glassfish.grizzly.http.util.DataChunk org.glassfish.grizzly.http.HttpRequestPacket org.glassfish.grizzly.http.util.BufferChunk int int int org.glassfish.grizzly.Buffer
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 8
start local 8 12: iconst_0
istore 9
start local 9 13: iconst_0
istore 10
start local 10 14: goto 24
15: StackMap locals: int int int
StackMap stack:
aload 7
iload 10
iload 4
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 11
start local 11 16: iload 11
bipush 93
if_icmpne 19
17: iconst_1
istore 9
18: goto 23
StackMap locals: int
StackMap stack:
19: iload 11
bipush 58
if_icmpne 23
20: iload 8
ifeq 21
iload 9
ifeq 23
21: StackMap locals:
StackMap stack:
iload 10
istore 6
22: goto 25
end local 11 23: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
24: iload 10
iload 5
if_icmplt 15
end local 10 25: StackMap locals:
StackMap stack:
iload 6
ifge 32
26: aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.isSecure:()Z
ifne 29
27: aload 2
bipush 80
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
28: goto 30
29: StackMap locals:
StackMap stack:
aload 2
sipush 443
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
30: StackMap locals:
StackMap stack:
aload 1
aload 7
iload 4
iload 4
iload 5
iadd
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
31: goto 45
32: StackMap locals:
StackMap stack:
aload 1
aload 7
iload 4
iload 4
iload 6
iadd
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
33: iconst_0
istore 10
start local 10 34: iconst_1
istore 11
start local 11 35: iload 5
iconst_1
isub
istore 12
start local 12 36: goto 43
37: StackMap locals: int int int
StackMap stack:
getstatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.DEC:[I
aload 7
iload 12
iload 4
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
iaload
istore 13
start local 13 38: iload 13
iconst_m1
if_icmpne 40
39: new java.lang.IllegalStateException
dup
ldc "Host header %s contained a non-decimal value in the port definition."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
40: StackMap locals: int
StackMap stack:
iload 10
iload 13
iload 11
imul
iadd
istore 10
41: iload 11
bipush 10
imul
istore 11
end local 13 42: iinc 12 -1
StackMap locals:
StackMap stack:
43: iload 12
iload 6
if_icmpgt 37
end local 12 44: aload 2
iload 10
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
end local 11 end local 10 45: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 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 46 0 hostDC Lorg/glassfish/grizzly/http/util/DataChunk;
0 46 1 serverNameDC Lorg/glassfish/grizzly/http/util/DataChunk;
0 46 2 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
5 46 3 valueBC Lorg/glassfish/grizzly/http/util/BufferChunk;
6 46 4 valueS I
7 46 5 valueL I
8 46 6 colonPos I
9 46 7 valueB Lorg/glassfish/grizzly/Buffer;
12 46 8 ipv6 Z
13 46 9 bracketClosed Z
14 25 10 i I
16 23 11 b B
34 45 10 port I
35 45 11 mult I
36 44 12 i I
38 42 13 charValue I
MethodParameters:
Name Flags
hostDC final
serverNameDC final
request final
private static boolean isNullLength(int);
descriptor: (I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc 65535
if_icmpeq 1
iload 0
iconst_m1
if_icmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 length I
MethodParameters:
Name Flags
length final
static int readShort(org.glassfish.grizzly.Buffer, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokeinterface org.glassfish.grizzly.Buffer.getShort:(I)S
ldc 65535
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Lorg/glassfish/grizzly/Buffer;
0 1 1 offset I
MethodParameters:
Name Flags
buffer final
offset final
static int getBytesToDataChunk(org.glassfish.grizzly.Buffer, int, org.glassfish.grizzly.http.util.DataChunk);
descriptor: (Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_2
iadd
istore 3
start local 3 1: aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.readShort:(Lorg/glassfish/grizzly/Buffer;I)I
istore 4
start local 4 2: iload 4
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.isNullLength:(I)Z
ifeq 4
3: iload 3
ireturn
4: StackMap locals: int int
StackMap stack:
aload 2
aload 0
iload 3
iload 3
iload 4
iadd
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
5: iload 3
iload 4
iadd
iconst_1
iadd
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 buffer Lorg/glassfish/grizzly/Buffer;
0 6 1 offset I
0 6 2 dataChunk Lorg/glassfish/grizzly/http/util/DataChunk;
1 6 3 bytesStart I
2 6 4 length I
MethodParameters:
Name Flags
buffer final
offset final
dataChunk final
private static int skipBytes(org.glassfish.grizzly.Buffer, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iload 1
iconst_2
iadd
istore 2
start local 2 1: aload 0
iload 1
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.readShort:(Lorg/glassfish/grizzly/Buffer;I)I
istore 3
start local 3 2: iload 3
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.isNullLength:(I)Z
ifeq 4
3: iload 2
ireturn
4: StackMap locals: int int
StackMap stack:
iload 2
iload 3
iadd
iconst_1
iadd
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 buffer Lorg/glassfish/grizzly/Buffer;
0 5 1 offset I
1 5 2 bytesStart I
2 5 3 length I
MethodParameters:
Name Flags
buffer final
offset final
private static int setStringAttribute(org.glassfish.grizzly.http.ajp.AjpHttpRequest, org.glassfish.grizzly.Buffer, int);
descriptor: (Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;Lorg/glassfish/grizzly/Buffer;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.ajp.AjpHttpRequest.tmpDataChunk:Lorg/glassfish/grizzly/http/util/DataChunk;
astore 3
start local 3 1: aload 1
iload 2
aload 3
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 2
2: aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
astore 4
start local 4 3: aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.recycle:()V
4: aload 1
iload 2
aload 3
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 2
5: aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
astore 5
start local 5 6: aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.recycle:()V
7: aload 0
aload 4
aload 5
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
8: iload 2
ireturn
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 9 0 req Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;
0 9 1 buffer Lorg/glassfish/grizzly/Buffer;
0 9 2 offset I
1 9 3 tmpDataChunk Lorg/glassfish/grizzly/http/util/DataChunk;
3 9 4 key Ljava/lang/String;
6 9 5 value Ljava/lang/String;
MethodParameters:
Name Flags
req final
buffer final
offset
private static int setStringAttributeValue(org.glassfish.grizzly.http.ajp.AjpHttpRequest, java.lang.String, org.glassfish.grizzly.Buffer, int);
descriptor: (Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;Ljava/lang/String;Lorg/glassfish/grizzly/Buffer;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.glassfish.grizzly.http.ajp.AjpHttpRequest.tmpDataChunk:Lorg/glassfish/grizzly/http/util/DataChunk;
astore 4
start local 4 1: aload 2
iload 3
aload 4
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.getBytesToDataChunk:(Lorg/glassfish/grizzly/Buffer;ILorg/glassfish/grizzly/http/util/DataChunk;)I
istore 3
2: aload 4
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
astore 5
start local 5 3: aload 4
invokevirtual org.glassfish.grizzly.http.util.DataChunk.recycle:()V
4: aload 0
aload 1
aload 5
invokevirtual org.glassfish.grizzly.http.ajp.AjpHttpRequest.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
5: iload 3
ireturn
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 6 0 req Lorg/glassfish/grizzly/http/ajp/AjpHttpRequest;
0 6 1 key Ljava/lang/String;
0 6 2 buffer Lorg/glassfish/grizzly/Buffer;
0 6 3 offset I
1 6 4 tmpDataChunk Lorg/glassfish/grizzly/http/util/DataChunk;
3 6 5 value Ljava/lang/String;
MethodParameters:
Name Flags
req final
key final
buffer final
offset
public static org.glassfish.grizzly.Buffer (org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.http.HttpResponsePacket);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/http/HttpResponsePacket;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=14, args_size=2
start local 0 start local 1 0: aload 0
sipush 4096
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
astore 2
start local 2 1: aload 2
invokeinterface org.glassfish.grizzly.Buffer.position:()I
istore 3
start local 3 2: aload 2
iload 3
iconst_4
iadd
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
3: aload 2
iconst_4
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
4: aload 2
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getStatus:()I
i2s
invokeinterface org.glassfish.grizzly.Buffer.putShort:(S)Lorg/glassfish/grizzly/Buffer;
pop
5: aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getTempHeaderEncodingBuffer:()[B
astore 4
start local 4 6: aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.isCustomReasonPhraseSet:()Z
ifeq 9
7: aload 0
aload 2
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getReasonPhraseDC:()Lorg/glassfish/grizzly/http/util/DataChunk;
invokestatic org.glassfish.grizzly.http.util.HttpUtils.filter:(Lorg/glassfish/grizzly/http/util/DataChunk;)Lorg/glassfish/grizzly/http/util/DataChunk;
aload 4
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.putBytes:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http/util/DataChunk;[B)Lorg/glassfish/grizzly/Buffer;
astore 2
8: goto 10
9: StackMap locals: org.glassfish.grizzly.Buffer int byte[]
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHttpStatus:()Lorg/glassfish/grizzly/http/util/HttpStatus;
invokevirtual org.glassfish.grizzly.http.util.HttpStatus.getReasonPhraseBytes:()[B
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.putBytes:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[B)Lorg/glassfish/grizzly/Buffer;
astore 2
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.isAcknowledgement:()Z
ifeq 13
11: aload 0
aload 2
iconst_0
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.putShort:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
astore 2
12: goto 34
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getHeaders:()Lorg/glassfish/grizzly/http/util/MimeHeaders;
astore 5
start local 5 14: aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getContentType:()Ljava/lang/String;
astore 6
start local 6 15: aload 6
ifnull 17
16: aload 5
ldc "Content-Type"
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.setValue:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/util/DataChunk;
aload 6
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
17: StackMap locals: org.glassfish.grizzly.http.util.MimeHeaders java.lang.String
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getContentLanguage:()Ljava/lang/String;
astore 7
start local 7 18: aload 7
ifnull 20
19: aload 5
ldc "Content-Language"
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.setValue:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/util/DataChunk;
aload 7
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
20: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual org.glassfish.grizzly.http.HttpResponsePacket.getContentLength:()J
lstore 8
start local 8 21: lload 8
lconst_0
lcmp
iflt 24
22: aload 0
lload 8
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.getLongAsBuffer:(Lorg/glassfish/grizzly/memory/MemoryManager;J)Lorg/glassfish/grizzly/Buffer;
astore 10
start local 10 23: aload 5
ldc "Content-Length"
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.setValue:(Ljava/lang/String;)Lorg/glassfish/grizzly/http/util/DataChunk;
aload 10
aload 10
invokeinterface org.glassfish.grizzly.Buffer.position:()I
aload 10
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBuffer:(Lorg/glassfish/grizzly/Buffer;II)V
end local 10 24: StackMap locals: long
StackMap stack:
aload 5
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.size:()I
istore 10
start local 10 25: aload 0
aload 2
iload 10
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.putShort:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
astore 2
26: iconst_0
istore 11
start local 11 27: goto 33
28: StackMap locals: int int
StackMap stack:
aload 5
iload 11
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getName:(I)Lorg/glassfish/grizzly/http/util/DataChunk;
astore 12
start local 12 29: aload 0
aload 2
aload 12
aload 4
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.putBytes:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http/util/DataChunk;[B)Lorg/glassfish/grizzly/Buffer;
astore 2
30: aload 5
iload 11
invokevirtual org.glassfish.grizzly.http.util.MimeHeaders.getValue:(I)Lorg/glassfish/grizzly/http/util/DataChunk;
astore 13
start local 13 31: aload 0
aload 2
aload 13
aload 4
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.putBytes:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http/util/DataChunk;[B)Lorg/glassfish/grizzly/Buffer;
astore 2
end local 13 end local 12 32: iinc 11 1
StackMap locals:
StackMap stack:
33: iload 11
iload 10
if_icmplt 28
end local 11 end local 10 end local 8 end local 7 end local 6 end local 5 34: StackMap locals: org.glassfish.grizzly.memory.MemoryManager org.glassfish.grizzly.http.HttpResponsePacket org.glassfish.grizzly.Buffer int byte[]
StackMap stack:
aload 2
iload 3
bipush 65
invokeinterface org.glassfish.grizzly.Buffer.put:(IB)Lorg/glassfish/grizzly/Buffer;
pop
35: aload 2
iload 3
iconst_1
iadd
bipush 66
invokeinterface org.glassfish.grizzly.Buffer.put:(IB)Lorg/glassfish/grizzly/Buffer;
pop
36: aload 2
iload 3
iconst_2
iadd
aload 2
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 3
isub
iconst_4
isub
i2s
invokeinterface org.glassfish.grizzly.Buffer.putShort:(IS)Lorg/glassfish/grizzly/Buffer;
pop
37: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 mm Lorg/glassfish/grizzly/memory/MemoryManager;
0 38 1 httpResponsePacket Lorg/glassfish/grizzly/http/HttpResponsePacket;
1 38 2 encodedBuffer Lorg/glassfish/grizzly/Buffer;
2 38 3 startPos I
6 38 4 tempBuffer [B
14 34 5 headers Lorg/glassfish/grizzly/http/util/MimeHeaders;
15 34 6 contentType Ljava/lang/String;
18 34 7 contentLanguage Ljava/lang/String;
21 34 8 contentLength J
23 24 10 contentLengthBuffer Lorg/glassfish/grizzly/Buffer;
25 34 10 numHeaders I
27 34 11 i I
29 32 12 headerName Lorg/glassfish/grizzly/http/util/DataChunk;
31 32 13 headerValue Lorg/glassfish/grizzly/http/util/DataChunk;
MethodParameters:
Name Flags
mm final
httpResponsePacket final
public static org.glassfish.grizzly.Buffer appendContentAndTrim(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: StackMap locals: org.glassfish.grizzly.Buffer
StackMap stack:
aconst_null
astore 4
start local 4 2: aload 2
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
sipush 8178
if_icmple 4
3: aload 2
aload 2
invokeinterface org.glassfish.grizzly.Buffer.position:()I
sipush 8178
iadd
invokeinterface org.glassfish.grizzly.Buffer.split:(I)Lorg/glassfish/grizzly/Buffer;
astore 4
4: StackMap locals: org.glassfish.grizzly.Buffer
StackMap stack:
aload 0
aload 1
aload 2
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.appendContentChunkAndTrim:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
astore 5
start local 5 5: aload 0
aload 3
aload 5
invokestatic org.glassfish.grizzly.memory.Buffers.appendBuffers:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
astore 3
6: aconst_null
astore 1
7: aload 4
astore 2
end local 5 end local 4 8: aload 2
ifnull 9
aload 2
invokeinterface org.glassfish.grizzly.Buffer.hasRemaining:()Z
ifne 1
9: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 10 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 10 2 httpContentBuffer Lorg/glassfish/grizzly/Buffer;
1 10 3 resultBuffer Lorg/glassfish/grizzly/Buffer;
2 8 4 contentRemainder Lorg/glassfish/grizzly/Buffer;
5 8 5 encodedContentChunk Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
memoryManager final
dstBuffer
httpContentBuffer
private static org.glassfish.grizzly.Buffer appendContentChunkAndTrim(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
bipush 7
if_icmplt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: iload 3
ifeq 6
4: aload 1
astore 4
start local 4 5: goto 10
end local 4 6: StackMap locals: int
StackMap stack:
aload 1
ifnull 8
7: aload 1
invokeinterface org.glassfish.grizzly.Buffer.trim:()V
8: StackMap locals:
StackMap stack:
aload 0
bipush 7
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
astore 4
start local 4 9: aload 4
iconst_1
invokeinterface org.glassfish.grizzly.Buffer.allowBufferDispose:(Z)V
10: StackMap locals: org.glassfish.grizzly.Buffer
StackMap stack:
aload 4
bipush 65
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
11: aload 4
bipush 66
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
12: aload 4
iconst_4
aload 2
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iadd
i2s
invokeinterface org.glassfish.grizzly.Buffer.putShort:(S)Lorg/glassfish/grizzly/Buffer;
pop
13: aload 4
iconst_3
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
14: aload 4
aload 2
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
i2s
invokeinterface org.glassfish.grizzly.Buffer.putShort:(S)Lorg/glassfish/grizzly/Buffer;
pop
15: aload 4
invokeinterface org.glassfish.grizzly.Buffer.trim:()V
16: aload 0
aload 4
aload 2
invokestatic org.glassfish.grizzly.memory.Buffers.appendBuffers:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
astore 5
start local 5 17: aload 0
iconst_1
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
astore 6
start local 6 18: aload 6
iconst_1
invokeinterface org.glassfish.grizzly.Buffer.allowBufferDispose:(Z)V
19: aload 0
aload 5
aload 6
invokestatic org.glassfish.grizzly.memory.Buffers.appendBuffers:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
astore 5
20: iload 3
ifne 22
aload 1
ifnull 22
21: aload 0
aload 1
aload 5
invokestatic org.glassfish.grizzly.memory.Buffers.appendBuffers:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
astore 5
22: StackMap locals: org.glassfish.grizzly.Buffer org.glassfish.grizzly.Buffer
StackMap stack:
aload 5
invokeinterface org.glassfish.grizzly.Buffer.isComposite:()Z
ifeq 24
23: aload 5
checkcast org.glassfish.grizzly.memory.CompositeBuffer
iconst_1
invokevirtual org.glassfish.grizzly.memory.CompositeBuffer.allowInternalBuffersDispose:(Z)V
24: StackMap locals:
StackMap stack:
aload 5
areturn
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 25 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 25 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 25 2 httpContentBuffer Lorg/glassfish/grizzly/Buffer;
3 25 3 useDstBufferForHeaders Z
5 6 4 headerBuffer Lorg/glassfish/grizzly/Buffer;
9 25 4 headerBuffer Lorg/glassfish/grizzly/Buffer;
17 25 5 resultBuffer Lorg/glassfish/grizzly/Buffer;
18 25 6 terminatingBuffer Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
memoryManager final
dstBuffer final
httpContentBuffer final
private static org.glassfish.grizzly.Buffer putBytes(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.http.util.DataChunk, byte[]);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/http/util/DataChunk;[B)Lorg/glassfish/grizzly/Buffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 2
invokevirtual org.glassfish.grizzly.http.util.DataChunk.isNull:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.EMPTY_BYTE_ARRAY:[B
invokestatic org.glassfish.grizzly.http.ajp.AjpMessageUtils.putBytes:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[B)Lorg/glassfish/grizzly/Buffer;
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getLength:()I
istore 4
start local 4 3: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iload 4
iconst_2
iadd
iconst_1
iadd
if_icmpge 5
4: aload 0
aload 1
iload 4
iconst_2
iadd
iconst_1
iadd
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.resizeBuffer:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
astore 1
5: StackMap locals: int
StackMap stack:
aload 1
iload 4
i2s
invokeinterface org.glassfish.grizzly.Buffer.putShort:(S)Lorg/glassfish/grizzly/Buffer;
pop
6: aload 0
aload 1
aload 3
aload 2
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.put:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[BLorg/glassfish/grizzly/http/util/DataChunk;)Lorg/glassfish/grizzly/Buffer;
astore 1
7: aload 1
iconst_0
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
8: aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 9 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 9 2 dataChunk Lorg/glassfish/grizzly/http/util/DataChunk;
0 9 3 tempBuffer [B
3 9 4 size I
MethodParameters:
Name Flags
memoryManager final
dstBuffer
dataChunk final
tempBuffer final
private static org.glassfish.grizzly.Buffer putBytes(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, byte[]);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[B)Lorg/glassfish/grizzly/Buffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
istore 3
start local 3 1: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iload 3
iconst_2
iadd
iconst_1
iadd
if_icmpge 3
2: aload 0
aload 1
iload 3
iconst_2
iadd
iconst_1
iadd
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.resizeBuffer:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
astore 1
3: StackMap locals: int
StackMap stack:
aload 1
iload 3
i2s
invokeinterface org.glassfish.grizzly.Buffer.putShort:(S)Lorg/glassfish/grizzly/Buffer;
pop
4: aload 0
aload 1
aload 2
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.put:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[B)Lorg/glassfish/grizzly/Buffer;
astore 1
5: aload 1
iconst_0
invokeinterface org.glassfish.grizzly.Buffer.put:(B)Lorg/glassfish/grizzly/Buffer;
pop
6: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 7 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 7 2 bytes [B
1 7 3 size I
MethodParameters:
Name Flags
memoryManager final
dstBuffer
bytes final
private static org.glassfish.grizzly.Buffer putShort(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, int);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
iconst_2
if_icmpge 2
1: aload 0
aload 1
iconst_2
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.resizeBuffer:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
astore 1
2: StackMap locals:
StackMap stack:
aload 1
iload 2
i2s
invokeinterface org.glassfish.grizzly.Buffer.putShort:(S)Lorg/glassfish/grizzly/Buffer;
pop
3: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 4 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 4 2 value I
MethodParameters:
Name Flags
memoryManager final
dstBuffer
value final
}
SourceFile: "AjpMessageUtils.java"