code: public static byte[] getContentFromUrl(String url, Map inCookies, Map outCookies, boolean allowAllCerts)
      {
          try {
              return getContentFromUrl(getActualUrl(url),inCookies, outCookies, allowAllCerts);
          } catch (Exception e) {
              LOG.warn("Exception occurred fetching content from url: " + url, e);
              return null;
          }
      }
docs: /*
  Get content from the passed in URL.  This code will open a connection to
  the passed in server, fetch the requested content, and return it as a
  byte[].
  
  @param url URL to hit
  @param inCookies Map of session cookies (or null if not needed)
  @param outCookies Map of session cookies (or null if not needed)
  @param ignoreSec if true, SSL connection will always be trusted.
  @return byte[] of content fetched from URL.