
okhttp3.internal.cache.CacheStrategy$Factory.class Maven / Gradle / Ivy
???? 39
M ? L ? L ? L ? L ?
? ? L ?
? ? L ?
? ?
? ?
? ?
? ? ?
? ?
? ? L ? L ? ? L ? ? L ? L ? ? L ? ?
? ?
L ? ?
? ?
? ? ?
?
? ?
? ?
?
? ?
L ?
L ?
L ?
? ? ? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ? ? ?
| ? &\
L ? ?
| ? ? ?
? ?
? ? ? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ? ? ? nowMillis J request Lokhttp3/Request;
cacheResponse Lokhttp3/Response;
servedDate Ljava/util/Date; servedDateString Ljava/lang/String; lastModified lastModifiedString expires sentRequestMillis receivedResponseMillis etag
ageSeconds I '(JLokhttp3/Request;Lokhttp3/Response;)V Code LineNumberTable LocalVariableTable fieldName value i size headers Lokhttp3/Headers; this Factory InnerClasses .Lokhttp3/internal/cache/CacheStrategy$Factory;
StackMapTable ? ? ? ? ? get (()Lokhttp3/internal/cache/CacheStrategy; candidate &Lokhttp3/internal/cache/CacheStrategy; ? getCandidate builder ? Builder Lokhttp3/Response$Builder; oneDayMillis
conditionName conditionValue requestCaching Lokhttp3/CacheControl; ageMillis freshMillis minFreshMillis maxStaleMillis responseCaching conditionalRequestHeaders ? Lokhttp3/Headers$Builder; conditionalRequest ? ? computeFreshnessLifetime ()J servedMillis delta cacheResponseAge apparentReceivedAge receivedAge responseDuration residentDuration isFreshnessLifetimeHeuristic ()Z
hasConditions (Lokhttp3/Request;)Z
SourceFile CacheStrategy.java ` ? ^ _ N O P Q R S ? ? ? [ O ? ? \ O i ? ? h ? ? ? f ? Date ? T U V W Expires Z U
Last-Modified X U Y W ETag ] W Age z v Q ?
? ? $okhttp3/internal/cache/CacheStrategy `
? ? ? ? ? ? ? ? ? ? ? ? Warning )110 HttpURLConnection "Response is stale"!" ? ? ,113 HttpURLConnection "Heuristic expiration"#$
If-None-Match If-Modified-Since%&'()*+# ?, i-#./0 ? P.12345678 ,okhttp3/internal/cache/CacheStrategy$Factory java/lang/Object okhttp3/Request okhttp3/Response okhttp3/Headers java/lang/String okhttp3/Response$Builder okhttp3/Headers$Builder okhttp3/CacheControl ()V sentRequestAtMillis receivedResponseAtMillis ()Lokhttp3/Headers; ()I name (I)Ljava/lang/String; equalsIgnoreCase (Ljava/lang/String;)Z okhttp3/internal/http/HttpDate parse $(Ljava/lang/String;)Ljava/util/Date; !okhttp3/internal/http/HttpHeaders parseSeconds (Ljava/lang/String;I)I networkRequest cacheControl ()Lokhttp3/CacheControl; onlyIfCached &(Lokhttp3/Request;Lokhttp3/Response;)V isHttps handshake ()Lokhttp3/Handshake; isCacheable &(Lokhttp3/Response;Lokhttp3/Request;)Z noCache
maxAgeSeconds java/util/concurrent/TimeUnit SECONDS Ljava/util/concurrent/TimeUnit; toMillis (J)J java/lang/Math min (JJ)J minFreshSeconds mustRevalidate maxStaleSeconds
newBuilder ()Lokhttp3/Response$Builder; addHeader @(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Response$Builder; build ()Lokhttp3/Response; ()Lokhttp3/Headers$Builder; okhttp3/internal/Internal instance Lokhttp3/internal/Internal;
addLenient @(Lokhttp3/Headers$Builder;Ljava/lang/String;Ljava/lang/String;)V ()Lokhttp3/Request$Builder; okhttp3/Request$Builder ,(Lokhttp3/Headers;)Lokhttp3/Request$Builder; ()Lokhttp3/Request; java/util/Date getTime url ()Lokhttp3/HttpUrl; okhttp3/HttpUrl query ()Ljava/lang/String; max header &(Ljava/lang/String;)Ljava/lang/String; ! L M N O P Q R S T U V W X U Y W Z U [ O \ O ] W ^ _ ` a b ?
?*? *? *? *-? *? ? ?*? ? *? ? ?
:6? 6? ?? :?
: ? ? * ? ? * ? ? \? ? * ? ? ? F? ? * ? ? * ? ? *? ? * ? ? ? ?
* ? ? ???o? c j ? ? ? ? ? ? ? ' ? 0 ? 7 ? H ? Q ? Z ? d ? m ? v ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? d \ Q ~ e W Z u f W : ? g _ A ? h _ 7 ? i j ? k n ? N O ? P Q ? R S o * ? A p q r s ? 4 t t? ? u v b s %*? L+? ? *? ? ? ?
? Y? !?+? c ? ? ? # ? d % k n w x o ? # y z v b ? ?*? ? ? Y*? ? !?*? ? "? *? ? #? ? Y*? ? !?*? *? ? $? ? Y*? ? !?*? ? L+? %?
*? ? &? ? Y*? ? !?*? 'A*? (7+? )? ? *+? )?? +? ,7 7+? -? ? *+? -?? +7 7*? ? .:
? /? +? 0? ? *+? 0?? +7
? %? X aa?? K*? ? 1: a??
23? 4W 57 ?? *? 7?
28? 4W? Y? 9? !?*? ? ::*? :? 8*? ? ;:*? :? $*? ? ;:*? :? ? Y*? ? !?*? ?