public a(android.content.Context p4, String p5, String p6, String p7, org.json.JSONObject p8)
    {
        this.c = 0;
        try {
            String v1_6 = new java.net.URL(a.b.a.a.a.a.c.d.a(p4).concat(p5));
            this.d = new a.b.a.a.a.a.b.b.b.d();
            this.a = p8;
            this.b = p6;
            this.c = ((java.net.HttpURLConnection) v1_6.openConnection());
            this.c.setRequestMethod(this.b);
            this.c.setRequestProperty(Content-Type, application/json);
            this.c.setRequestProperty(Accept, application/json);
            this.c.setRequestProperty(Authorization, a.b.a.a.a.a.c.d.a(p4, p5, p7, p8.toString(), a.b.a.a.a.a.c.c.b(p4)));
            this.c.setConnectTimeout(2000);
            this.c.setReadTimeout(2000);
        } catch (java.net.HttpURLConnection v4_8) {
            StringBuilder v5_5 = new StringBuilder();
            v5_5.append(v4_8);
            v5_5.append( constructor?);
            com.sec.android.diagmonagent.common.a.a.b(v5_5.toString());
            return;
        }
        if (!this.b.equals(GET)) {
            this.c.setDoOutput(1);
            return;
        } else {
            this.c.setDoInput(1);
            return;
        }
    }