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_acmpeq 8
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.String:Lorg/glassfish/grizzly/http/util/DataChunk$Type;
if_acmpne 53
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getStart:()I
istore 3
start local 3 9: aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getEnd:()I
iload 3
isub
istore 4
start local 4 10: iconst_m1
istore 5
start local 5 11: 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 12
aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getByteChunk:()Lorg/glassfish/grizzly/http/util/ByteChunk;
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBuffer:()[B
goto 13
StackMap locals: int int int
StackMap stack:
12: aload 0
invokevirtual org.glassfish.grizzly.http.util.DataChunk.toString:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
StackMap locals:
StackMap stack: byte[]
13: astore 6
start local 6 14: aload 6
iload 3
baload
bipush 91
if_icmpne 15
iconst_1
goto 16
StackMap locals: byte[]
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 7
start local 7 17: iconst_0
istore 8
start local 8 18: iconst_0
istore 9
start local 9 19: goto 29
20: StackMap locals: int int int
StackMap stack:
aload 6
iload 9
iload 3
iadd
baload
istore 10
start local 10 21: iload 10
bipush 93
if_icmpne 24
22: iconst_1
istore 8
23: goto 28
StackMap locals: int
StackMap stack:
24: iload 10
bipush 58
if_icmpne 28
25: iload 7
ifeq 26
iload 8
ifeq 28
26: StackMap locals:
StackMap stack:
iload 9
istore 5
27: goto 30
end local 10 28: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
29: iload 9
iload 4
if_icmplt 20
end local 9 30: StackMap locals:
StackMap stack:
iload 5
ifge 37
31: aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.isSecure:()Z
ifne 34
32: aload 2
bipush 80
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
33: goto 35
34: StackMap locals:
StackMap stack:
aload 2
sipush 443
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
35: StackMap locals:
StackMap stack:
aload 1
aload 6
iload 3
iload 3
iload 4
iadd
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
36: goto 96
37: StackMap locals:
StackMap stack:
aload 1
aload 6
iload 3
iload 3
iload 5
iadd
invokevirtual org.glassfish.grizzly.http.util.DataChunk.setBytes:([BII)V
38: iconst_0
istore 9
start local 9 39: iconst_1
istore 10
start local 10 40: iload 4
iconst_1
isub
istore 11
start local 11 41: goto 50
42: StackMap locals: int int int
StackMap stack:
getstatic org.glassfish.grizzly.http.util.HttpCodecUtils.DEC:[I
aload 6
iload 11
iload 3
iadd
baload
iaload
istore 12
start local 12 43: iload 12
iconst_m1
if_icmpne 47
44: new java.lang.IllegalStateException
dup
45: 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;
46: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
47: StackMap locals: int
StackMap stack:
iload 9
iload 12
iload 10
imul
iadd
istore 9
48: iload 10
bipush 10
imul
istore 10
end local 12 49: iinc 11 -1
StackMap locals:
StackMap stack:
50: iload 11
iload 5
if_icmpgt 42
end local 11 51: aload 2
iload 9
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 52: goto 96
53: 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 54: aload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getStart:()I
istore 4
start local 4 55: aload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getEnd:()I
iload 4
isub
istore 5
start local 5 56: iconst_m1
istore 6
start local 6 57: aload 3
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getBuffer:()Lorg/glassfish/grizzly/Buffer;
astore 7
start local 7 58: aload 7
iload 4
invokeinterface org.glassfish.grizzly.Buffer.get:(I)B
bipush 91
if_icmpne 59
iconst_1
goto 60
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:
59: iconst_0
StackMap locals:
StackMap stack: int
60: istore 8
start local 8 61: iconst_0
istore 9
start local 9 62: iconst_0
istore 10
start local 10 63: goto 73
64: 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 65: iload 11
bipush 93
if_icmpne 68
66: iconst_1
istore 9
67: goto 72
StackMap locals: int
StackMap stack:
68: iload 11
bipush 58
if_icmpne 72
69: iload 8
ifeq 70
iload 9
ifeq 72
70: StackMap locals:
StackMap stack:
iload 10
istore 6
71: goto 74
end local 11 72: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
73: iload 10
iload 5
if_icmplt 64
end local 10 74: StackMap locals:
StackMap stack:
iload 6
ifge 81
75: aload 2
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.isSecure:()Z
ifne 78
76: aload 2
bipush 80
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
77: goto 79
78: StackMap locals:
StackMap stack:
aload 2
sipush 443
invokevirtual org.glassfish.grizzly.http.HttpRequestPacket.setServerPort:(I)V
79: 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
80: goto 96
81: 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
82: iconst_0
istore 10
start local 10 83: iconst_1
istore 11
start local 11 84: iload 5
iconst_1
isub
istore 12
start local 12 85: goto 94
86: 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 87: iload 13
iconst_m1
if_icmpne 91
88: new java.lang.IllegalStateException
dup
89: 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;
90: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
91: StackMap locals: int
StackMap stack:
iload 10
iload 13
iload 11
imul
iadd
istore 10
92: iload 11
bipush 10
imul
istore 11
end local 13 93: iinc 12 -1
StackMap locals:
StackMap stack:
94: iload 12
iload 6
if_icmpgt 86
end local 12 95: 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 96: 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 97 0 hostDC Lorg/glassfish/grizzly/http/util/DataChunk;
0 97 1 serverNameDC Lorg/glassfish/grizzly/http/util/DataChunk;
0 97 2 request Lorg/glassfish/grizzly/http/HttpRequestPacket;
2 7 3 connection Lorg/glassfish/grizzly/Connection;
4 7 4 localAddress Ljava/net/InetAddress;
9 52 3 valueS I
10 52 4 valueL I
11 52 5 colonPos I
14 52 6 valueB [B
17 52 7 ipv6 Z
18 52 8 bracketClosed Z
19 30 9 i I
21 28 10 b B
39 52 9 port I
40 52 10 mult I
41 51 11 i I
43 49 12 charValue I
54 96 3 valueBC Lorg/glassfish/grizzly/http/util/BufferChunk;
55 96 4 valueS I
56 96 5 valueL I
57 96 6 colonPos I
58 96 7 valueB Lorg/glassfish/grizzly/Buffer;
61 96 8 ipv6 Z
62 96 9 bracketClosed Z
63 74 10 i I
65 72 11 b B
83 96 10 port I
84 96 11 mult I
85 95 12 i I
87 93 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 2
1: aload 1
areturn
2: 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 5
3: aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getByteChunk:()Lorg/glassfish/grizzly/http/util/ByteChunk;
astore 4
start local 4 4: aload 0
aload 1
aload 4
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getBuffer:()[B
aload 4
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getStart:()I
aload 4
invokevirtual org.glassfish.grizzly.http.util.ByteChunk.getLength:()I
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 5: 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 11
6: aload 3
invokevirtual org.glassfish.grizzly.http.util.DataChunk.getBufferChunk:()Lorg/glassfish/grizzly/http/util/BufferChunk;
astore 4
start local 4 7: aload 4
invokevirtual org.glassfish.grizzly.http.util.BufferChunk.getLength:()I
istore 5
start local 5 8: 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
9: 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
10: aload 1
areturn
end local 5 end local 4 11: 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 12 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 12 1 dstBuffer Lorg/glassfish/grizzly/Buffer;
0 12 2 tempBuffer [B
0 12 3 chunk Lorg/glassfish/grizzly/http/util/DataChunk;
4 5 4 byteChunk Lorg/glassfish/grizzly/http/util/ByteChunk;
7 11 4 bc Lorg/glassfish/grizzly/http/util/BufferChunk;
8 11 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
aload 1
invokeinterface org.glassfish.grizzly.Buffer.capacity:()I
iload 2
iadd
aload 1
invokeinterface org.glassfish.grizzly.Buffer.capacity:()I
iconst_3
imul
iconst_2
idiv
iconst_1
iadd
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 1 0 memoryManager Lorg/glassfish/grizzly/memory/MemoryManager;
0 1 1 buffer Lorg/glassfish/grizzly/Buffer;
0 1 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 12
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 9
bipush 32
goto 10
StackMap locals: java.lang.CharSequence byte[] int int int int
StackMap stack: byte[] int
9: iload 5
i2b
StackMap locals: java.lang.CharSequence byte[] int int int int
StackMap stack: byte[] int int
10: bastore
end local 5 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 3
if_icmplt 7
end local 4 13: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 s Ljava/lang/CharSequence;
0 14 1 dstArray [B
0 14 2 arrayOffs I
3 14 3 strLen I
6 13 4 i I
8 11 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