public final class okhttp3.internal.http1.Http1Codec implements okhttp3.internal.http.HttpCodec
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: okhttp3.internal.http1.Http1Codec
super_class: java.lang.Object
{
private static final int STATE_IDLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int STATE_OPEN_REQUEST_BODY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int STATE_WRITING_REQUEST_BODY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int STATE_OPEN_RESPONSE_BODY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int STATE_READING_RESPONSE_BODY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final int STATE_CLOSED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 6
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 262144
final okhttp3.OkHttpClient client;
descriptor: Lokhttp3/OkHttpClient;
flags: (0x0010) ACC_FINAL
final okhttp3.internal.connection.StreamAllocation streamAllocation;
descriptor: Lokhttp3/internal/connection/StreamAllocation;
flags: (0x0010) ACC_FINAL
final okio.BufferedSource source;
descriptor: Lokio/BufferedSource;
flags: (0x0010) ACC_FINAL
final okio.BufferedSink sink;
descriptor: Lokio/BufferedSink;
flags: (0x0010) ACC_FINAL
int state;
descriptor: I
flags: (0x0000)
private long ;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(okhttp3.OkHttpClient, okhttp3.internal.connection.StreamAllocation, okio.BufferedSource, okio.BufferedSink);
descriptor: (Lokhttp3/OkHttpClient;Lokhttp3/internal/connection/StreamAllocation;Lokio/BufferedSource;Lokio/BufferedSink;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield okhttp3.internal.http1.Http1Codec.state:I
2: aload 0
ldc 262144
putfield okhttp3.internal.http1.Http1Codec.headerLimit:J
3: aload 0
aload 1
putfield okhttp3.internal.http1.Http1Codec.client:Lokhttp3/OkHttpClient;
4: aload 0
aload 2
putfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
5: aload 0
aload 3
putfield okhttp3.internal.http1.Http1Codec.source:Lokio/BufferedSource;
6: aload 0
aload 4
putfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
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 Lokhttp3/internal/http1/Http1Codec;
0 8 1 client Lokhttp3/OkHttpClient;
0 8 2 streamAllocation Lokhttp3/internal/connection/StreamAllocation;
0 8 3 source Lokio/BufferedSource;
0 8 4 sink Lokio/BufferedSink;
MethodParameters:
Name Flags
client
streamAllocation
source
sink
public okio.Sink createRequestBody(okhttp3.Request, long);
descriptor: (Lokhttp3/Request;J)Lokio/Sink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "chunked"
aload 1
ldc "Transfer-Encoding"
invokevirtual okhttp3.Request.header:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
invokevirtual okhttp3.internal.http1.Http1Codec.newChunkedSink:()Lokio/Sink;
areturn
2: StackMap locals:
StackMap stack:
lload 2
ldc -1
lcmp
ifeq 4
3: aload 0
lload 2
invokevirtual okhttp3.internal.http1.Http1Codec.newFixedLengthSink:(J)Lokio/Sink;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
5: ldc "Cannot stream a request body without chunked encoding or a known content length!"
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lokhttp3/internal/http1/Http1Codec;
0 7 1 request Lokhttp3/Request;
0 7 2 contentLength J
MethodParameters:
Name Flags
request
contentLength
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
invokevirtual okhttp3.internal.connection.StreamAllocation.connection:()Lokhttp3/internal/connection/RealConnection;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual okhttp3.internal.connection.RealConnection.cancel:()V
2: StackMap locals: okhttp3.internal.connection.RealConnection
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lokhttp3/internal/http1/Http1Codec;
1 3 1 connection Lokhttp3/internal/connection/RealConnection;
public void (okhttp3.Request);
descriptor: (Lokhttp3/Request;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
invokevirtual okhttp3.internal.connection.StreamAllocation.connection:()Lokhttp3/internal/connection/RealConnection;
invokevirtual okhttp3.internal.connection.RealConnection.route:()Lokhttp3/Route;
invokevirtual okhttp3.Route.proxy:()Ljava/net/Proxy;
invokevirtual java.net.Proxy.type:()Ljava/net/Proxy$Type;
1: invokestatic okhttp3.internal.http.RequestLine.get:(Lokhttp3/Request;Ljava/net/Proxy$Type;)Ljava/lang/String;
astore 2
start local 2 2: aload 0
aload 1
invokevirtual okhttp3.Request.headers:()Lokhttp3/Headers;
aload 2
invokevirtual okhttp3.internal.http1.Http1Codec.writeRequest:(Lokhttp3/Headers;Ljava/lang/String;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lokhttp3/internal/http1/Http1Codec;
0 4 1 request Lokhttp3/Request;
2 4 2 requestLine Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
request
public okhttp3.ResponseBody openResponseBody(okhttp3.Response);
descriptor: (Lokhttp3/Response;)Lokhttp3/ResponseBody;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
getfield okhttp3.internal.connection.StreamAllocation.eventListener:Lokhttp3/EventListener;
aload 0
getfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
getfield okhttp3.internal.connection.StreamAllocation.call:Lokhttp3/Call;
invokevirtual okhttp3.EventListener.responseBodyStart:(Lokhttp3/Call;)V
1: aload 1
ldc "Content-Type"
invokevirtual okhttp3.Response.header:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 1
invokestatic okhttp3.internal.http.HttpHeaders.hasBody:(Lokhttp3/Response;)Z
ifne 5
3: aload 0
lconst_0
invokevirtual okhttp3.internal.http1.Http1Codec.newFixedLengthSource:(J)Lokio/Source;
astore 3
start local 3 4: new okhttp3.internal.http.RealResponseBody
dup
aload 2
lconst_0
aload 3
invokestatic okio.Okio.buffer:(Lokio/Source;)Lokio/BufferedSource;
invokespecial okhttp3.internal.http.RealResponseBody.<init>:(Ljava/lang/String;JLokio/BufferedSource;)V
areturn
end local 3 5: StackMap locals: java.lang.String
StackMap stack:
ldc "chunked"
aload 1
ldc "Transfer-Encoding"
invokevirtual okhttp3.Response.header:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: aload 0
aload 1
invokevirtual okhttp3.Response.request:()Lokhttp3/Request;
invokevirtual okhttp3.Request.url:()Lokhttp3/HttpUrl;
invokevirtual okhttp3.internal.http1.Http1Codec.newChunkedSource:(Lokhttp3/HttpUrl;)Lokio/Source;
astore 3
start local 3 7: new okhttp3.internal.http.RealResponseBody
dup
aload 2
ldc -1
aload 3
invokestatic okio.Okio.buffer:(Lokio/Source;)Lokio/BufferedSource;
invokespecial okhttp3.internal.http.RealResponseBody.<init>:(Ljava/lang/String;JLokio/BufferedSource;)V
areturn
end local 3 8: StackMap locals:
StackMap stack:
aload 1
invokestatic okhttp3.internal.http.HttpHeaders.contentLength:(Lokhttp3/Response;)J
lstore 3
start local 3 9: lload 3
ldc -1
lcmp
ifeq 12
10: aload 0
lload 3
invokevirtual okhttp3.internal.http1.Http1Codec.newFixedLengthSource:(J)Lokio/Source;
astore 5
start local 5 11: new okhttp3.internal.http.RealResponseBody
dup
aload 2
lload 3
aload 5
invokestatic okio.Okio.buffer:(Lokio/Source;)Lokio/BufferedSource;
invokespecial okhttp3.internal.http.RealResponseBody.<init>:(Ljava/lang/String;JLokio/BufferedSource;)V
areturn
end local 5 12: StackMap locals: long
StackMap stack:
new okhttp3.internal.http.RealResponseBody
dup
aload 2
ldc -1
aload 0
invokevirtual okhttp3.internal.http1.Http1Codec.newUnknownLengthSource:()Lokio/Source;
invokestatic okio.Okio.buffer:(Lokio/Source;)Lokio/BufferedSource;
invokespecial okhttp3.internal.http.RealResponseBody.<init>:(Ljava/lang/String;JLokio/BufferedSource;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lokhttp3/internal/http1/Http1Codec;
0 13 1 response Lokhttp3/Response;
2 13 2 contentType Ljava/lang/String;
4 5 3 source Lokio/Source;
7 8 3 source Lokio/Source;
9 13 3 contentLength J
11 12 5 source Lokio/Source;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
response
public boolean isClosed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
bipush 6
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lokhttp3/internal/http1/Http1Codec;
public void flushRequest();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
invokeinterface okio.BufferedSink.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lokhttp3/internal/http1/Http1Codec;
Exceptions:
throws java.io.IOException
public void finishRequest();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
invokeinterface okio.BufferedSink.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lokhttp3/internal/http1/Http1Codec;
Exceptions:
throws java.io.IOException
public void (okhttp3.Headers, java.lang.String);
descriptor: (Lokhttp3/Headers;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
ifeq 1
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
aload 2
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
ldc "\r\n"
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
pop
2: iconst_0
istore 3
start local 3 3: aload 1
invokevirtual okhttp3.Headers.size:()I
istore 4
start local 4 4: goto 10
5: StackMap locals: int int
StackMap stack:
aload 0
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
aload 1
iload 3
invokevirtual okhttp3.Headers.name:(I)Ljava/lang/String;
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
6: ldc ": "
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
7: aload 1
iload 3
invokevirtual okhttp3.Headers.value:(I)Ljava/lang/String;
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
8: ldc "\r\n"
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
pop
9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 5
end local 4 end local 3 11: aload 0
getfield okhttp3.internal.http1.Http1Codec.sink:Lokio/BufferedSink;
ldc "\r\n"
invokeinterface okio.BufferedSink.writeUtf8:(Ljava/lang/String;)Lokio/BufferedSink;
pop
12: aload 0
iconst_1
putfield okhttp3.internal.http1.Http1Codec.state:I
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lokhttp3/internal/http1/Http1Codec;
0 14 1 headers Lokhttp3/Headers;
0 14 2 requestLine Ljava/lang/String;
3 11 3 i I
4 11 4 size I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
requestLine
public okhttp3.Response$Builder (boolean);
descriptor: (Z)Lokhttp3/Response$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
iconst_1
if_icmpeq 2
aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
iconst_3
if_icmpeq 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual okhttp3.internal.http1.Http1Codec.readHeaderLine:()Ljava/lang/String;
invokestatic okhttp3.internal.http.StatusLine.parse:(Ljava/lang/String;)Lokhttp3/internal/http/StatusLine;
astore 2
start local 2 3: new okhttp3.Response$Builder
dup
invokespecial okhttp3.Response$Builder.<init>:()V
4: aload 2
getfield okhttp3.internal.http.StatusLine.protocol:Lokhttp3/Protocol;
invokevirtual okhttp3.Response$Builder.protocol:(Lokhttp3/Protocol;)Lokhttp3/Response$Builder;
5: aload 2
getfield okhttp3.internal.http.StatusLine.code:I
invokevirtual okhttp3.Response$Builder.code:(I)Lokhttp3/Response$Builder;
6: aload 2
getfield okhttp3.internal.http.StatusLine.message:Ljava/lang/String;
invokevirtual okhttp3.Response$Builder.message:(Ljava/lang/String;)Lokhttp3/Response$Builder;
7: aload 0
invokevirtual okhttp3.internal.http1.Http1Codec.readHeaders:()Lokhttp3/Headers;
invokevirtual okhttp3.Response$Builder.headers:(Lokhttp3/Headers;)Lokhttp3/Response$Builder;
8: astore 3
start local 3 9: iload 1
ifeq 11
aload 2
getfield okhttp3.internal.http.StatusLine.code:I
bipush 100
if_icmpne 11
10: aconst_null
areturn
11: StackMap locals: okhttp3.internal.http.StatusLine okhttp3.Response$Builder
StackMap stack:
aload 2
getfield okhttp3.internal.http.StatusLine.code:I
bipush 100
if_icmpne 15
12: aload 0
iconst_3
putfield okhttp3.internal.http1.Http1Codec.state:I
13: aload 3
14: areturn
15: StackMap locals:
StackMap stack:
aload 0
iconst_4
putfield okhttp3.internal.http1.Http1Codec.state:I
16: aload 3
17: areturn
end local 3 end local 2 18: StackMap locals: okhttp3.internal.http1.Http1Codec int
StackMap stack: java.io.EOFException
astore 2
start local 2 19: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "unexpected end of stream on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 20: aload 3
aload 2
invokevirtual java.io.IOException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
21: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lokhttp3/internal/http1/Http1Codec;
0 22 1 expectContinue Z
3 18 2 statusLine Lokhttp3/internal/http/StatusLine;
9 18 3 responseBuilder Lokhttp3/Response$Builder;
19 22 2 e Ljava/io/EOFException;
20 22 3 exception Ljava/io/IOException;
Exception table:
from to target type
2 10 18 Class java.io.EOFException
11 14 18 Class java.io.EOFException
15 17 18 Class java.io.EOFException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
expectContinue
private java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.source:Lokio/BufferedSource;
aload 0
getfield okhttp3.internal.http1.Http1Codec.headerLimit:J
invokeinterface okio.BufferedSource.readUtf8LineStrict:(J)Ljava/lang/String;
astore 1
start local 1 1: aload 0
dup
getfield okhttp3.internal.http1.Http1Codec.headerLimit:J
aload 1
invokevirtual java.lang.String.length:()I
i2l
lsub
putfield okhttp3.internal.http1.Http1Codec.headerLimit:J
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lokhttp3/internal/http1/Http1Codec;
1 3 1 line Ljava/lang/String;
Exceptions:
throws java.io.IOException
public okhttp3.Headers ();
descriptor: ()Lokhttp3/Headers;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new okhttp3.Headers$Builder
dup
invokespecial okhttp3.Headers$Builder.<init>:()V
astore 1
start local 1 1: goto 3
start local 2 2: StackMap locals: okhttp3.Headers$Builder java.lang.String
StackMap stack:
getstatic okhttp3.internal.Internal.instance:Lokhttp3/internal/Internal;
aload 1
aload 2
invokevirtual okhttp3.internal.Internal.addLenient:(Lokhttp3/Headers$Builder;Ljava/lang/String;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 0
invokevirtual okhttp3.internal.http1.Http1Codec.readHeaderLine:()Ljava/lang/String;
dup
astore 2
start local 2 4: invokevirtual java.lang.String.length:()I
ifne 2
end local 2 5: aload 1
invokevirtual okhttp3.Headers$Builder.build:()Lokhttp3/Headers;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lokhttp3/internal/http1/Http1Codec;
1 6 1 headers Lokhttp3/Headers$Builder;
2 3 2 line Ljava/lang/String;
4 5 2 line Ljava/lang/String;
Exceptions:
throws java.io.IOException
public okio.Sink newChunkedSink();
descriptor: ()Lokio/Sink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
iconst_1
if_icmpeq 1
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield okhttp3.internal.http1.Http1Codec.state:I
2: new okhttp3.internal.http1.Http1Codec$ChunkedSink
dup
aload 0
invokespecial okhttp3.internal.http1.Http1Codec$ChunkedSink.<init>:(Lokhttp3/internal/http1/Http1Codec;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lokhttp3/internal/http1/Http1Codec;
public okio.Sink newFixedLengthSink(long);
descriptor: (J)Lokio/Sink;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
iconst_1
if_icmpeq 1
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield okhttp3.internal.http1.Http1Codec.state:I
2: new okhttp3.internal.http1.Http1Codec$FixedLengthSink
dup
aload 0
lload 1
invokespecial okhttp3.internal.http1.Http1Codec$FixedLengthSink.<init>:(Lokhttp3/internal/http1/Http1Codec;J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lokhttp3/internal/http1/Http1Codec;
0 3 1 contentLength J
MethodParameters:
Name Flags
contentLength
public okio.Source newFixedLengthSource(long);
descriptor: (J)Lokio/Source;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
iconst_4
if_icmpeq 1
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_5
putfield okhttp3.internal.http1.Http1Codec.state:I
2: new okhttp3.internal.http1.Http1Codec$FixedLengthSource
dup
aload 0
lload 1
invokespecial okhttp3.internal.http1.Http1Codec$FixedLengthSource.<init>:(Lokhttp3/internal/http1/Http1Codec;J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lokhttp3/internal/http1/Http1Codec;
0 3 1 length J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
length
public okio.Source newChunkedSource(okhttp3.HttpUrl);
descriptor: (Lokhttp3/HttpUrl;)Lokio/Source;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
iconst_4
if_icmpeq 1
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_5
putfield okhttp3.internal.http1.Http1Codec.state:I
2: new okhttp3.internal.http1.Http1Codec$ChunkedSource
dup
aload 0
aload 1
invokespecial okhttp3.internal.http1.Http1Codec$ChunkedSource.<init>:(Lokhttp3/internal/http1/Http1Codec;Lokhttp3/HttpUrl;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lokhttp3/internal/http1/Http1Codec;
0 3 1 url Lokhttp3/HttpUrl;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
public okio.Source newUnknownLengthSource();
descriptor: ()Lokio/Source;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
iconst_4
if_icmpeq 1
new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "state: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield okhttp3.internal.http1.Http1Codec.state:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
ifnonnull 2
new java.lang.IllegalStateException
dup
ldc "streamAllocation == null"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_5
putfield okhttp3.internal.http1.Http1Codec.state:I
3: aload 0
getfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
invokevirtual okhttp3.internal.connection.StreamAllocation.noNewStreams:()V
4: new okhttp3.internal.http1.Http1Codec$UnknownLengthSource
dup
aload 0
invokespecial okhttp3.internal.http1.Http1Codec$UnknownLengthSource.<init>:(Lokhttp3/internal/http1/Http1Codec;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lokhttp3/internal/http1/Http1Codec;
Exceptions:
throws java.io.IOException
void detachTimeout(okio.ForwardingTimeout);
descriptor: (Lokio/ForwardingTimeout;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual okio.ForwardingTimeout.delegate:()Lokio/Timeout;
astore 2
start local 2 1: aload 1
getstatic okio.Timeout.NONE:Lokio/Timeout;
invokevirtual okio.ForwardingTimeout.setDelegate:(Lokio/Timeout;)Lokio/ForwardingTimeout;
pop
2: aload 2
invokevirtual okio.Timeout.clearDeadline:()Lokio/Timeout;
pop
3: aload 2
invokevirtual okio.Timeout.clearTimeout:()Lokio/Timeout;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lokhttp3/internal/http1/Http1Codec;
0 5 1 timeout Lokio/ForwardingTimeout;
1 5 2 oldDelegate Lokio/Timeout;
MethodParameters:
Name Flags
timeout
}
SourceFile: "Http1Codec.java"
NestMembers:
okhttp3.internal.http1.Http1Codec$AbstractSource okhttp3.internal.http1.Http1Codec$ChunkedSink okhttp3.internal.http1.Http1Codec$ChunkedSource okhttp3.internal.http1.Http1Codec$FixedLengthSink okhttp3.internal.http1.Http1Codec$FixedLengthSource okhttp3.internal.http1.Http1Codec$UnknownLengthSource
InnerClasses:
public final Type = java.net.Proxy$Type of java.net.Proxy
public final Builder = okhttp3.Headers$Builder of okhttp3.Headers
public Builder = okhttp3.Response$Builder of okhttp3.Response
private abstract AbstractSource = okhttp3.internal.http1.Http1Codec$AbstractSource of okhttp3.internal.http1.Http1Codec
private final ChunkedSink = okhttp3.internal.http1.Http1Codec$ChunkedSink of okhttp3.internal.http1.Http1Codec
private ChunkedSource = okhttp3.internal.http1.Http1Codec$ChunkedSource of okhttp3.internal.http1.Http1Codec
private final FixedLengthSink = okhttp3.internal.http1.Http1Codec$FixedLengthSink of okhttp3.internal.http1.Http1Codec
private FixedLengthSource = okhttp3.internal.http1.Http1Codec$FixedLengthSource of okhttp3.internal.http1.Http1Codec
private UnknownLengthSource = okhttp3.internal.http1.Http1Codec$UnknownLengthSource of okhttp3.internal.http1.Http1Codec