package com.ss.android.ugc.aweme.bullet.bridge.common;

import X.0CB;
import X.0CH;
import X.4UQ;
import X.6Is;
import X.C0651KCc;
import X.C0865KKi;
import X.C3197LCa;
import X.KH4;
import X.KH5;
import X.KH7;
import X.KH8;
import X.KHX;
import X.KT7;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.bullet.bridge.BaseBridgeMethod;
import org.json.JSONObject;

public final class RequestMethod extends BaseBridgeMethod implements 6Is {
    public static final KH5 LIZJ = new KH5((byte) 0);
    public C3197LCa LIZIZ;
    public final String LIZLLL = "request";
    public C0651KCc LJ = C0651KCc.PROTECT;
    public final KH8 LJFF = new KHX(this);

    static {
        Covode.recordClassIndex(55054);
    }

    public final void onStateChanged(0CH r1, 0CB r2) {
        super.onStateChanged(r1, r2);
    }

    public final C0651KCc LIZIZ() {
        return this.LJ;
    }

    public final String LIZLLL() {
        return this.LIZLLL;
    }

    public final void LIZ(C0651KCc kCc) {
        M12.LIZ((Object) kCc);
        this.LJ = kCc;
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public RequestMethod(KT7 kt7) {
        super(kt7);
        M12.LIZ((Object) kt7);
    }

    public final void LIZ(JSONObject jSONObject, 4UQ r7) {
        M12.LIZ((Object) jSONObject, (Object) r7);
        try {
            KH7.LIZ(LIZ(jSONObject), jSONObject.optJSONObject("res"), (C0865KKi) null, new KH4(r7), this.LJFF).LIZ();
        } catch (Exception unused) {
        }
    }
}
