导航菜单

页面标题

页面副标题

夜猫麻将 v24.1.1 - f.java 源代码

正在查看: 夜猫麻将 v24.1.1 应用的 f.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.mostone.open.sdk.a.a;

import android.util.Log;
import java.util.HashMap;
import org.json.JSONException;
import org.json.JSONObject;

public abstract class f {
    protected String d;
    public byte[] a = null;
    public HashMap<String, String> b = new HashMap<>();
    public c c = new c() {
        @Override
        public void a(int i, String str) {
            try {
                if (com.mostone.open.sdk.c.f.a(str)) {
                    Log.e("bihe0832 REQUEST", "responseBody is null");
                } else {
                    try {
                        JSONObject jSONObject = new JSONObject(str);
                        f.this.a(jSONObject.getInt("code"), jSONObject);
                    } catch (JSONException e) {
                        f.this.a(100104, str);
                    }
                }
            } catch (Exception e2) {
                e2.printStackTrace();
            }
        }

        @Override
        public void b(int i, String str) {
            int i2 = 100000;
            if (i != 0 && i > 300) {
                i2 = 100102;
            }
            f.this.a(i2, str);
        }
    };
    protected long e = 0;

    protected f(String str) {
        this.d = "";
        if (!com.mostone.open.sdk.c.f.a(str)) {
            this.d = str;
        } else {
            Log.d("bihe0832 REQUEST", "path is null");
            this.d = "";
        }
    }

    private String c() {
        return "https://api.open.mostonetech.com";
    }

    protected abstract String a();

    protected abstract void a(int i, String str);

    protected abstract void a(int i, JSONObject jSONObject);

    protected String b() {
        return c() + this.d;
    }
}