abstract class okhttp3.internal.http1.Http1Codec$AbstractSource implements okio.Source
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: okhttp3.internal.http1.Http1Codec$AbstractSource
super_class: java.lang.Object
{
protected final okio.ForwardingTimeout timeout;
descriptor: Lokio/ForwardingTimeout;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected boolean closed;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected long bytesRead;
descriptor: J
flags: (0x0004) ACC_PROTECTED
final okhttp3.internal.http1.Http1Codec this$0;
descriptor: Lokhttp3/internal/http1/Http1Codec;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(okhttp3.internal.http1.Http1Codec);
descriptor: (Lokhttp3/internal/http1/Http1Codec;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield okhttp3.internal.http1.Http1Codec$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new okio.ForwardingTimeout
dup
aload 1
getfield okhttp3.internal.http1.Http1Codec.source:Lokio/BufferedSource;
invokeinterface okio.BufferedSource.timeout:()Lokio/Timeout;
invokespecial okio.ForwardingTimeout.<init>:(Lokio/Timeout;)V
putfield okhttp3.internal.http1.Http1Codec$AbstractSource.timeout:Lokio/ForwardingTimeout;
2: aload 0
lconst_0
putfield okhttp3.internal.http1.Http1Codec$AbstractSource.bytesRead:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lokhttp3/internal/http1/Http1Codec$AbstractSource;
MethodParameters:
Name Flags
this$0 final
public okio.Timeout timeout();
descriptor: ()Lokio/Timeout;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.timeout:Lokio/ForwardingTimeout;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/internal/http1/Http1Codec$AbstractSource;
public long read(okio.Buffer, long);
descriptor: (Lokio/Buffer;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.source:Lokio/BufferedSource;
aload 1
lload 2
invokeinterface okio.BufferedSource.read:(Lokio/Buffer;J)J
lstore 4
start local 4 1: lload 4
lconst_0
lcmp
ifle 3
2: aload 0
dup
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.bytesRead:J
lload 4
ladd
putfield okhttp3.internal.http1.Http1Codec$AbstractSource.bytesRead:J
3: StackMap locals: long
StackMap stack:
lload 4
4: lreturn
end local 4 5: StackMap locals: okhttp3.internal.http1.Http1Codec$AbstractSource okio.Buffer long
StackMap stack: java.io.IOException
astore 4
start local 4 6: aload 0
iconst_0
aload 4
invokevirtual okhttp3.internal.http1.Http1Codec$AbstractSource.endOfInput:(ZLjava/io/IOException;)V
7: aload 4
athrow
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lokhttp3/internal/http1/Http1Codec$AbstractSource;
0 8 1 sink Lokio/Buffer;
0 8 2 byteCount J
1 5 4 read J
6 8 4 e Ljava/io/IOException;
Exception table:
from to target type
0 4 5 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sink
byteCount
protected final void endOfInput(boolean, java.io.IOException);
descriptor: (ZLjava/io/IOException;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.state:I
bipush 6
if_icmpne 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.state:I
iconst_5
if_icmpeq 2
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$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
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
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.timeout:Lokio/ForwardingTimeout;
invokevirtual okhttp3.internal.http1.Http1Codec.detachTimeout:(Lokio/ForwardingTimeout;)V
3: aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
bipush 6
putfield okhttp3.internal.http1.Http1Codec.state:I
4: aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
ifnull 8
5: aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
getfield okhttp3.internal.http1.Http1Codec.streamAllocation:Lokhttp3/internal/connection/StreamAllocation;
iload 1
ifeq 6
iconst_0
goto 7
StackMap locals:
StackMap stack: okhttp3.internal.connection.StreamAllocation
6: iconst_1
StackMap locals: okhttp3.internal.http1.Http1Codec$AbstractSource int java.io.IOException
StackMap stack: okhttp3.internal.connection.StreamAllocation int
7: aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.this$0:Lokhttp3/internal/http1/Http1Codec;
aload 0
getfield okhttp3.internal.http1.Http1Codec$AbstractSource.bytesRead:J
aload 2
invokevirtual okhttp3.internal.connection.StreamAllocation.streamFinished:(ZLokhttp3/internal/http/HttpCodec;JLjava/io/IOException;)V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lokhttp3/internal/http1/Http1Codec$AbstractSource;
0 9 1 reuseConnection Z
0 9 2 e Ljava/io/IOException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
reuseConnection
e
}
SourceFile: "Http1Codec.java"
NestHost: okhttp3.internal.http1.Http1Codec
InnerClasses:
private abstract AbstractSource = okhttp3.internal.http1.Http1Codec$AbstractSource of okhttp3.internal.http1.Http1Codec