public final void run() {
   if (!JsonHttpResponseHandler.this.useRFC5179CompatibilityMode
       && this.val$jsonResponse == null) {
     JsonHttpResponseHandler.this.onSuccess$79de7b53(null);
   } else if (this.val$jsonResponse instanceof JSONObject) {
     JsonHttpResponseHandler.this.onSuccess(
         C04791.this.val$statusCode,
         C04791.this.val$headers,
         (JSONObject) this.val$jsonResponse);
   } else if (this.val$jsonResponse instanceof JSONArray) {
     AsyncHttpClient.log.m20w(
         "JsonHttpRH",
         "onSuccess(int, Header[], JSONArray) was not overriden, but callback was received");
   } else if (!(this.val$jsonResponse instanceof String)) {
     JsonHttpResponseHandler.onFailure$6af5acc(
         new JSONException(
             "Unexpected response type " + this.val$jsonResponse.getClass().getName()));
   } else if (JsonHttpResponseHandler.this.useRFC5179CompatibilityMode) {
     JsonHttpResponseHandler.this.onFailure(
         C04791.this.val$statusCode,
         C04791.this.val$headers,
         (String) this.val$jsonResponse,
         new JSONException("Response cannot be parsed as JSON data"));
   } else {
     JsonHttpResponseHandler.this.onSuccess$79de7b53((String) this.val$jsonResponse);
   }
 }
 public final void run() {
   if (!JsonHttpResponseHandler.this.useRFC5179CompatibilityMode
       && this.val$jsonResponse == null) {
     JsonHttpResponseHandler.this.onFailure(
         C04822.this.val$statusCode, C04822.this.val$headers, null, C04822.this.val$throwable);
   } else if (this.val$jsonResponse instanceof JSONObject) {
     JsonHttpResponseHandler.onFailure$6af5acc(C04822.this.val$throwable);
   } else if (this.val$jsonResponse instanceof JSONArray) {
     AsyncHttpClient.log.m21w(
         "JsonHttpRH",
         "onFailure(int, Header[], Throwable, JSONArray) was not overriden, but callback was received",
         C04822.this.val$throwable);
   } else if (this.val$jsonResponse instanceof String) {
     JsonHttpResponseHandler.this.onFailure(
         C04822.this.val$statusCode,
         C04822.this.val$headers,
         (String) this.val$jsonResponse,
         C04822.this.val$throwable);
   } else {
     JsonHttpResponseHandler.onFailure$6af5acc(
         new JSONException(
             "Unexpected response type " + this.val$jsonResponse.getClass().getName()));
   }
 }
 public final void onFailure(
     int statusCode, Header[] headers, byte[] responseBytes, Throwable throwable) {
   if (responseBytes != null) {
     Runnable parser = new C04822(responseBytes, statusCode, headers, throwable);
     if (this.useSynchronousMode || this.usePoolThread) {
       parser.run();
       return;
     } else {
       new Thread(parser).start();
       return;
     }
   }
   AsyncHttpClient.log.m19v(
       "JsonHttpRH", "response body is null, calling onFailure(Throwable, JSONObject)");
   onFailure$6af5acc(throwable);
 }
 public final void run() {
   JsonHttpResponseHandler.onFailure$6af5acc(this.val$ex);
 }