@Test @DisplayName("Try to download a file that is too big for this method") void download_3() throws IOException { assertThrows(IllegalArgumentException.class, () -> download("http: }
public static byte[] download(String url) throws IOException { return download(new URL(url)); }
NetUtil { public static byte[] download(String url) throws IOException { return download(new URL(url)); } }
NetUtil { public static byte[] download(String url) throws IOException { return download(new URL(url)); } private  NetUtil(); }
NetUtil { public static byte[] download(String url) throws IOException { return download(new URL(url)); } private  NetUtil(); static boolean checkPort(String host, int port); static byte[] download(String url); static void download(String url, File file); static byte[] download(URL url); static void download(URL url, File file); static Optional<String> serviceName(int port); }
NetUtil { public static byte[] download(String url) throws IOException { return download(new URL(url)); } private  NetUtil(); static boolean checkPort(String host, int port); static byte[] download(String url); static void download(String url, File file); static byte[] download(URL url); static void download(URL url, File file); static Optional<String> serviceName(int port);  }