
okhttp3.Cache.class Maven / Gradle / Ivy
???? 3Z ? ?
?
O ? ?
? ? ? ?
? ? ?
? ?
? ?
? ?
? ?
? ?
?
? ? ? ?
} ?
?
? ?
?
?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
?
? ?
? ?
$ ?
?
? ? ? ( ?
} ?
? ?
? ?
? ?
? ?
? ? ?
0 ? ? ?
? ?
? ?
? ?
?
?
?
???
?
E ?
E
E
E ?
M CacheResponseBody InnerClasses Entry CacheRequestImpl VERSION I
ConstantValue ENTRY_METADATA
ENTRY_BODY ENTRY_COUNT
internalCache &Lokhttp3/internal/cache/InternalCache; cache %Lokhttp3/internal/cache/DiskLruCache; writeSuccessCount writeAbortCount networkCount hitCount requestCount (Ljava/io/File;J)V Code LineNumberTable LocalVariableTable this Lokhttp3/Cache; directory Ljava/io/File; maxSize J 2(Ljava/io/File;JLokhttp3/internal/io/FileSystem;)V
fileSystem Lokhttp3/internal/io/FileSystem; key %(Lokhttp3/HttpUrl;)Ljava/lang/String; url Lokhttp3/HttpUrl; get %(Lokhttp3/Request;)Lokhttp3/Response; snapshot Snapshot .Lokhttp3/internal/cache/DiskLruCache$Snapshot; e Ljava/io/IOException; entry Lokhttp3/Cache$Entry; request Lokhttp3/Request; Ljava/lang/String; response Lokhttp3/Response;
StackMapTable ? ? ? put 9(Lokhttp3/Response;)Lokhttp3/internal/cache/CacheRequest;
requestMethod editor Editor ,Lokhttp3/internal/cache/DiskLruCache$Editor; remove (Lokhttp3/Request;)V
Exceptions update '(Lokhttp3/Response;Lokhttp3/Response;)V cached network abortQuietly /(Lokhttp3/internal/cache/DiskLruCache$Editor;)V
initialize ()V delete evictAll urls ()Ljava/util/Iterator; Signature *()Ljava/util/Iterator; ()I size ()J flush close ()Ljava/io/File; isClosed ()Z
trackResponse )(Lokhttp3/internal/cache/CacheStrategy;)V
cacheStrategy &Lokhttp3/internal/cache/CacheStrategy; trackConditionalCacheHit readInt (Lokio/BufferedSource;)I result line !Ljava/lang/NumberFormatException; source Lokio/BufferedSource;
SourceFile
Cache.java u h s h ? okhttp3/Cache$1 h! _ `
okhttp3/Cache"#$ a b%&'()*+,-' x. v w z/ java/io/IOException okhttp3/Cache$Entry01 h2345 ?6789: ?;<'=>? ? ? GET@ABCD hEFGH ? okhttp3/Cache$CacheRequestImpl hI ? ? ?? okhttp3/Cache$CacheResponseBody | FJK ?L ? ? ? ? ? ? ? okhttp3/Cache$2 d W c W ? ?M ? ? ? ? ?N ? ? ? g WOP ? e WQ ? f WR ?S' java/lang/IntegerT ? java/lang/StringBuilder expected an int but was "UVUW " hX java/lang/NumberFormatExceptionY' java/lang/Object java/io/Closeable java/io/Flushable ,okhttp3/internal/cache/DiskLruCache$Snapshot java/lang/String okhttp3/Request okhttp3/Response *okhttp3/internal/cache/DiskLruCache$Editor okio/BufferedSource okhttp3/internal/io/FileSystem SYSTEM (Lokhttp3/Cache;)V #okhttp3/internal/cache/DiskLruCache create X(Lokhttp3/internal/io/FileSystem;Ljava/io/File;IIJ)Lokhttp3/internal/cache/DiskLruCache; okhttp3/HttpUrl toString ()Ljava/lang/String; okio/ByteString
encodeUtf8 %(Ljava/lang/String;)Lokio/ByteString; md5 ()Lokio/ByteString; hex ()Lokhttp3/HttpUrl; B(Ljava/lang/String;)Lokhttp3/internal/cache/DiskLruCache$Snapshot; getSource (I)Lokio/Source; (Lokio/Source;)V okhttp3/internal/Util closeQuietly (Ljava/io/Closeable;)V B(Lokhttp3/internal/cache/DiskLruCache$Snapshot;)Lokhttp3/Response; matches &(Lokhttp3/Request;Lokhttp3/Response;)Z body ()Lokhttp3/ResponseBody; ()Lokhttp3/Request; method okhttp3/internal/http/HttpMethod invalidatesCache (Ljava/lang/String;)Z equals (Ljava/lang/Object;)Z !okhttp3/internal/http/HttpHeaders
hasVaryAll (Lokhttp3/Response;)Z (Lokhttp3/Response;)V edit @(Ljava/lang/String;)Lokhttp3/internal/cache/DiskLruCache$Editor; writeTo >(Lokhttp3/Cache;Lokhttp3/internal/cache/DiskLruCache$Editor;)V .()Lokhttp3/internal/cache/DiskLruCache$Editor; commit abort
getMaxSize getDirectory $okhttp3/internal/cache/CacheStrategy networkRequest
cacheResponse readDecimalLong readUtf8LineStrict isEmpty append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; (Ljava/lang/String;)V
getMessage 1 O P Q V W X Y W X Z [ W X \ ] W X ^ _ ` a b c W d W e W f W g W h i j L
*+ ? ? ? k
? ? l
m n
o p
q r h s j s *? *? Y*? ? *+ ? ?
? k ? ? ? ? l * m n o p q r t u v w j 8 *? ? ?
? ? k ? l x y z { j e W+? ? M*?
,? N-? ?? :?? Y-? ? :? :-? ?-? :+? ?
? ? ?? , / k F ? ? ? ? ? ? ? ? , ? / ? 1 ? 5 ? 7 ? ? ? J ? R ? T ? l f
| ? ? , ? ? 1 ? ? W m n W ? ? O v ? 9 | 7 ? ? ? ? ? ? 4 ? ? ?? ? ? ? ?? ?P ?? ?? ? ? ? j d x+? ? M+? ? ? ? *+? ? ? N?,? ? ?+? ? ?? Y+? !N:*?
+? ? ? ? ":? ?-? #? $Y*? %?:*? &? C \ n ] m n k R ? ? ? ? ? ! ? # ? , ? . ? 5 ? 7 ? @ ? C ? V ? [ ? ] ? c ? n ? p ? v ? l > p ? ? x m n x ? ? p ? ? @ 8 ? ? C 5 ? ? ? &