- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
38 lines
1.1 KiB
Java
38 lines
1.1 KiB
Java
package okhttp3.internal.http2;
|
|
|
|
import java.util.List;
|
|
import okio.BufferedSource;
|
|
|
|
/* loaded from: classes5.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 onHeaders(int i, List list, boolean z) {
|
|
return true;
|
|
}
|
|
|
|
@Override // okhttp3.internal.http2.PushObserver
|
|
public boolean onRequest(int i, List list) {
|
|
return true;
|
|
}
|
|
|
|
@Override // okhttp3.internal.http2.PushObserver
|
|
public void onReset(int i, ErrorCode errorCode) {
|
|
}
|
|
|
|
@Override // okhttp3.internal.http2.PushObserver
|
|
public boolean onData(int i, BufferedSource bufferedSource, int i2, boolean z) {
|
|
bufferedSource.skip(i2);
|
|
return true;
|
|
}
|
|
};
|
|
|
|
boolean onData(int i, BufferedSource bufferedSource, int i2, boolean z);
|
|
|
|
boolean onHeaders(int i, List list, boolean z);
|
|
|
|
boolean onRequest(int i, List list);
|
|
|
|
void onReset(int i, ErrorCode errorCode);
|
|
}
|