23 lines
651 B
Java
23 lines
651 B
Java
|
package okhttp3.repackaged.internal;
|
||
|
|
||
|
import java.io.IOException;
|
||
|
import okhttp3.repackaged.Request;
|
||
|
import okhttp3.repackaged.Response;
|
||
|
import okhttp3.repackaged.internal.http.CacheRequest;
|
||
|
import okhttp3.repackaged.internal.http.CacheStrategy;
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public interface InternalCache {
|
||
|
Response get(Request request) throws IOException;
|
||
|
|
||
|
CacheRequest put(Response response) throws IOException;
|
||
|
|
||
|
void remove(Request request) throws IOException;
|
||
|
|
||
|
void trackConditionalCacheHit();
|
||
|
|
||
|
void trackResponse(CacheStrategy cacheStrategy);
|
||
|
|
||
|
void update(Response response, Response response2) throws IOException;
|
||
|
}
|