code: public HttpInputStream get(String locator,
                                 boolean failIfNotOK,
                                 boolean followRedirects) throws IOException {
  
          // Convert the locator to a proper Fedora URL and the do a get.
          String url = getLocatorAsURL(locator);
          return get(new URL(url), failIfNotOK, followRedirects);
      }
docs: Get an HTTP resource with the response as an InputStream, given a
  resource locator that either begins with 'info:fedora/' , 'http://', or
  '/'. Note that if the HTTP response has no body, the InputStream will be
  empty. The success of a request can be checked with getResponseCode().
  Usually you'll want to see a 200. See
  http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for other codes.
  
  @param locator
  A URL, relative Fedora URL, or Fedora URI that we want to do an
  HTTP GET upon
  @param failIfNotOK
  boolean value indicating if an exception should be thrown if we do
  NOT receive an HTTP 200 response (OK)
  @param followRedirects
  boolean value indicating whether HTTP redirects should be handled
  in this method, or be passed along so that they can be handled
  later.
  @return HttpInputStream the HTTP response
  @throws IOException