public abstract class UrlStreams extends Object
| Constructor and Description |
|---|
UrlStreams() |
| Modifier and Type | Method and Description |
|---|---|
static DownloadToPath |
asDownloadToPath() |
static void |
downloadTo(URLConnection connection,
Path destination,
DownloadToPath.DownloadCopyListener copyListener) |
static URLConnection |
urlConnectionOf(URL url,
String userAgent,
TimeoutConfig timeoutConfig,
Optional<Proxy> proxy) |
public static DownloadToPath asDownloadToPath()
public static void downloadTo(URLConnection connection, Path destination, DownloadToPath.DownloadCopyListener copyListener) throws IOException
IOExceptionpublic static URLConnection urlConnectionOf(URL url, String userAgent, TimeoutConfig timeoutConfig, Optional<Proxy> proxy) throws IOException
IOExceptionCopyright © 2025. All rights reserved.