
okhttp3.internal.cache.CacheInterceptor.class Maven / Gradle / Ivy
???? 3^ ?
V ? U ? c ? ? ?
? ? ?
?
? ? ? ? ? ? ?
? ?
? ? ?
?
? ? ?
?
? ?
? ? ?
?????????
?
?
?
? ?
U ?
? c ?
? ?
? ?
U ?
?
? ?
? ?
?
? ? ? ? ? ?
? ?
? ?
U ?
U ?
? ?
? ?
? ? ? ? ? ? ? ? ?
? ?
? ? ?
9 ? ?
? ?
; ? ?
> ?
? ?
? ?
? ? ?
? ? ?
? ?
U ?
? ? ? ?
? ? ?
> ? ? ? ? ? ? ? InnerClasses cache &Lokhttp3/internal/cache/InternalCache; )(Lokhttp3/internal/cache/InternalCache;)V Code LineNumberTable LocalVariableTable this )Lokhttp3/internal/cache/CacheInterceptor; intercept Chain /(Lokhttp3/Interceptor$Chain;)Lokhttp3/Response; response Lokhttp3/Response; cacheRequest %Lokhttp3/internal/cache/CacheRequest; chain Lokhttp3/Interceptor$Chain; cacheCandidate now J strategy &Lokhttp3/internal/cache/CacheStrategy; networkRequest Lokhttp3/Request;
cacheResponse networkResponse
StackMapTable
Exceptions stripBody &(Lokhttp3/Response;)Lokhttp3/Response;
maybeCache p(Lokhttp3/Response;Lokhttp3/Request;Lokhttp3/internal/cache/InternalCache;)Lokhttp3/internal/cache/CacheRequest; userResponse
responseCache ? cacheWritingResponse K(Lokhttp3/internal/cache/CacheRequest;Lokhttp3/Response;)Lokhttp3/Response; cacheBodyUnbuffered Lokio/Sink; source Lokio/BufferedSource; cacheBody Lokio/BufferedSink; cacheWritingSource
Lokio/Source;
combine 5(Lokhttp3/Headers;Lokhttp3/Headers;)Lokhttp3/Headers; fieldName Ljava/lang/String; value i I size
cachedHeaders Lokhttp3/Headers; networkHeaders result Builder Lokhttp3/Headers$Builder; ?
isEndToEnd (Ljava/lang/String;)Z
SourceFile CacheInterceptor.java java/net/HttpURLConnection [ Y Z
,okhttp3/internal/cache/CacheStrategy$Factory Factory [ q r s g okhttp3/Response$Builder
!"#$% &Unsatisfiable Request (only-if-cached)&'()*+,-,./01 } ~ s23$456 ? ?57+- t289:;<=>? ? ? ?@ABCDE ?FG java/io/IOExceptionHIJK ?LMNO )okhttp3/internal/cache/CacheInterceptor$1 [P &okhttp3/internal/http/RealResponseBodyNQ [RS okhttp3/Headers$Builder ?4TU ?U WarningV ? 1W ? ? ?XYZ[\] Content-Length.6
Connection
Keep-Alive Proxy-Authenticate Proxy-Authorization TE Trailers Transfer-Encoding Upgrade 'okhttp3/internal/cache/CacheInterceptor java/lang/Object okhttp3/Interceptor okhttp3/Interceptor$Chain okhttp3/Response $okhttp3/internal/cache/CacheStrategy okhttp3/Request java/lang/Throwable okio/Sink java/lang/String ()V request ()Lokhttp3/Request; $okhttp3/internal/cache/InternalCache get %(Lokhttp3/Request;)Lokhttp3/Response; java/lang/System currentTimeMillis ()J '(JLokhttp3/Request;Lokhttp3/Response;)V (()Lokhttp3/internal/cache/CacheStrategy;
trackResponse )(Lokhttp3/internal/cache/CacheStrategy;)V body ()Lokhttp3/ResponseBody; okhttp3/internal/Util closeQuietly (Ljava/io/Closeable;)V -(Lokhttp3/Request;)Lokhttp3/Response$Builder; okhttp3/Protocol HTTP_1_1 Lokhttp3/Protocol; protocol .(Lokhttp3/Protocol;)Lokhttp3/Response$Builder; code (I)Lokhttp3/Response$Builder; message .(Ljava/lang/String;)Lokhttp3/Response$Builder; EMPTY_RESPONSE Lokhttp3/ResponseBody; 2(Lokhttp3/ResponseBody;)Lokhttp3/Response$Builder; sentRequestAtMillis (J)Lokhttp3/Response$Builder; receivedResponseAtMillis build ()Lokhttp3/Response;
newBuilder ()Lokhttp3/Response$Builder; .(Lokhttp3/Response;)Lokhttp3/Response$Builder; proceed ()I headers ()Lokhttp3/Headers; -(Lokhttp3/Headers;)Lokhttp3/Response$Builder; okhttp3/ResponseBody close trackConditionalCacheHit update '(Lokhttp3/Response;Lokhttp3/Response;)V !okhttp3/internal/http/HttpHeaders hasBody (Lokhttp3/Response;)Z isCacheable &(Lokhttp3/Response;Lokhttp3/Request;)Z method ()Ljava/lang/String; okhttp3/internal/http/HttpMethod invalidatesCache remove (Lokhttp3/Request;)V put 9(Lokhttp3/Response;)Lokhttp3/internal/cache/CacheRequest; #okhttp3/internal/cache/CacheRequest
()Lokio/Sink; ()Lokio/BufferedSource; okio/Okio buffer (Lokio/Sink;)Lokio/BufferedSink; y(Lokhttp3/internal/cache/CacheInterceptor;Lokio/BufferedSource;Lokhttp3/internal/cache/CacheRequest;Lokio/BufferedSink;)V $(Lokio/Source;)Lokio/BufferedSource; )(Lokhttp3/Headers;Lokio/BufferedSource;)V okhttp3/Headers name (I)Ljava/lang/String; equalsIgnoreCase
startsWith &(Ljava/lang/String;)Ljava/lang/String; okhttp3/internal/Internal instance Lokhttp3/internal/Internal;
addLenient @(Lokhttp3/Headers$Builder;Ljava/lang/String;Ljava/lang/String;)V 1 U V W Y Z [ \ ] F
*? *+? ? ^ 0 1 2 _
` a
Y Z b e ] s ?*? ? *? +? ? ? M? B? Y!+? ,? ? :?
:? :*? ? *? ? ,? ?
,?
? ? ?? :? Y? +? ? ? ? ?? ? ? ? ? ? ? ? ?? ? ? ? ? ?:+? ! :? &,? ",?
? ? : ? ,?
,?
? ?? q? "0? ^? ? #? #? $? %? &? ? '? ? ? ? ? (? : ?
? )*? ? * *? ? + ??
? ? ? ? ? ? (? : ? ,? * ? -*? ? .:
*
? /: ? ? ? ? ? ? ? ^ ? 6 5 6 9 ; 3 <