public class org.glassfish.grizzly.http.util.HttpCodecUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.http.util.HttpCodecUtils
super_class: java.lang.Object
{
static final byte[] EMPTY_ARRAY;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final int[] DEC;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
newarray 8
putstatic org.glassfish.grizzly.http.util.HttpCodecUtils.EMPTY_ARRAY:[B
1: invokestatic org.glassfish.grizzly.http.util.HexUtils.getDecBytes:()[I
putstatic org.glassfish.grizzly.http.util.HttpCodecUtils.DEC:[I
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/util/HttpCodecUtils;
public 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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 7
1: aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.getConnection:()Lorg/glassfish/grizzly/Connection;
astore 3
start local 3 2: aload 2
aload 3
invokeinterface org.glassfish.grizzly.Connection.getLocalAddress:()Ljava/lang/Object;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getPort:()I
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
3: aload 3
invokeinterface org.glassfish.grizzly.Connection.getLocalAddress:()Ljava/lang/Object;
checkcast java.net.InetSocketAddress
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
astore 4
start local 4 4: aload 2
aload 4
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setLocalHost:(Ljava/lang/String;)V
5: aload 1
aload 4
invokevirtual java.net.InetAddress.getHostName:()Ljava/lang/String;
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setString:(Ljava/lang/String;)V
6: return
end local 4 end local 3 7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getType:()Lorg/glassfish/grizzly/http/util/DataChunk$Type;
getstatic org.glassfish.grizzly.http.util.DataChunk$Type.Bytes:Lorg/glassfish/grizzly/http/util/DataChunk$Type;
if_acmpne 54
8: aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getByteChunk:()Lorg/glassfish/grizzly/http/util/ByteChunk;
astore 3
start local 3 9: aload 3
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
istore 4
start local 4 10: aload 3
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getEnd:()I
iload 4
isub
istore 5
start local 5 11: iconst_m1
istore 6
start local 6 12: aload 3
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBuffer:()[B
astore 7
start local 7 13: aload 7
iload 4
baload
bipush 91
if_icmpne 14
iconst_1
goto 15
StackMap locals: org.glassfish.grizzly.http.util.DataChunk org.glassfish.grizzly.http.util.DataChunk org.glassfish.grizzly.http.HttpRequestPacket org.glassfish.grizzly.http.util.ByteChunk int int int byte[]
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 8
start local 8 16: iconst_0
istore 9
start local 9 17: iconst_0
istore 10
start local 10 18: goto 28
19: StackMap locals: int int int
StackMap stack:
aload 7
iload 10
iload 4
iadd
baload
istore 11
start local 11 20: iload 11
bipush 93
if_icmpne 23
21: iconst_1
istore 9
22: goto 27
StackMap locals: int
StackMap stack:
23: iload 11
bipush 58
if_icmpne 27
24: iload 8
ifeq 25
iload 9
ifeq 27
25: StackMap locals:
StackMap stack:
iload 10
istore 6
26: goto 29
end local 11 27: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
28: iload 10
iload 5
if_icmplt 19
end local 10 29: StackMap locals:
StackMap stack:
iload 6
ifge 36
30: aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.isSecure:()Z
ifne 33
31: aload 2
bipush 80
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
32: goto 34
33: StackMap locals:
StackMap stack:
aload 2
sipush 443
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
34: StackMap locals:
StackMap stack:
aload 1
aload 7
iload 4
iload 4
iload 5
iadd
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
35: goto 99
36: StackMap locals:
StackMap stack:
aload 1
aload 7
iload 4
iload 4
iload 6
iadd
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
37: iconst_0
istore 10
start local 10 38: iconst_1
istore 11
start local 11 39: iload 5
iconst_1
isub
istore 12
start local 12 40: goto 51
41: StackMap locals: int int int
StackMap stack:
getstatic org.glassfish.grizzly.http.util.HttpCodecUtils.DEC:[I
aload 7
iload 12
iload 4
iadd
baload
iaload
istore 13
start local 13 42: iload 13
iconst_m1
if_icmpne 48
43: new java.lang.IllegalStateException
dup
44: ldc "Host header %s contained a non-decimal value in the port definition."
iconst_1
anewarray java.lang.Object
dup
iconst_0
45: aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
aastore
46: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
47: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
48: StackMap locals: int
StackMap stack:
iload 10
iload 13
iload 11
imul
iadd
istore 10
49: iload 11
bipush 10
imul
istore 11
end local 13 50: iinc 12 -1
StackMap locals:
StackMap stack:
51: iload 12
iload 6
if_icmpgt 41
end local 12 52: aload 2
iload 10
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 53: goto 99
54: StackMap locals: org.glassfish.grizzly.http.util.DataChunk org.glassfish.grizzly.http.util.DataChunk org.glassfish.grizzly.http.HttpRequestPacket
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getBufferChunk:()Lorg/glassfish/grizzly/http/util/BufferChunk;
astore 3
start local 3 55: aload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getStart:()I
istore 4
start local 4 56: aload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getEnd:()I
iload 4
isub
istore 5
start local 5 57: iconst_m1
istore 6
start local 6 58: aload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 7
start local 7 59: aload 7
iload 4
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 91
if_icmpne 60
iconst_1
goto 61
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:
60: iconst_0
StackMap locals:
StackMap stack: int
61: istore 8
start local 8 62: iconst_0
istore 9
start local 9 63: iconst_0
istore 10
start local 10 64: goto 74
65: 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 66: iload 11
bipush 93
if_icmpne 69
67: iconst_1
istore 9
68: goto 73
StackMap locals: int
StackMap stack:
69: iload 11
bipush 58
if_icmpne 73
70: iload 8
ifeq 71
iload 9
ifeq 73
71: StackMap locals:
StackMap stack:
iload 10
istore 6
72: goto 75
end local 11 73: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
74: iload 10
iload 5
if_icmplt 65
end local 10 75: StackMap locals:
StackMap stack:
iload 6
ifge 82
76: aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.isSecure:()Z
ifne 79
77: aload 2
bipush 80
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
78: goto 80
79: StackMap locals:
StackMap stack:
aload 2
sipush 443
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
80: 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
81: goto 99
82: 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
83: iconst_0
istore 10
start local 10 84: iconst_1
istore 11
start local 11 85: iload 5
iconst_1
isub
istore 12
start local 12 86: goto 97
87: StackMap locals: int int int
StackMap stack:
getstatic org.glassfish.grizzly.http.util.HttpCodecUtils.DEC:[I
aload 7
iload 12
iload 4
iadd
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
iaload
istore 13
start local 13 88: iload 13
iconst_m1
if_icmpne 94
89: new java.lang.IllegalStateException
dup
90: ldc "Host header %s contained a non-decimal value in the port definition."
iconst_1
anewarray java.lang.Object
dup
iconst_0
91: aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
aastore
92: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
93: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
94: StackMap locals: int
StackMap stack:
iload 10
iload 13
iload 11
imul
iadd
istore 10
95: iload 11
bipush 10
imul
istore 11
end local 13 96: iinc 12 -1
StackMap locals:
StackMap stack:
97: iload 12
iload 6
if_icmpgt 87
end local 12 98: aload 2
iload 10
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 99: StackMap locals: org.glassfish.grizzly.http.util.DataChunk org.glassfish.grizzly.http.util.DataChunk org.glassfish.grizzly.http.HttpRequestPacket
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 100 0 hostDC Lorg/glassfish/grizzly/http/util/DataChunk;
0 100 1 serverNameDC Lorg/glassfish/grizzly/http/util/DataChunk;
0 100 2 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
2 7 3 connection Lorg/glassfish/grizzly/Connection;
4 7 4 localAddress Ljava/net/InetAddress;
9 53 3 valueBC Lorg/glassfish/grizzly/http/util/ByteChunk;
10 53 4 valueS I
11 53 5 valueL I
12 53 6 colonPos I
13 53 7 valueB [B
16 53 8 ipv6 Z
17 53 9 bracketClosed Z
18 29 10 i I
20 27 11 b B
38 53 10 port I
39 53 11 mult I
40 52 12 i I
42 50 13 charValue I
55 99 3 valueBC Lorg/glassfish/grizzly/http/util/BufferChunk;
56 99 4 valueS I
57 99 5 valueL I
58 99 6 colonPos I
59 99 7 valueB Lorg/glassfish/grizzly/Buffer;
62 99 8 ipv6 Z
63 99 9 bracketClosed Z
64 75 10 i I
66 73 11 b B
84 99 10 port I
85 99 11 mult I
86 98 12 i I
88 96 13 charValue I
MethodParameters:
Name Flags
hostDC final
serverNameDC final
request final
public static int (org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState, org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;Lorg/glassfish/grizzly/Buffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
istore 2
start local 2 1: aload 1
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
iload 2
isub
istore 3
start local 3 2: iload 3
iconst_2
if_icmplt 7
3: aload 1
iload 2
invokeinterface org.glassfish.grizzly.Buffer.getShort:(I)S
istore 6
start local 6 4: iload 6
bipush 8
iushr
i2b
istore 4
start local 4 5: iload 6
sipush 255
iand
i2b
istore 5
end local 6 start local 5 6: goto 12
end local 5 end local 4 StackMap locals: int int
StackMap stack:
7: iload 3
iconst_1
if_icmpne 11
8: aload 1
iload 2
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 4
start local 4 9: iconst_m1
istore 5
start local 5 10: goto 12
end local 5 end local 4 11: StackMap locals:
StackMap stack:
bipush -2
ireturn
start local 4 start local 5 12: StackMap locals: int int
StackMap stack:
aload 0
iload 4
iload 5
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.checkCRLF:(Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;BB)I
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 13 0 parsingState Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;
0 13 1 input Lorg/glassfish/grizzly/Buffer;
1 13 2 offset I
2 13 3 avail I
5 7 4 b1 B
9 11 4 b1 B
12 13 4 b1 B
6 7 5 b2 B
10 11 5 b2 B
12 13 5 b2 B
4 6 6 s S
MethodParameters:
Name Flags
parsingState final
input final
public static int (org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState, byte[], int);
descriptor: (Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;[BI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.arrayOffset:I
istore 3
start local 3 1: iload 3
aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
iadd
istore 4
start local 4 2: aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.packetLimit:I
iload 3
iadd
iload 2
invokestatic java.lang.Math.min:(II)I
iload 4
isub
istore 5
start local 5 3: iload 5
iconst_2
if_icmplt 7
4: aload 1
iload 4
baload
istore 6
start local 6 5: aload 1
iload 4
iconst_1
iadd
baload
istore 7
start local 7 6: goto 12
end local 7 end local 6 StackMap locals: int int int
StackMap stack:
7: iload 5
iconst_1
if_icmpne 11
8: aload 1
iload 4
baload
istore 6
start local 6 9: iconst_m1
istore 7
start local 7 10: goto 12
end local 7 end local 6 11: StackMap locals:
StackMap stack:
bipush -2
ireturn
start local 6 start local 7 12: StackMap locals: int int
StackMap stack:
aload 0
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.checkCRLF:(Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;BB)I
ireturn
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 13 0 parsingState Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;
0 13 1 input [B
0 13 2 end I
1 13 3 arrayOffs I
2 13 4 offset I
3 13 5 avail I
5 7 6 b1 B
9 11 6 b1 B
12 13 6 b1 B
6 7 7 b2 B
10 11 7 b2 B
12 13 7 b2 B
MethodParameters:
Name Flags
parsingState final
input final
end final
public static boolean (org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState, org.glassfish.grizzly.Buffer);
descriptor: (Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;Lorg/glassfish/grizzly/Buffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
istore 2
start local 2 1: aload 1
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.packetLimit:I
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 2: goto 13
3: StackMap locals: int int
StackMap stack:
aload 1
iload 2
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 4
start local 4 4: iload 4
bipush 13
if_icmpne 7
5: aload 0
iload 2
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.checkpoint:I
6: goto 12
StackMap locals: int
StackMap stack:
7: iload 4
bipush 10
if_icmpne 12
8: aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.checkpoint:I
iconst_m1
if_icmpne 10
9: aload 0
iload 2
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.checkpoint:I
10: StackMap locals:
StackMap stack:
aload 0
iload 2
iconst_1
iadd
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
11: iconst_1
ireturn
12: StackMap locals:
StackMap stack:
iinc 2 1
end local 4 13: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmplt 3
14: aload 0
iload 2
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
15: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 state Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;
0 16 1 input Lorg/glassfish/grizzly/Buffer;
1 16 2 offset I
2 16 3 limit I
4 13 4 b B
MethodParameters:
Name Flags
state final
input final
public static boolean (org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState, byte[], int);
descriptor: (Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;[BI)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.arrayOffset:I
istore 3
start local 3 1: iload 3
aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
iadd
istore 4
start local 4 2: iload 2
iload 3
aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.packetLimit:I
iadd
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 3: goto 14
4: StackMap locals: int int int
StackMap stack:
aload 1
iload 4
baload
istore 6
start local 6 5: iload 6
bipush 13
if_icmpne 8
6: aload 0
iload 4
iload 3
isub
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.checkpoint:I
7: goto 13
StackMap locals: int
StackMap stack:
8: iload 6
bipush 10
if_icmpne 13
9: aload 0
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.checkpoint:I
iconst_m1
if_icmpne 11
10: aload 0
iload 4
iload 3
isub
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.checkpoint:I
11: StackMap locals:
StackMap stack:
aload 0
iload 4
iconst_1
iadd
iload 3
isub
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
iinc 4 1
end local 6 14: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 4
15: aload 0
iload 4
iload 3
isub
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
16: iconst_0
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 17 0 state Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;
0 17 1 input [B
0 17 2 end I
1 17 3 arrayOffs I
2 17 4 offset I
3 17 5 limit I
5 14 6 b B
MethodParameters:
Name Flags
state final
input final
end final
public static int findSpace(org.glassfish.grizzly.Buffer, int, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
iload 2
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 4
start local 4 3: iload 4
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.isSpaceOrTab:(B)Z
ifeq 5
4: iload 1
ireturn
5: StackMap locals: int
StackMap stack:
iinc 1 1
end local 4 6: StackMap locals:
StackMap stack:
iload 1
iload 3
if_icmplt 2
7: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 input Lorg/glassfish/grizzly/Buffer;
0 8 1 offset I
0 8 2 packetLimit I
1 8 3 limit I
3 6 4 b B
MethodParameters:
Name Flags
input final
offset
packetLimit final
public static int findSpace(byte[], int, int, int);
descriptor: ([BIII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
baload
istore 5
start local 5 3: iload 5
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.isSpaceOrTab:(B)Z
ifeq 5
4: iload 1
ireturn
5: StackMap locals: int
StackMap stack:
iinc 1 1
end local 5 6: StackMap locals:
StackMap stack:
iload 1
iload 4
if_icmplt 2
7: iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 input [B
0 8 1 offset I
0 8 2 end I
0 8 3 packetLimit I
1 8 4 limit I
3 6 5 b B
MethodParameters:
Name Flags
input final
offset
end final
packetLimit final
public static int skipSpaces(org.glassfish.grizzly.Buffer, int, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
iload 2
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 4
start local 4 3: iload 4
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.isNotSpaceAndTab:(B)Z
ifeq 5
4: iload 1
ireturn
5: StackMap locals: int
StackMap stack:
iinc 1 1
end local 4 6: StackMap locals:
StackMap stack:
iload 1
iload 3
if_icmplt 2
7: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 input Lorg/glassfish/grizzly/Buffer;
0 8 1 offset I
0 8 2 packetLimit I
1 8 3 limit I
3 6 4 b B
MethodParameters:
Name Flags
input final
offset
packetLimit final
public static int skipSpaces(byte[], int, int, int);
descriptor: ([BIII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
baload
istore 5
start local 5 3: iload 5
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.isNotSpaceAndTab:(B)Z
ifeq 5
4: iload 1
ireturn
5: StackMap locals: int
StackMap stack:
iinc 1 1
end local 5 6: StackMap locals:
StackMap stack:
iload 1
iload 4
if_icmplt 2
7: iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 input [B
0 8 1 offset I
0 8 2 end I
0 8 3 packetLimit I
1 8 4 limit I
3 6 5 b B
MethodParameters:
Name Flags
input final
offset
end final
packetLimit final
public static int indexOf(org.glassfish.grizzly.Buffer, int, byte, int);
descriptor: (Lorg/glassfish/grizzly/Buffer;IBI)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokeinterface org.glassfish.grizzly.Buffer.limit:()I
iload 3
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
istore 5
start local 5 3: iload 5
iload 2
if_icmpne 5
4: iload 1
ireturn
5: StackMap locals: int
StackMap stack:
iinc 1 1
end local 5 6: StackMap locals:
StackMap stack:
iload 1
iload 4
if_icmplt 2
7: iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 input Lorg/glassfish/grizzly/Buffer;
0 8 1 offset I
0 8 2 b B
0 8 3 packetLimit I
1 8 4 limit I
3 6 5 currentByte B
MethodParameters:
Name Flags
input final
offset
b final
packetLimit final
public static org.glassfish.grizzly.Buffer getLongAsBuffer(org.glassfish.grizzly.memory.MemoryManager, long);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;J)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
bipush 20
invokeinterface org.glassfish.grizzly.memory.MemoryManager.allocate:(I)Lorg/glassfish/grizzly/Buffer;
astore 3
start local 3 1: aload 3
iconst_1
invokeinterface org.glassfish.grizzly.Buffer.allowBufferDispose:(Z)V
2: lload 1
aload 3
invokestatic org.glassfish.grizzly.http.util.HttpUtils.longToBuffer:(JLorg/glassfish/grizzly/Buffer;)V
3: aload 3
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 4 1 length J
1 4 3 b Lorg/glassfish/grizzly/Buffer;
MethodParameters:
Name Flags
memoryManager final
length final
public static org.glassfish.grizzly.Buffer put(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, byte[], org.glassfish.grizzly.http.util.DataChunk);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[BLorg/glassfish/grizzly/http/util/DataChunk;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.isNull:()Z
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getType:()Lorg/glassfish/grizzly/http/util/DataChunk$Type;
getstatic org.glassfish.grizzly.http.util.DataChunk$Type.Bytes:Lorg/glassfish/grizzly/http/util/DataChunk$Type;
if_acmpne 6
2: aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getByteChunk:()Lorg/glassfish/grizzly/http/util/ByteChunk;
astore 4
start local 4 3: aload 0
aload 1
aload 4
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBuffer:()[B
4: aload 4
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
aload 4
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
5: invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.put:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[BII)Lorg/glassfish/grizzly/Buffer;
areturn
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getType:()Lorg/glassfish/grizzly/http/util/DataChunk$Type;
getstatic org.glassfish.grizzly.http.util.DataChunk$Type.Buffer:Lorg/glassfish/grizzly/http/util/DataChunk$Type;
if_acmpne 12
7: aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getBufferChunk:()Lorg/glassfish/grizzly/http/util/BufferChunk;
astore 4
start local 4 8: aload 4
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getLength:()I
istore 5
start local 5 9: aload 0
aload 1
iload 5
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.checkAndResizeIfNeeded:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
astore 1
10: aload 1
aload 4
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getBuffer:()Lorg/glassfish/grizzly/Buffer;
aload 4
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getStart:()I
iload 5
invokeinterface org.glassfish.grizzly.Buffer.put:(Lorg/glassfish/grizzly/Buffer;II)Lorg/glassfish/grizzly/Buffer;
pop
11: aload 1
areturn
end local 5 end local 4 12: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.put:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[BLjava/lang/String;)Lorg/glassfish/grizzly/Buffer;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 13 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 13 2 tempBuffer [B
0 13 3 chunk Lorg/glassfish/grizzly/http/util/DataChunk;
3 6 4 byteChunk Lorg/glassfish/grizzly/http/util/ByteChunk;
8 12 4 bc Lorg/glassfish/grizzly/http/util/BufferChunk;
9 12 5 length I
MethodParameters:
Name Flags
memoryManager final
dstBuffer
tempBuffer final
chunk final
public static org.glassfish.grizzly.Buffer put(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, byte[], java.lang.String);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[BLjava/lang/String;)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual java.lang.String.length:()I
istore 4
start local 4 1: aload 0
aload 1
iload 4
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.checkAndResizeIfNeeded:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
astore 1
2: aload 1
invokeinterface org.glassfish.grizzly.Buffer.hasArray:()Z
ifeq 16
3: aload 1
invokeinterface org.glassfish.grizzly.Buffer.array:()[B
astore 5
start local 5 4: aload 1
invokeinterface org.glassfish.grizzly.Buffer.arrayOffset:()I
istore 6
start local 6 5: iload 6
aload 1
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iadd
istore 7
start local 7 6: iconst_0
istore 8
start local 8 7: goto 13
8: StackMap locals: org.glassfish.grizzly.memory.MemoryManager org.glassfish.grizzly.Buffer byte[] java.lang.String int byte[] int int int
StackMap stack:
aload 3
iload 8
invokevirtual java.lang.String.charAt:(I)C
i2b
istore 9
start local 9 9: aload 5
iload 7
iinc 7 1
iload 9
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.isNonPrintableUsAscii:(I)Z
ifeq 10
bipush 32
goto 11
StackMap locals: org.glassfish.grizzly.memory.MemoryManager org.glassfish.grizzly.Buffer byte[] java.lang.String int byte[] int int int int
StackMap stack: byte[] int
10: iload 9
StackMap locals: org.glassfish.grizzly.memory.MemoryManager org.glassfish.grizzly.Buffer byte[] java.lang.String int byte[] int int int int
StackMap stack: byte[] int int
11: bastore
end local 9 12: iinc 8 1
StackMap locals:
StackMap stack:
13: iload 8
iload 4
if_icmplt 8
end local 8 14: aload 1
iload 7
iload 6
isub
invokeinterface org.glassfish.grizzly.Buffer.position:(I)Lorg/glassfish/grizzly/Buffer;
pop
end local 7 end local 6 end local 5 15: goto 17
16: StackMap locals: org.glassfish.grizzly.memory.MemoryManager org.glassfish.grizzly.Buffer byte[] java.lang.String int
StackMap stack:
aload 3
aload 2
aload 1
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.fastAsciiEncode:(Ljava/lang/String;[BLorg/glassfish/grizzly/Buffer;)V
17: StackMap locals:
StackMap stack:
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 18 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 18 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 18 2 tempBuffer [B
0 18 3 s Ljava/lang/String;
1 18 4 size I
4 15 5 array [B
5 15 6 arrayOffs I
6 15 7 pos I
7 14 8 i I
9 12 9 b B
MethodParameters:
Name Flags
memoryManager final
dstBuffer
tempBuffer final
s final
public static org.glassfish.grizzly.Buffer put(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
aload 2
arraylength
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.put:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[BII)Lorg/glassfish/grizzly/Buffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 1 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 1 2 array [B
MethodParameters:
Name Flags
memoryManager final
dstBuffer
array final
public static org.glassfish.grizzly.Buffer put(org.glassfish.grizzly.memory.MemoryManager, org.glassfish.grizzly.Buffer, byte[], int, int);
descriptor: (Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;[BII)Lorg/glassfish/grizzly/Buffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 4
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.checkAndResizeIfNeeded:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
astore 1
1: aload 1
aload 2
iload 3
iload 4
invokeinterface org.glassfish.grizzly.Buffer.put:([BII)Lorg/glassfish/grizzly/Buffer;
pop
2: 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 3 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 3 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 3 2 array [B
0 3 3 off I
0 3 4 len I
MethodParameters:
Name Flags
memoryManager final
dstBuffer
array final
off final
len final
public static org.glassfish.grizzly.Buffer put(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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.glassfish.grizzly.Buffer.remaining:()I
istore 3
start local 3 1: aload 0
aload 1
iload 3
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.checkAndResizeIfNeeded:(Lorg/glassfish/grizzly/memory/MemoryManager;Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
astore 1
2: aload 1
aload 2
invokeinterface org.glassfish.grizzly.Buffer.put:(Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
pop
3: aload 1
areturn
end local 3 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 buffer Lorg/glassfish/grizzly/Buffer;
1 4 3 addSize I
MethodParameters:
Name Flags
memoryManager final
dstBuffer
buffer final
public static org.glassfish.grizzly.Buffer put(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: (0x0009) ACC_PUBLIC, 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.hasRemaining:()Z
ifne 2
1: aload 0
aload 1
iconst_1
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
invokeinterface org.glassfish.grizzly.Buffer.put:(B)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 B
MethodParameters:
Name Flags
memoryManager final
dstBuffer
value final
public static org.glassfish.grizzly.Buffer resizeBuffer(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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
1: aload 1
invokeinterface org.glassfish.grizzly.Buffer.capacity:()I
iload 2
iadd
2: aload 1
invokeinterface org.glassfish.grizzly.Buffer.capacity:()I
iconst_3
imul
iconst_2
idiv
iconst_1
iadd
3: invokestatic java.lang.Math.max:(II)I
invokeinterface org.glassfish.grizzly.memory.MemoryManager.reallocate:(Lorg/glassfish/grizzly/Buffer;I)Lorg/glassfish/grizzly/Buffer;
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 buffer Lorg/glassfish/grizzly/Buffer;
0 4 2 grow I
MethodParameters:
Name Flags
memoryManager final
buffer final
grow final
public static boolean isNotSpaceAndTab(byte);
descriptor: (B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 32
if_icmpeq 1
iload 0
bipush 9
if_icmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 b B
MethodParameters:
Name Flags
b final
public static boolean isSpaceOrTab(byte);
descriptor: (B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 32
if_icmpeq 1
iload 0
bipush 9
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 b B
MethodParameters:
Name Flags
b final
public static byte[] toCheckedByteArray(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.CharSequence.length:()I
newarray 8
astore 1
start local 1 1: aload 0
aload 1
iconst_0
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.toCheckedByteArray:(Ljava/lang/CharSequence;[BI)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/CharSequence;
1 2 1 array [B
MethodParameters:
Name Flags
s final
public static byte[] toCheckedByteArray(java.lang.CharSequence, byte[], int);
descriptor: (Ljava/lang/CharSequence;[BI)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.CharSequence.length:()I
istore 3
start local 3 3: iload 2
iload 3
iadd
aload 1
arraylength
if_icmple 5
4: new java.lang.IllegalArgumentException
dup
ldc "Not enough space in the array"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iconst_0
istore 4
start local 4 6: goto 13
7: StackMap locals: int
StackMap stack:
aload 0
iload 4
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 5
start local 5 8: aload 1
iload 4
iload 2
iadd
iload 5
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.isNonPrintableUsAscii:(I)Z
ifeq 10
9: bipush 32
goto 11
StackMap locals: java.lang.CharSequence byte[] int int int int
StackMap stack: byte[] int
10: iload 5
i2b
11: StackMap locals: java.lang.CharSequence byte[] int int int int
StackMap stack: byte[] int int
bastore
end local 5 12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 3
if_icmplt 7
end local 4 14: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 s Ljava/lang/CharSequence;
0 15 1 dstArray [B
0 15 2 arrayOffs I
3 15 3 strLen I
6 14 4 i I
8 12 5 c I
MethodParameters:
Name Flags
s final
dstArray final
arrayOffs final
public static boolean isNonPrintableUsAscii(int);
descriptor: (I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 31
if_icmpgt 1
iload 0
bipush 9
if_icmpne 2
StackMap locals:
StackMap stack:
1: iload 0
bipush 127
if_icmpge 2
iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ub I
MethodParameters:
Name Flags
ub final
private static void fastAsciiEncode(java.lang.String, byte[], org.glassfish.grizzly.Buffer);
descriptor: (Ljava/lang/String;[BLorg/glassfish/grizzly/Buffer;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: aload 1
ifnonnull 3
2: iload 3
newarray 8
astore 1
3: StackMap locals: int
StackMap stack:
iconst_0
istore 4
start local 4 4: goto 16
5: StackMap locals: int
StackMap stack:
iload 3
iload 4
isub
aload 1
arraylength
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 6: iconst_0
istore 6
start local 6 7: goto 14
8: StackMap locals: int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 9: aload 1
iload 6
iload 7
invokestatic org.glassfish.grizzly.http.util.HttpCodecUtils.isNonPrintableUsAscii:(I)Z
ifeq 10
bipush 32
goto 11
StackMap locals: java.lang.String byte[] org.glassfish.grizzly.Buffer int int int int int
StackMap stack: byte[] int
10: iload 7
i2b
StackMap locals: java.lang.String byte[] org.glassfish.grizzly.Buffer int int int int int
StackMap stack: byte[] int int
11: bastore
12: iinc 4 1
end local 7 13: iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 5
if_icmplt 8
end local 6 15: aload 2
aload 1
iconst_0
iload 5
invokeinterface org.glassfish.grizzly.Buffer.put:([BII)Lorg/glassfish/grizzly/Buffer;
pop
end local 5 16: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 5
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 s Ljava/lang/String;
0 18 1 tempBuffer [B
0 18 2 dstBuffer Lorg/glassfish/grizzly/Buffer;
1 18 3 totalLen I
4 18 4 count I
6 16 5 len I
7 15 6 i I
9 13 7 c I
MethodParameters:
Name Flags
s final
tempBuffer
dstBuffer final
private static int (org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState, byte, byte);
descriptor: (Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;BB)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
bipush 13
if_icmpne 6
1: iload 2
bipush 10
if_icmpne 4
2: aload 0
dup
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
iconst_2
iadd
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 9
5: bipush -2
ireturn
6: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpne 9
7: aload 0
dup
getfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
iconst_1
iadd
putfield org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState.offset:I
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 parsingState Lorg/glassfish/grizzly/http/HttpCodecFilter$HeaderParsingState;
0 10 1 b1 B
0 10 2 b2 B
MethodParameters:
Name Flags
parsingState
b1
b2
private static org.glassfish.grizzly.Buffer checkAndResizeIfNeeded(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
iload 2
if_icmpge 2
1: aload 0
aload 1
iload 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
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 3 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 3 2 length I
MethodParameters:
Name Flags
memoryManager
dstBuffer
length
}
SourceFile: "HttpCodecUtils.java"
InnerClasses:
public final HeaderParsingState = org.glassfish.grizzly.http.HttpCodecFilter$HeaderParsingState of org.glassfish.grizzly.http.HttpCodecFilter
public final Type = org.glassfish.grizzly.http.util.DataChunk$Type of org.glassfish.grizzly.http.util.DataChunk