what-the-bank/sources/okhttp3/repackaged/internal/InternalCache.java

23 lines
651 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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;
}