code: protected void executeRequest(OkHttpClient httpClient, Request request) {
          Object fullBody = null;
          Throwable error = null;
          Response response = null;
          try {
              try {
                  Log.v(TAG, "%s: RemoteRequest calling httpClient.execute, url: %s", this, url);
                  call = httpClient.newCall(request);
                  response = call.execute();
                  Log.v(TAG, "%s: RemoteRequest called httpClient.execute, url: %s", this, url);
                  storeCookie(response);
                  // error
                  if (response.code() >= 300) {
                      if (!dontLog404)
                          Log.w(TAG, "%s: Got error status: %d for %s. Reason: %s",
                                  this, response.code(), url, response.message());
                      String authHeader = response.header("WWW-Authenticate");
                      Map<String, String> challenge = parseAuthHeader(authHeader);
                      Map<String, Object> extra = null;
                      if (challenge != null) {
                          extra = new HashMap();
                          extra.put("AuthChallenge", challenge);
                      }
                      error = new RemoteRequestResponseException(response.code(), response.message(), extra);
                      RequestUtils.closeResponseBody(response);
                  }
                  // success
                  else {
                      InputStream stream = response.body().byteStream();
                      try {
                          // decompress if contentEncoding is gzip
                          if (Utils.isGzip(response))
                              stream = new GZIPInputStream(stream);
                          fullBody = Manager.getObjectMapper().readValue(stream, Object.class);
                      } finally {
                          try {
                              stream.close();
                          } catch (IOException e) {
                          }
                      }
                  }
              } catch (Exception e) {
                  // call.execute(), GZIPInputStream, or ObjectMapper.readValue()
                  Log.w(TAG, "%s: executeRequest() Exception: %s.  url: %s", e, this, e, url);
                  error = e;
              }
              respondWithResult(fullBody, error, response);
          } finally {
              RequestUtils.closeResponseBody(response);
          }
      }
docs: Execute request