code: private HttpResponse.Body asEntity(HttpURLConnection connection) {
  //        BasicHttpEntity entity = new BasicHttpEntity();
          InputStream in;
          try {
              in = connection.getInputStream();
          } catch (IOException e) {
              in = connection.getErrorStream();
          }
          UrlConnectionBody body = new UrlConnectionBody(connection);
          return body;
      }
docs: -------------------------- OTHER METHODS --------------------------