39 lines
1.3 KiB
Java
39 lines
1.3 KiB
Java
package okhttp3.repackaged.internal.framed;
|
|
|
|
import java.io.IOException;
|
|
import java.util.List;
|
|
import o.InterfaceC15142giR;
|
|
|
|
/* loaded from: classes6.dex */
|
|
public interface PushObserver {
|
|
public static final PushObserver CANCEL = new PushObserver() { // from class: okhttp3.repackaged.internal.framed.PushObserver.1
|
|
@Override // okhttp3.repackaged.internal.framed.PushObserver
|
|
public final boolean onHeaders(int i, List<Header> list, boolean z) {
|
|
return true;
|
|
}
|
|
|
|
@Override // okhttp3.repackaged.internal.framed.PushObserver
|
|
public final boolean onRequest(int i, List<Header> list) {
|
|
return true;
|
|
}
|
|
|
|
@Override // okhttp3.repackaged.internal.framed.PushObserver
|
|
public final void onReset(int i, ErrorCode errorCode) {
|
|
}
|
|
|
|
@Override // okhttp3.repackaged.internal.framed.PushObserver
|
|
public final boolean onData(int i, InterfaceC15142giR interfaceC15142giR, int i2, boolean z) throws IOException {
|
|
interfaceC15142giR.f(i2);
|
|
return true;
|
|
}
|
|
};
|
|
|
|
boolean onData(int i, InterfaceC15142giR interfaceC15142giR, 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);
|
|
}
|