what-the-bank/sources/okhttp3/internal/http/ExchangeCodec.java

45 lines
1.2 KiB
Java

package okhttp3.internal.http;
import java.io.IOException;
import o.InterfaceC15168giw;
import o.giD;
import okhttp3.Headers;
import okhttp3.Request;
import okhttp3.Response;
import okhttp3.internal.connection.RealConnection;
/* loaded from: classes.dex */
public interface ExchangeCodec {
public static final Companion Companion = Companion.$$INSTANCE;
public static final int DISCARD_STREAM_TIMEOUT_MILLIS = 100;
void cancel();
InterfaceC15168giw createRequestBody(Request request, long j) throws IOException;
void finishRequest() throws IOException;
void flushRequest() throws IOException;
RealConnection getConnection();
giD openResponseBodySource(Response response) throws IOException;
Response.Builder readResponseHeaders(boolean z) throws IOException;
long reportedContentLength(Response response) throws IOException;
Headers trailers() throws IOException;
void writeRequestHeaders(Request request) throws IOException;
/* loaded from: classes.dex */
public static final class Companion {
static final Companion $$INSTANCE = new Companion();
public static final int DISCARD_STREAM_TIMEOUT_MILLIS = 100;
private Companion() {
}
}
}