public static Map<String, List<String>> getResponseHeaders(String stringUrl) throws IOException {
    return getResponseHeaders(stringUrl, true);
  }
public static Map < String , List < String > > getResponseHeaders ( String stringUrl ) throws IOException { return getResponseHeaders ( stringUrl , true ) ; }
Get the response headers for URL

@param stringUrl URL to use
@return headers HTTP Headers
@throws IOException I/O error happened