public final class okhttp3.internal.http.StatusLine
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: okhttp3.internal.http.StatusLine
super_class: java.lang.Object
{
public static final int HTTP_TEMP_REDIRECT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 307
public static final int HTTP_PERM_REDIRECT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 308
public static final int HTTP_CONTINUE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 100
public final okhttp3.Protocol protocol;
descriptor: Lokhttp3/Protocol;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int code;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String message;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(okhttp3.Protocol, int, java.lang.String);
descriptor: (Lokhttp3/Protocol;ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield okhttp3.internal.http.StatusLine.protocol:Lokhttp3/Protocol;
2: aload 0
iload 2
putfield okhttp3.internal.http.StatusLine.code:I
3: aload 0
aload 3
putfield okhttp3.internal.http.StatusLine.message:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lokhttp3/internal/http/StatusLine;
0 5 1 protocol Lokhttp3/Protocol;
0 5 2 code I
0 5 3 message Ljava/lang/String;
MethodParameters:
Name Flags
protocol
code
message
public static okhttp3.internal.http.StatusLine get(okhttp3.Response);
descriptor: (Lokhttp3/Response;)Lokhttp3/internal/http/StatusLine;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new okhttp3.internal.http.StatusLine
dup
aload 0
invokevirtual okhttp3.Response.protocol:()Lokhttp3/Protocol;
aload 0
invokevirtual okhttp3.Response.code:()I
aload 0
invokevirtual okhttp3.Response.message:()Ljava/lang/String;
invokespecial okhttp3.internal.http.StatusLine.<init>:(Lokhttp3/Protocol;ILjava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 response Lokhttp3/Response;
MethodParameters:
Name Flags
response
public static okhttp3.internal.http.StatusLine parse(java.lang.String);
descriptor: (Ljava/lang/String;)Lokhttp3/internal/http/StatusLine;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
ldc "HTTP/1."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
1: aload 0
invokevirtual java.lang.String.length:()I
bipush 9
if_icmplt 2
aload 0
bipush 8
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 3
2: StackMap locals:
StackMap stack:
new java.net.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected status line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
bipush 7
invokevirtual java.lang.String.charAt:(I)C
bipush 48
isub
istore 3
start local 3 4: bipush 9
istore 1
start local 1 5: iload 3
ifne 8
6: getstatic okhttp3.Protocol.HTTP_1_0:Lokhttp3/Protocol;
astore 2
start local 2 7: goto 17
end local 2 StackMap locals: java.lang.String int top int
StackMap stack:
8: iload 3
iconst_1
if_icmpne 11
9: getstatic okhttp3.Protocol.HTTP_1_1:Lokhttp3/Protocol;
astore 2
start local 2 10: goto 17
end local 2 11: StackMap locals:
StackMap stack:
new java.net.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected status line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 1 12: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "ICY "
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 16
13: getstatic okhttp3.Protocol.HTTP_1_0:Lokhttp3/Protocol;
astore 2
start local 2 14: iconst_4
istore 1
start local 1 15: goto 17
end local 2 end local 1 16: StackMap locals:
StackMap stack:
new java.net.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected status line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
start local 1 start local 2 17: StackMap locals: int okhttp3.Protocol
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
iload 1
iconst_3
iadd
if_icmpge 19
18: new java.net.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected status line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 1
iconst_3
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 20: goto 23
end local 3 StackMap locals:
StackMap stack: java.lang.NumberFormatException
21: pop
22: new java.net.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected status line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
start local 3 23: StackMap locals: int
StackMap stack:
ldc ""
astore 4
start local 4 24: aload 0
invokevirtual java.lang.String.length:()I
iload 1
iconst_3
iadd
if_icmple 28
25: aload 0
iload 1
iconst_3
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpeq 27
26: new java.net.ProtocolException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected status line: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.ProtocolException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals: java.lang.String
StackMap stack:
aload 0
iload 1
iconst_4
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
28: StackMap locals:
StackMap stack:
new okhttp3.internal.http.StatusLine
dup
aload 2
iload 3
aload 4
invokespecial okhttp3.internal.http.StatusLine.<init>:(Lokhttp3/Protocol;ILjava/lang/String;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 statusLine Ljava/lang/String;
5 12 1 codeStart I
15 16 1 codeStart I
17 29 1 codeStart I
7 8 2 protocol Lokhttp3/Protocol;
10 11 2 protocol Lokhttp3/Protocol;
14 16 2 protocol Lokhttp3/Protocol;
17 29 2 protocol Lokhttp3/Protocol;
4 12 3 httpMinorVersion I
20 21 3 code I
23 29 3 code I
24 29 4 message Ljava/lang/String;
Exception table:
from to target type
19 20 21 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
statusLine
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield okhttp3.internal.http.StatusLine.protocol:Lokhttp3/Protocol;
getstatic okhttp3.Protocol.HTTP_1_0:Lokhttp3/Protocol;
if_acmpne 2
ldc "HTTP/1.0"
goto 3
StackMap locals: okhttp3.internal.http.StatusLine java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder
2: ldc "HTTP/1.1"
StackMap locals: okhttp3.internal.http.StatusLine java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield okhttp3.internal.http.StatusLine.code:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
5: aload 0
getfield okhttp3.internal.http.StatusLine.message:Ljava/lang/String;
ifnull 7
6: aload 1
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield okhttp3.internal.http.StatusLine.message:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lokhttp3/internal/http/StatusLine;
1 8 1 result Ljava/lang/StringBuilder;
}
SourceFile: "StatusLine.java"