class okhttp3.internal.cache.CacheInterceptor$1 implements okio.Source
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: okhttp3.internal.cache.CacheInterceptor$1
super_class: java.lang.Object
{
boolean cacheRequestClosed;
descriptor: Z
flags: (0x0000)
final okhttp3.internal.cache.CacheInterceptor this$0;
descriptor: Lokhttp3/internal/cache/CacheInterceptor;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final okio.BufferedSource val$source;
descriptor: Lokio/BufferedSource;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final okhttp3.internal.cache.CacheRequest val$cacheRequest;
descriptor: Lokhttp3/internal/cache/CacheRequest;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final okio.BufferedSink val$cacheBody;
descriptor: Lokio/BufferedSink;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(okhttp3.internal.cache.CacheInterceptor, okio.BufferedSource, okhttp3.internal.cache.CacheRequest, okio.BufferedSink);
descriptor: (Lokhttp3/internal/cache/CacheInterceptor;Lokio/BufferedSource;Lokhttp3/internal/cache/CacheRequest;Lokio/BufferedSink;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield okhttp3.internal.cache.CacheInterceptor$1.this$0:Lokhttp3/internal/cache/CacheInterceptor;
aload 0
aload 2
putfield okhttp3.internal.cache.CacheInterceptor$1.val$source:Lokio/BufferedSource;
aload 0
aload 3
putfield okhttp3.internal.cache.CacheInterceptor$1.val$cacheRequest:Lokhttp3/internal/cache/CacheRequest;
aload 0
aload 4
putfield okhttp3.internal.cache.CacheInterceptor$1.val$cacheBody:Lokio/BufferedSink;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/internal/cache/CacheInterceptor$1;
MethodParameters:
Name Flags
this$0 final
val$source final
val$cacheRequest final
val$cacheBody final
public long read(okio.Buffer, long);
descriptor: (Lokio/Buffer;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield okhttp3.internal.cache.CacheInterceptor$1.val$source:Lokio/BufferedSource;
aload 1
lload 2
invokeinterface okio.BufferedSource.read:(Lokio/Buffer;J)J
lstore 4
start local 4 1: goto 7
end local 4 StackMap locals:
StackMap stack: java.io.IOException
2: astore 6
start local 6 3: aload 0
getfield okhttp3.internal.cache.CacheInterceptor$1.cacheRequestClosed:Z
ifne 6
4: aload 0
iconst_1
putfield okhttp3.internal.cache.CacheInterceptor$1.cacheRequestClosed:Z
5: aload 0
getfield okhttp3.internal.cache.CacheInterceptor$1.val$cacheRequest:Lokhttp3/internal/cache/CacheRequest;
invokeinterface okhttp3.internal.cache.CacheRequest.abort:()V
6: StackMap locals: okhttp3.internal.cache.CacheInterceptor$1 okio.Buffer long top top java.io.IOException
StackMap stack:
aload 6
athrow
end local 6 start local 4 7: StackMap locals: okhttp3.internal.cache.CacheInterceptor$1 okio.Buffer long long
StackMap stack:
lload 4
ldc -1
lcmp
ifne 12
8: aload 0
getfield okhttp3.internal.cache.CacheInterceptor$1.cacheRequestClosed:Z
ifne 11
9: aload 0
iconst_1
putfield okhttp3.internal.cache.CacheInterceptor$1.cacheRequestClosed:Z
10: aload 0
getfield okhttp3.internal.cache.CacheInterceptor$1.val$cacheBody:Lokio/BufferedSink;
invokeinterface okio.BufferedSink.close:()V
11: StackMap locals:
StackMap stack:
ldc -1
lreturn
12: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield okhttp3.internal.cache.CacheInterceptor$1.val$cacheBody:Lokio/BufferedSink;
invokeinterface okio.BufferedSink.buffer:()Lokio/Buffer;
aload 1
invokevirtual okio.Buffer.size:()J
lload 4
lsub
lload 4
invokevirtual okio.Buffer.copyTo:(Lokio/Buffer;JJ)Lokio/Buffer;
pop
13: aload 0
getfield okhttp3.internal.cache.CacheInterceptor$1.val$cacheBody:Lokio/BufferedSink;
invokeinterface okio.BufferedSink.emitCompleteSegments:()Lokio/BufferedSink;
pop
14: lload 4
lreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lokhttp3/internal/cache/CacheInterceptor$1;
0 15 1 sink Lokio/Buffer;
0 15 2 byteCount J
1 2 4 bytesRead J
7 15 4 bytesRead J
3 7 6 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sink
byteCount
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.cache.CacheInterceptor$1.val$source:Lokio/BufferedSource;
invokeinterface okio.BufferedSource.timeout:()Lokio/Timeout;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lokhttp3/internal/cache/CacheInterceptor$1;
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.cache.CacheInterceptor$1.cacheRequestClosed:Z
ifne 4
1: aload 0
bipush 100
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic okhttp3.internal.Util.discard:(Lokio/Source;ILjava/util/concurrent/TimeUnit;)Z
ifne 4
2: aload 0
iconst_1
putfield okhttp3.internal.cache.CacheInterceptor$1.cacheRequestClosed:Z
3: aload 0
getfield okhttp3.internal.cache.CacheInterceptor$1.val$cacheRequest:Lokhttp3/internal/cache/CacheRequest;
invokeinterface okhttp3.internal.cache.CacheRequest.abort:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield okhttp3.internal.cache.CacheInterceptor$1.val$source:Lokio/BufferedSource;
invokeinterface okio.BufferedSource.close:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lokhttp3/internal/cache/CacheInterceptor$1;
Exceptions:
throws java.io.IOException
}
SourceFile: "CacheInterceptor.java"
EnclosingMethod: okhttp3.internal.cache.CacheInterceptor.cacheWritingResponse:(Lokhttp3/internal/cache/CacheRequest;Lokhttp3/Response;)Lokhttp3/Response;
NestHost: okhttp3.internal.cache.CacheInterceptor
InnerClasses:
okhttp3.internal.cache.CacheInterceptor$1