1c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath/* 23c938a3f6b61ce5e2dba0d039b03fe73b89fd26cNeil Fuller * Copyright (C) 2014 Square, Inc. 3c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * 4c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * Licensed under the Apache License, Version 2.0 (the "License"); 5c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * you may not use this file except in compliance with the License. 6c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * You may obtain a copy of the License at 7c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * 8c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * http://www.apache.org/licenses/LICENSE-2.0 9c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * 10c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * Unless required by applicable law or agreed to in writing, software 11c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * distributed under the License is distributed on an "AS IS" BASIS, 12c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * See the License for the specific language governing permissions and 14c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath * limitations under the License. 15c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath */ 16e78f117bcbd6b57d783737107f445ef75ecb474aNeil Fullerpackage com.squareup.okhttp.internal.http; 17c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath 18e78f117bcbd6b57d783737107f445ef75ecb474aNeil Fullerimport java.io.IOException; 19e78f117bcbd6b57d783737107f445ef75ecb474aNeil Fullerimport okio.Sink; 20e78f117bcbd6b57d783737107f445ef75ecb474aNeil Fuller 21e78f117bcbd6b57d783737107f445ef75ecb474aNeil Fullerpublic interface CacheRequest { 22e78f117bcbd6b57d783737107f445ef75ecb474aNeil Fuller Sink body() throws IOException; 23e78f117bcbd6b57d783737107f445ef75ecb474aNeil Fuller void abort(); 24c3f6f16bd4a2338e88275641b9f2f56e816ca377Narayan Kamath} 25