Package net.minecraft.util
Class HttpUtil
java.lang.Object
net.minecraft.util.HttpUtil
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.google.common.util.concurrent.ListeningExecutorService
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<?>
downloadTo
(File p_216226_, URL p_216227_, Map<String, String> p_216228_, int p_216229_, ProgressListener p_216230_, Proxy p_216231_) static int
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DOWNLOAD_EXECUTOR
public static final com.google.common.util.concurrent.ListeningExecutorService DOWNLOAD_EXECUTOR
-
-
Constructor Details
-
HttpUtil
private HttpUtil()
-
-
Method Details
-
downloadTo
public static CompletableFuture<?> downloadTo(File p_216226_, URL p_216227_, Map<String, String> p_216228_, int p_216229_, @Nullable ProgressListener p_216230_, Proxy p_216231_) -
getAvailablePort
public static int getAvailablePort()
-