code: public static SwiftInputStreamWrapper getObject(
            final Path path,
            final JossAccount account,
            final long bytesFrom,
            final long bytesTo,
            final SwiftConnectionManager scm) throws IOException {
      Tuple<Integer, Tuple<HttpRequestBase, HttpResponse>> resp = httpGET(
              path.toString(),
              bytesFrom,
              bytesTo,
              account,
              scm);
      if (resp.x.intValue() >= 400) {
        LOG.warn("Re-authentication attempt for GET {}", path.toString());
        account.authenticate();
        resp = httpGET(path.toString(), bytesFrom, bytesTo, account, scm);
      }
  
      final SwiftInputStreamWrapper httpStream = new SwiftInputStreamWrapper(
          resp.y.y.getEntity(), resp.y.x
      );
      return httpStream;
    }
docs: GET object
  
  @param path path to the object
  @param account Joss Account wrapper object
  @param bytesFrom from from
  @param bytesTo bytes to
  @param scm Swift Connection manager
  @return SwiftInputStreamWrapper that includes input stream and length
  @throws IOException if network errors