@Test @DisplayName("Download a small file into memory") void download_1() throws IOException { byte[] file = download("https: assertNotNull(file); assertTrue(file.length > 0); }
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);  }