public class org.apache.http.message.BasicLineParser implements org.apache.http.message.LineParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.message.BasicLineParser
super_class: java.lang.Object
{
public static final org.apache.http.message.BasicLineParser DEFAULT;
descriptor: Lorg/apache/http/message/BasicLineParser;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.http.message.BasicLineParser INSTANCE;
descriptor: Lorg/apache/http/message/BasicLineParser;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
protected final org.apache.http.ProtocolVersion protocol;
descriptor: Lorg/apache/http/ProtocolVersion;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.http.message.BasicLineParser
dup
invokespecial org.apache.http.message.BasicLineParser.<init>:()V
putstatic org.apache.http.message.BasicLineParser.DEFAULT:Lorg/apache/http/message/BasicLineParser;
1: new org.apache.http.message.BasicLineParser
dup
invokespecial org.apache.http.message.BasicLineParser.<init>:()V
putstatic org.apache.http.message.BasicLineParser.INSTANCE:Lorg/apache/http/message/BasicLineParser;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.http.ProtocolVersion);
descriptor: (Lorg/apache/http/ProtocolVersion;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ifnull 2
aload 1
goto 3
StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.ProtocolVersion
StackMap stack: org.apache.http.message.BasicLineParser
2: getstatic org.apache.http.HttpVersion.HTTP_1_1:Lorg/apache/http/HttpVersion;
StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.ProtocolVersion
StackMap stack: org.apache.http.message.BasicLineParser org.apache.http.ProtocolVersion
3: putfield org.apache.http.message.BasicLineParser.protocol:Lorg/apache/http/ProtocolVersion;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/http/message/BasicLineParser;
0 5 1 proto Lorg/apache/http/ProtocolVersion;
MethodParameters:
Name Flags
proto final
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial org.apache.http.message.BasicLineParser.<init>:(Lorg/apache/http/ProtocolVersion;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/message/BasicLineParser;
public static org.apache.http.ProtocolVersion parseProtocolVersion(java.lang.String, org.apache.http.message.LineParser);
descriptor: (Ljava/lang/String;Lorg/apache/http/message/LineParser;)Lorg/apache/http/ProtocolVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "Value"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new org.apache.http.util.CharArrayBuffer
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial org.apache.http.util.CharArrayBuffer.<init>:(I)V
astore 2
start local 2 2: aload 2
aload 0
invokevirtual org.apache.http.util.CharArrayBuffer.append:(Ljava/lang/String;)V
3: new org.apache.http.message.ParserCursor
dup
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
invokespecial org.apache.http.message.ParserCursor.<init>:(II)V
astore 3
start local 3 4: aload 1
ifnull 5
aload 1
goto 6
StackMap locals: org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor
StackMap stack:
5: getstatic org.apache.http.message.BasicLineParser.INSTANCE:Lorg/apache/http/message/BasicLineParser;
6: StackMap locals:
StackMap stack: org.apache.http.message.LineParser
aload 2
aload 3
invokeinterface org.apache.http.message.LineParser.parseProtocolVersion:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/ProtocolVersion;
7: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 value Ljava/lang/String;
0 8 1 parser Lorg/apache/http/message/LineParser;
2 8 2 buffer Lorg/apache/http/util/CharArrayBuffer;
4 8 3 cursor Lorg/apache/http/message/ParserCursor;
Exceptions:
throws org.apache.http.ParseException
MethodParameters:
Name Flags
value final
parser final
public org.apache.http.ProtocolVersion parseProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
descriptor: (Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/ProtocolVersion;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Char array buffer"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "Parser cursor"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
getfield org.apache.http.message.BasicLineParser.protocol:Lorg/apache/http/ProtocolVersion;
invokevirtual org.apache.http.ProtocolVersion.getProtocol:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
invokevirtual java.lang.String.length:()I
istore 4
start local 4 4: aload 2
invokevirtual org.apache.http.message.ParserCursor.getPos:()I
istore 5
start local 5 5: aload 2
invokevirtual org.apache.http.message.ParserCursor.getUpperBound:()I
istore 6
start local 6 6: aload 0
aload 1
aload 2
invokevirtual org.apache.http.message.BasicLineParser.skipWhitespace:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)V
7: aload 2
invokevirtual org.apache.http.message.ParserCursor.getPos:()I
istore 7
start local 7 8: iload 7
iload 4
iadd
iconst_4
iadd
iload 6
if_icmple 14
9: new org.apache.http.ParseException
dup
10: new java.lang.StringBuilder
dup
ldc "Not a valid protocol version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 1
iload 5
iload 6
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor java.lang.String int int int int
StackMap stack:
iconst_1
istore 8
start local 8 15: iconst_0
istore 9
start local 9 16: goto 21
17: StackMap locals: int int
StackMap stack:
aload 1
iload 7
iload 9
iadd
invokevirtual org.apache.http.util.CharArrayBuffer.charAt:(I)C
aload 3
iload 9
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 18
iconst_1
goto 19
StackMap locals:
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: istore 8
20: iinc 9 1
StackMap locals:
StackMap stack:
21: iload 8
ifeq 22
iload 9
iload 4
if_icmplt 17
end local 9 22: StackMap locals:
StackMap stack:
iload 8
ifeq 26
23: aload 1
iload 7
iload 4
iadd
invokevirtual org.apache.http.util.CharArrayBuffer.charAt:(I)C
bipush 47
if_icmpne 24
iconst_1
goto 25
StackMap locals:
StackMap stack:
24: iconst_0
StackMap locals:
StackMap stack: int
25: istore 8
26: StackMap locals:
StackMap stack:
iload 8
ifne 32
27: new org.apache.http.ParseException
dup
28: new java.lang.StringBuilder
dup
ldc "Not a valid protocol version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
29: aload 1
iload 5
iload 6
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
31: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals:
StackMap stack:
iload 7
iload 4
iconst_1
iadd
iadd
istore 7
33: aload 1
bipush 46
iload 7
iload 6
invokevirtual org.apache.http.util.CharArrayBuffer.indexOf:(III)I
istore 9
start local 9 34: iload 9
iconst_m1
if_icmpne 40
35: new org.apache.http.ParseException
dup
36: new java.lang.StringBuilder
dup
ldc "Invalid protocol version number: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
37: aload 1
iload 5
iload 6
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
38: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
39: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
40: StackMap locals: int
StackMap stack:
aload 1
iload 7
iload 9
invokevirtual org.apache.http.util.CharArrayBuffer.substringTrimmed:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 10
start local 10 41: goto 48
end local 10 StackMap locals:
StackMap stack: java.lang.NumberFormatException
42: pop
43: new org.apache.http.ParseException
dup
44: new java.lang.StringBuilder
dup
ldc "Invalid protocol major version number: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
45: aload 1
iload 5
iload 6
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
46: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
47: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
start local 10 48: StackMap locals: int
StackMap stack:
iload 9
iconst_1
iadd
istore 7
49: aload 1
bipush 32
iload 7
iload 6
invokevirtual org.apache.http.util.CharArrayBuffer.indexOf:(III)I
istore 11
start local 11 50: iload 11
iconst_m1
if_icmpne 52
51: iload 6
istore 11
52: StackMap locals: int
StackMap stack:
aload 1
iload 7
iload 11
invokevirtual org.apache.http.util.CharArrayBuffer.substringTrimmed:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 12
start local 12 53: goto 60
end local 12 StackMap locals:
StackMap stack: java.lang.NumberFormatException
54: pop
55: new org.apache.http.ParseException
dup
56: new java.lang.StringBuilder
dup
ldc "Invalid protocol minor version number: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
57: aload 1
iload 5
iload 6
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
58: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
59: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
start local 12 60: StackMap locals: int
StackMap stack:
aload 2
iload 11
invokevirtual org.apache.http.message.ParserCursor.updatePos:(I)V
61: aload 0
iload 10
iload 12
invokevirtual org.apache.http.message.BasicLineParser.createProtocolVersion:(II)Lorg/apache/http/ProtocolVersion;
areturn
end local 12 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 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 62 0 this Lorg/apache/http/message/BasicLineParser;
0 62 1 buffer Lorg/apache/http/util/CharArrayBuffer;
0 62 2 cursor Lorg/apache/http/message/ParserCursor;
3 62 3 protoname Ljava/lang/String;
4 62 4 protolength I
5 62 5 indexFrom I
6 62 6 indexTo I
8 62 7 i I
15 62 8 ok Z
16 22 9 j I
34 62 9 period I
41 42 10 major I
48 62 10 major I
50 62 11 blank I
53 54 12 minor I
60 62 12 minor I
Exception table:
from to target type
40 41 42 Class java.lang.NumberFormatException
52 53 54 Class java.lang.NumberFormatException
Exceptions:
throws org.apache.http.ParseException
MethodParameters:
Name Flags
buffer final
cursor final
protected org.apache.http.ProtocolVersion createProtocolVersion(int, int);
descriptor: (II)Lorg/apache/http/ProtocolVersion;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.http.message.BasicLineParser.protocol:Lorg/apache/http/ProtocolVersion;
iload 1
iload 2
invokevirtual org.apache.http.ProtocolVersion.forVersion:(II)Lorg/apache/http/ProtocolVersion;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/message/BasicLineParser;
0 1 1 major I
0 1 2 minor I
MethodParameters:
Name Flags
major final
minor final
public boolean hasProtocolVersion(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
descriptor: (Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Char array buffer"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "Parser cursor"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 2
invokevirtual org.apache.http.message.ParserCursor.getPos:()I
istore 3
start local 3 3: aload 0
getfield org.apache.http.message.BasicLineParser.protocol:Lorg/apache/http/ProtocolVersion;
invokevirtual org.apache.http.ProtocolVersion.getProtocol:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
invokevirtual java.lang.String.length:()I
istore 5
start local 5 5: aload 1
invokevirtual org.apache.http.util.CharArrayBuffer.length:()I
iload 5
iconst_4
iadd
if_icmpge 7
6: iconst_0
ireturn
7: StackMap locals: int java.lang.String int
StackMap stack:
iload 3
ifge 10
8: aload 1
invokevirtual org.apache.http.util.CharArrayBuffer.length:()I
iconst_4
isub
iload 5
isub
istore 3
9: goto 15
StackMap locals:
StackMap stack:
10: iload 3
ifne 15
11: goto 13
12: StackMap locals:
StackMap stack:
iinc 3 1
13: StackMap locals:
StackMap stack:
iload 3
aload 1
invokevirtual org.apache.http.util.CharArrayBuffer.length:()I
if_icmpge 15
14: aload 1
iload 3
invokevirtual org.apache.http.util.CharArrayBuffer.charAt:(I)C
invokestatic org.apache.http.protocol.HTTP.isWhitespace:(C)Z
ifne 12
15: StackMap locals:
StackMap stack:
iload 3
iload 5
iadd
iconst_4
iadd
aload 1
invokevirtual org.apache.http.util.CharArrayBuffer.length:()I
if_icmple 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
iconst_1
istore 6
start local 6 18: iconst_0
istore 7
start local 7 19: goto 24
20: StackMap locals: int int
StackMap stack:
aload 1
iload 3
iload 7
iadd
invokevirtual org.apache.http.util.CharArrayBuffer.charAt:(I)C
aload 4
iload 7
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 21
iconst_1
goto 22
StackMap locals:
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 6
23: iinc 7 1
StackMap locals:
StackMap stack:
24: iload 6
ifeq 25
iload 7
iload 5
if_icmplt 20
end local 7 25: StackMap locals:
StackMap stack:
iload 6
ifeq 29
26: aload 1
iload 3
iload 5
iadd
invokevirtual org.apache.http.util.CharArrayBuffer.charAt:(I)C
bipush 47
if_icmpne 27
iconst_1
goto 28
StackMap locals:
StackMap stack:
27: iconst_0
StackMap locals:
StackMap stack: int
28: istore 6
29: StackMap locals:
StackMap stack:
iload 6
ireturn
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 30 0 this Lorg/apache/http/message/BasicLineParser;
0 30 1 buffer Lorg/apache/http/util/CharArrayBuffer;
0 30 2 cursor Lorg/apache/http/message/ParserCursor;
3 30 3 index I
4 30 4 protoname Ljava/lang/String;
5 30 5 protolength I
18 30 6 ok Z
19 25 7 j I
MethodParameters:
Name Flags
buffer final
cursor final
public static org.apache.http.RequestLine parseRequestLine(java.lang.String, org.apache.http.message.LineParser);
descriptor: (Ljava/lang/String;Lorg/apache/http/message/LineParser;)Lorg/apache/http/RequestLine;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "Value"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new org.apache.http.util.CharArrayBuffer
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial org.apache.http.util.CharArrayBuffer.<init>:(I)V
astore 2
start local 2 2: aload 2
aload 0
invokevirtual org.apache.http.util.CharArrayBuffer.append:(Ljava/lang/String;)V
3: new org.apache.http.message.ParserCursor
dup
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
invokespecial org.apache.http.message.ParserCursor.<init>:(II)V
astore 3
start local 3 4: aload 1
ifnull 5
aload 1
goto 6
StackMap locals: org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor
StackMap stack:
5: getstatic org.apache.http.message.BasicLineParser.INSTANCE:Lorg/apache/http/message/BasicLineParser;
6: StackMap locals:
StackMap stack: org.apache.http.message.LineParser
aload 2
aload 3
invokeinterface org.apache.http.message.LineParser.parseRequestLine:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/RequestLine;
7: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 value Ljava/lang/String;
0 8 1 parser Lorg/apache/http/message/LineParser;
2 8 2 buffer Lorg/apache/http/util/CharArrayBuffer;
4 8 3 cursor Lorg/apache/http/message/ParserCursor;
Exceptions:
throws org.apache.http.ParseException
MethodParameters:
Name Flags
value final
parser final
public org.apache.http.RequestLine parseRequestLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
descriptor: (Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/RequestLine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Char array buffer"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "Parser cursor"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 2
invokevirtual org.apache.http.message.ParserCursor.getPos:()I
istore 3
start local 3 3: aload 2
invokevirtual org.apache.http.message.ParserCursor.getUpperBound:()I
istore 4
start local 4 4: aload 0
aload 1
aload 2
invokevirtual org.apache.http.message.BasicLineParser.skipWhitespace:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)V
5: aload 2
invokevirtual org.apache.http.message.ParserCursor.getPos:()I
istore 5
start local 5 6: aload 1
bipush 32
iload 5
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.indexOf:(III)I
istore 6
start local 6 7: iload 6
ifge 11
8: new org.apache.http.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Invalid request line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 1
iload 3
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor int int int int
StackMap stack:
aload 1
iload 5
iload 6
invokevirtual org.apache.http.util.CharArrayBuffer.substringTrimmed:(II)Ljava/lang/String;
astore 7
start local 7 12: aload 2
iload 6
invokevirtual org.apache.http.message.ParserCursor.updatePos:(I)V
13: aload 0
aload 1
aload 2
invokevirtual org.apache.http.message.BasicLineParser.skipWhitespace:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)V
14: aload 2
invokevirtual org.apache.http.message.ParserCursor.getPos:()I
istore 5
15: aload 1
bipush 32
iload 5
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.indexOf:(III)I
istore 6
16: iload 6
ifge 20
17: new org.apache.http.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Invalid request line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 1
iload 3
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: java.lang.String
StackMap stack:
aload 1
iload 5
iload 6
invokevirtual org.apache.http.util.CharArrayBuffer.substringTrimmed:(II)Ljava/lang/String;
astore 8
start local 8 21: aload 2
iload 6
invokevirtual org.apache.http.message.ParserCursor.updatePos:(I)V
22: aload 0
aload 1
aload 2
invokevirtual org.apache.http.message.BasicLineParser.parseProtocolVersion:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/ProtocolVersion;
astore 9
start local 9 23: aload 0
aload 1
aload 2
invokevirtual org.apache.http.message.BasicLineParser.skipWhitespace:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)V
24: aload 2
invokevirtual org.apache.http.message.ParserCursor.atEnd:()Z
ifne 28
25: new org.apache.http.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Invalid request line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
26: aload 1
iload 3
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals: java.lang.String org.apache.http.ProtocolVersion
StackMap stack:
aload 0
aload 7
aload 8
aload 9
invokevirtual org.apache.http.message.BasicLineParser.createRequestLine:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/ProtocolVersion;)Lorg/apache/http/RequestLine;
29: areturn
end local 9 end local 8 end local 7 end local 6 end local 5 30: StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor int int
StackMap stack: java.lang.IndexOutOfBoundsException
pop
31: new org.apache.http.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Invalid request line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
32: aload 1
iload 3
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/apache/http/message/BasicLineParser;
0 34 1 buffer Lorg/apache/http/util/CharArrayBuffer;
0 34 2 cursor Lorg/apache/http/message/ParserCursor;
3 34 3 indexFrom I
4 34 4 indexTo I
6 30 5 i I
7 30 6 blank I
12 30 7 method Ljava/lang/String;
21 30 8 uri Ljava/lang/String;
23 30 9 ver Lorg/apache/http/ProtocolVersion;
Exception table:
from to target type
4 29 30 Class java.lang.IndexOutOfBoundsException
Exceptions:
throws org.apache.http.ParseException
MethodParameters:
Name Flags
buffer final
cursor final
protected org.apache.http.RequestLine createRequestLine(java.lang.String, java.lang.String, org.apache.http.ProtocolVersion);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/ProtocolVersion;)Lorg/apache/http/RequestLine;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.http.message.BasicRequestLine
dup
aload 1
aload 2
aload 3
invokespecial org.apache.http.message.BasicRequestLine.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/ProtocolVersion;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/message/BasicLineParser;
0 1 1 method Ljava/lang/String;
0 1 2 uri Ljava/lang/String;
0 1 3 ver Lorg/apache/http/ProtocolVersion;
MethodParameters:
Name Flags
method final
uri final
ver final
public static org.apache.http.StatusLine parseStatusLine(java.lang.String, org.apache.http.message.LineParser);
descriptor: (Ljava/lang/String;Lorg/apache/http/message/LineParser;)Lorg/apache/http/StatusLine;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "Value"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new org.apache.http.util.CharArrayBuffer
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial org.apache.http.util.CharArrayBuffer.<init>:(I)V
astore 2
start local 2 2: aload 2
aload 0
invokevirtual org.apache.http.util.CharArrayBuffer.append:(Ljava/lang/String;)V
3: new org.apache.http.message.ParserCursor
dup
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
invokespecial org.apache.http.message.ParserCursor.<init>:(II)V
astore 3
start local 3 4: aload 1
ifnull 5
aload 1
goto 6
StackMap locals: org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor
StackMap stack:
5: getstatic org.apache.http.message.BasicLineParser.INSTANCE:Lorg/apache/http/message/BasicLineParser;
6: StackMap locals:
StackMap stack: org.apache.http.message.LineParser
aload 2
aload 3
invokeinterface org.apache.http.message.LineParser.parseStatusLine:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/StatusLine;
7: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 value Ljava/lang/String;
0 8 1 parser Lorg/apache/http/message/LineParser;
2 8 2 buffer Lorg/apache/http/util/CharArrayBuffer;
4 8 3 cursor Lorg/apache/http/message/ParserCursor;
Exceptions:
throws org.apache.http.ParseException
MethodParameters:
Name Flags
value final
parser final
public org.apache.http.StatusLine parseStatusLine(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
descriptor: (Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/StatusLine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Char array buffer"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "Parser cursor"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 2
invokevirtual org.apache.http.message.ParserCursor.getPos:()I
istore 3
start local 3 3: aload 2
invokevirtual org.apache.http.message.ParserCursor.getUpperBound:()I
istore 4
start local 4 4: aload 0
aload 1
aload 2
invokevirtual org.apache.http.message.BasicLineParser.parseProtocolVersion:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/ProtocolVersion;
astore 5
start local 5 5: aload 0
aload 1
aload 2
invokevirtual org.apache.http.message.BasicLineParser.skipWhitespace:(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)V
6: aload 2
invokevirtual org.apache.http.message.ParserCursor.getPos:()I
istore 6
start local 6 7: aload 1
bipush 32
iload 6
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.indexOf:(III)I
istore 7
start local 7 8: iload 7
ifge 10
9: iload 4
istore 7
10: StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor int int org.apache.http.ProtocolVersion int int
StackMap stack:
aload 1
iload 6
iload 7
invokevirtual org.apache.http.util.CharArrayBuffer.substringTrimmed:(II)Ljava/lang/String;
astore 9
start local 9 11: iconst_0
istore 10
start local 10 12: goto 20
13: StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor int int org.apache.http.ProtocolVersion int int top java.lang.String int
StackMap stack:
aload 9
iload 10
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifne 19
14: new org.apache.http.ParseException
dup
15: new java.lang.StringBuilder
dup
ldc "Status line contains invalid status code: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 1
iload 3
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
20: iload 10
aload 9
invokevirtual java.lang.String.length:()I
if_icmplt 13
end local 10 21: aload 9
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 8
start local 8 22: goto 29
end local 8 StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor int int org.apache.http.ProtocolVersion int int top java.lang.String
StackMap stack: java.lang.NumberFormatException
23: pop
24: new org.apache.http.ParseException
dup
25: new java.lang.StringBuilder
dup
ldc "Status line contains invalid status code: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
26: aload 1
iload 3
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
start local 8 29: StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor int int org.apache.http.ProtocolVersion int int int java.lang.String
StackMap stack:
iload 7
istore 6
30: iload 6
iload 4
if_icmpge 33
31: aload 1
iload 6
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.substringTrimmed:(II)Ljava/lang/String;
astore 10
start local 10 32: goto 34
end local 10 33: StackMap locals:
StackMap stack:
ldc ""
astore 10
start local 10 34: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 5
iload 8
aload 10
invokevirtual org.apache.http.message.BasicLineParser.createStatusLine:(Lorg/apache/http/ProtocolVersion;ILjava/lang/String;)Lorg/apache/http/StatusLine;
35: areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 36: StackMap locals: org.apache.http.message.BasicLineParser org.apache.http.util.CharArrayBuffer org.apache.http.message.ParserCursor int int
StackMap stack: java.lang.IndexOutOfBoundsException
pop
37: new org.apache.http.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Invalid status line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
38: aload 1
iload 3
iload 4
invokevirtual org.apache.http.util.CharArrayBuffer.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
39: invokespecial org.apache.http.ParseException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/apache/http/message/BasicLineParser;
0 40 1 buffer Lorg/apache/http/util/CharArrayBuffer;
0 40 2 cursor Lorg/apache/http/message/ParserCursor;
3 40 3 indexFrom I
4 40 4 indexTo I
5 36 5 ver Lorg/apache/http/ProtocolVersion;
7 36 6 i I
8 36 7 blank I
22 23 8 statusCode I
29 36 8 statusCode I
11 36 9 s Ljava/lang/String;
12 21 10 j I
32 33 10 reasonPhrase Ljava/lang/String;
34 36 10 reasonPhrase Ljava/lang/String;
Exception table:
from to target type
21 22 23 Class java.lang.NumberFormatException
4 35 36 Class java.lang.IndexOutOfBoundsException
Exceptions:
throws org.apache.http.ParseException
MethodParameters:
Name Flags
buffer final
cursor final
protected org.apache.http.StatusLine createStatusLine(org.apache.http.ProtocolVersion, int, java.lang.String);
descriptor: (Lorg/apache/http/ProtocolVersion;ILjava/lang/String;)Lorg/apache/http/StatusLine;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.http.message.BasicStatusLine
dup
aload 1
iload 2
aload 3
invokespecial org.apache.http.message.BasicStatusLine.<init>:(Lorg/apache/http/ProtocolVersion;ILjava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/message/BasicLineParser;
0 1 1 ver Lorg/apache/http/ProtocolVersion;
0 1 2 status I
0 1 3 reason Ljava/lang/String;
MethodParameters:
Name Flags
ver final
status final
reason final
public static org.apache.http.Header (java.lang.String, org.apache.http.message.LineParser);
descriptor: (Ljava/lang/String;Lorg/apache/http/message/LineParser;)Lorg/apache/http/Header;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "Value"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: new org.apache.http.util.CharArrayBuffer
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial org.apache.http.util.CharArrayBuffer.<init>:(I)V
astore 2
start local 2 2: aload 2
aload 0
invokevirtual org.apache.http.util.CharArrayBuffer.append:(Ljava/lang/String;)V
3: aload 1
ifnull 4
aload 1
goto 5
StackMap locals: org.apache.http.util.CharArrayBuffer
StackMap stack:
4: getstatic org.apache.http.message.BasicLineParser.INSTANCE:Lorg/apache/http/message/BasicLineParser;
5: StackMap locals:
StackMap stack: org.apache.http.message.LineParser
aload 2
invokeinterface org.apache.http.message.LineParser.parseHeader:(Lorg/apache/http/util/CharArrayBuffer;)Lorg/apache/http/Header;
6: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 value Ljava/lang/String;
0 7 1 parser Lorg/apache/http/message/LineParser;
2 7 2 buffer Lorg/apache/http/util/CharArrayBuffer;
Exceptions:
throws org.apache.http.ParseException
MethodParameters:
Name Flags
value final
parser final
public org.apache.http.Header (org.apache.http.util.CharArrayBuffer);
descriptor: (Lorg/apache/http/util/CharArrayBuffer;)Lorg/apache/http/Header;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.http.message.BufferedHeader
dup
aload 1
invokespecial org.apache.http.message.BufferedHeader.<init>:(Lorg/apache/http/util/CharArrayBuffer;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/message/BasicLineParser;
0 1 1 buffer Lorg/apache/http/util/CharArrayBuffer;
Exceptions:
throws org.apache.http.ParseException
MethodParameters:
Name Flags
buffer final
protected void skipWhitespace(org.apache.http.util.CharArrayBuffer, org.apache.http.message.ParserCursor);
descriptor: (Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.apache.http.message.ParserCursor.getPos:()I
istore 3
start local 3 1: aload 2
invokevirtual org.apache.http.message.ParserCursor.getUpperBound:()I
istore 4
start local 4 2: goto 4
3: StackMap locals: int int
StackMap stack:
iinc 3 1
4: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmpge 6
5: aload 1
iload 3
invokevirtual org.apache.http.util.CharArrayBuffer.charAt:(I)C
invokestatic org.apache.http.protocol.HTTP.isWhitespace:(C)Z
ifne 3
6: StackMap locals:
StackMap stack:
aload 2
iload 3
invokevirtual org.apache.http.message.ParserCursor.updatePos:(I)V
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/http/message/BasicLineParser;
0 8 1 buffer Lorg/apache/http/util/CharArrayBuffer;
0 8 2 cursor Lorg/apache/http/message/ParserCursor;
1 8 3 pos I
2 8 4 indexTo I
MethodParameters:
Name Flags
buffer final
cursor final
}
SourceFile: "BasicLineParser.java"
RuntimeInvisibleAnnotations:
org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.IMMUTABLE:Lorg/apache/http/annotation/ThreadingBehavior;)