mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-30 11:02:31 -06:00
55 lines
3.7 KiB
Java
55 lines
3.7 KiB
Java
|
package okhttp3.internal.http;
|
||
|
|
||
|
import io.sentry.SentryBaseEvent;
|
||
|
import io.sentry.okhttp.SentryOkHttpEventListener;
|
||
|
import io.sentry.protocol.Response;
|
||
|
import java.io.IOException;
|
||
|
import kotlin.Metadata;
|
||
|
import okhttp3.Headers;
|
||
|
import okhttp3.Request;
|
||
|
import okhttp3.Response;
|
||
|
import okhttp3.internal.connection.RealConnection;
|
||
|
import okio.Sink;
|
||
|
import okio.Source;
|
||
|
|
||
|
/* compiled from: ExchangeCodec.kt */
|
||
|
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u0000 \u001c2\u00020\u0001:\u0001\u001cJ\b\u0010\u0006\u001a\u00020\u0007H&J\u0018\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000b2\u0006\u0010\f\u001a\u00020\rH&J\b\u0010\u000e\u001a\u00020\u0007H&J\b\u0010\u000f\u001a\u00020\u0007H&J\u0010\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0013H&J\u0012\u0010\u0014\u001a\u0004\u0018\u00010\u00152\u0006\u0010\u0016\u001a\u00020\u0017H&J\u0010\u0010\u0018\u001a\u00020\r2\u0006\u0010\u0012\u001a\u00020\u0013H&J\b\u0010\u0019\u001a\u00020\u001aH&J\u0010\u0010\u001b\u001a\u00020\u00072\u0006\u0010\n\u001a\u00020\u000bH&R\u0012\u0010\u0002\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005¨\u0006\u001d"}, d2 = {"Lokhttp3/internal/http/ExchangeCodec;", "", SentryOkHttpEventListener.CONNECTION_EVENT, "Lokhttp3/internal/connection/RealConnection;", "getConnection", "()Lokhttp3/internal/connection/RealConnection;", "cancel", "", "createRequestBody", "Lokio/Sink;", SentryBaseEvent.JsonKeys.REQUEST, "Lokhttp3/Request;", "contentLength", "", "finishRequest", "flushRequest", "openResponseBodySource", "Lokio/Source;", Response.TYPE, "Lokhttp3/Response;", "readResponseHeaders", "Lokhttp3/Response$Builder;", "expectContinue", "", "reportedContentLength", "trailers", "Lokhttp3/Headers;", "writeRequestHeaders", "Companion", "okhttp"}, k = 1, mv = {1, 4, 0})
|
||
|
/* loaded from: classes3.dex */
|
||
|
public interface ExchangeCodec {
|
||
|
|
||
|
/* renamed from: Companion, reason: from kotlin metadata */
|
||
|
public static final Companion INSTANCE = Companion.$$INSTANCE;
|
||
|
public static final int DISCARD_STREAM_TIMEOUT_MILLIS = 100;
|
||
|
|
||
|
void cancel();
|
||
|
|
||
|
Sink createRequestBody(Request request, long contentLength) throws IOException;
|
||
|
|
||
|
void finishRequest() throws IOException;
|
||
|
|
||
|
void flushRequest() throws IOException;
|
||
|
|
||
|
RealConnection getConnection();
|
||
|
|
||
|
Source openResponseBodySource(okhttp3.Response response) throws IOException;
|
||
|
|
||
|
Response.Builder readResponseHeaders(boolean expectContinue) throws IOException;
|
||
|
|
||
|
long reportedContentLength(okhttp3.Response response) throws IOException;
|
||
|
|
||
|
Headers trailers() throws IOException;
|
||
|
|
||
|
void writeRequestHeaders(Request request) throws IOException;
|
||
|
|
||
|
/* compiled from: ExchangeCodec.kt */
|
||
|
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000¨\u0006\u0005"}, d2 = {"Lokhttp3/internal/http/ExchangeCodec$Companion;", "", "()V", "DISCARD_STREAM_TIMEOUT_MILLIS", "", "okhttp"}, k = 1, mv = {1, 4, 0})
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class Companion {
|
||
|
static final /* synthetic */ Companion $$INSTANCE = new Companion();
|
||
|
public static final int DISCARD_STREAM_TIMEOUT_MILLIS = 100;
|
||
|
|
||
|
private Companion() {
|
||
|
}
|
||
|
}
|
||
|
}
|