class okhttp3.internal.http1.Http1Codec$UnknownLengthSource extends okhttp3.internal.http1.Http1Codec$AbstractSource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: okhttp3.internal.http1.Http1Codec$UnknownLengthSource
super_class: okhttp3.internal.http1.Http1Codec$AbstractSource
{
private boolean inputExhausted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final okhttp3.internal.http1.Http1Codec this$0;
descriptor: Lokhttp3/internal/http1/Http1Codec;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(okhttp3.internal.http1.Http1Codec);
descriptor: (Lokhttp3/internal/http1/Http1Codec;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield okhttp3.internal.http1.Http1Codec$UnknownLengthSource.this$0:Lokhttp3/internal/http1/Http1Codec;
aload 0
aload 1
invokespecial okhttp3.internal.http1.Http1Codec$AbstractSource.<init>:(Lokhttp3/internal/http1/Http1Codec;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lokhttp3/internal/http1/Http1Codec$UnknownLengthSource;
MethodParameters:
Name Flags
this$0 final
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: lload 2
lconst_0
lcmp
ifge 1
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "byteCount < 0: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield okhttp3.internal.http1.Http1Codec$UnknownLengthSource.closed:Z
ifeq 2
new java.lang.IllegalStateException
dup
ldc "closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield okhttp3.internal.http1.Http1Codec$UnknownLengthSource.inputExhausted:Z
ifeq 3
ldc -1
lreturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
lload 2
invokespecial okhttp3.internal.http1.Http1Codec$AbstractSource.read:(Lokio/Buffer;J)J
lstore 4
start local 4 4: lload 4
ldc -1
lcmp
ifne 8
5: aload 0
iconst_1
putfield okhttp3.internal.http1.Http1Codec$UnknownLengthSource.inputExhausted:Z
6: aload 0
iconst_1
aconst_null
invokevirtual okhttp3.internal.http1.Http1Codec$UnknownLengthSource.endOfInput:(ZLjava/io/IOException;)V
7: ldc -1
lreturn
8: StackMap locals: long
StackMap stack:
lload 4
lreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lokhttp3/internal/http1/Http1Codec$UnknownLengthSource;
0 9 1 sink Lokio/Buffer;
0 9 2 byteCount J
4 9 4 read J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sink
byteCount
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield okhttp3.internal.http1.Http1Codec$UnknownLengthSource.closed:Z
ifeq 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield okhttp3.internal.http1.Http1Codec$UnknownLengthSource.inputExhausted:Z
ifne 3
2: aload 0
iconst_0
aconst_null
invokevirtual okhttp3.internal.http1.Http1Codec$UnknownLengthSource.endOfInput:(ZLjava/io/IOException;)V
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield okhttp3.internal.http1.Http1Codec$UnknownLengthSource.closed:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lokhttp3/internal/http1/Http1Codec$UnknownLengthSource;
Exceptions:
throws java.io.IOException
}
SourceFile: "Http1Codec.java"
NestHost: okhttp3.internal.http1.Http1Codec
InnerClasses:
private abstract AbstractSource = okhttp3.internal.http1.Http1Codec$AbstractSource of okhttp3.internal.http1.Http1Codec
private UnknownLengthSource = okhttp3.internal.http1.Http1Codec$UnknownLengthSource of okhttp3.internal.http1.Http1Codec