Package net.fabricmc.loom.util.download
Class DownloadBuilder
java.lang.Object
net.fabricmc.loom.util.download.DownloadBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondownloadPath(Path path) downloadPathAsync(Path path, DownloadExecutor executor) downloadString(Path cache) etag(boolean useEtag) httpVersion(HttpClient.Version httpVersion) maxRetries(int maxRetries) offline()progress(DownloadProgressListener progressListener)
-
Method Details
-
sha1
-
etag
-
forceDownload
-
offline
-
maxAge
-
progress
-
maxRetries
-
defaultCache
-
allowInsecureProtocol
-
httpVersion
-
downloadPathAsync
-
downloadPath
- Throws:
DownloadException
-
downloadString
- Throws:
DownloadException
-
downloadString
- Throws:
DownloadException
-