Initial commit

This commit is contained in:
2025-05-13 19:24:51 +02:00
commit a950f49678
10604 changed files with 932663 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
package okhttp3.internal.http2;
import java.io.IOException;
import java.util.List;
import okio.BufferedSource;
/* loaded from: classes2.dex */
public interface PushObserver {
public static final PushObserver CANCEL = new PushObserver() { // from class: okhttp3.internal.http2.PushObserver.1
@Override // okhttp3.internal.http2.PushObserver
public boolean onData(int i, BufferedSource bufferedSource, int i2, boolean z) throws IOException {
bufferedSource.skip(i2);
return true;
}
@Override // okhttp3.internal.http2.PushObserver
public boolean onHeaders(int i, List<Header> list, boolean z) {
return true;
}
@Override // okhttp3.internal.http2.PushObserver
public boolean onRequest(int i, List<Header> list) {
return true;
}
@Override // okhttp3.internal.http2.PushObserver
public void onReset(int i, ErrorCode errorCode) {
}
};
boolean onData(int i, BufferedSource bufferedSource, int i2, boolean z) throws IOException;
boolean onHeaders(int i, List<Header> list, boolean z);
boolean onRequest(int i, List<Header> list);
void onReset(int i, ErrorCode errorCode);
}