Package net.minecraft.util
Class HTTPUtil
- java.lang.Object
-
- net.minecraft.util.HTTPUtil
-
public class HTTPUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.util.concurrent.ListeningExecutorService
DOWNLOAD_EXECUTOR
private static org.apache.logging.log4j.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description HTTPUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.concurrent.CompletableFuture<?>
downloadTo(java.io.File p_180192_0_, java.lang.String p_180192_1_, java.util.Map<java.lang.String,java.lang.String> p_180192_2_, int p_180192_3_, IProgressUpdate p_180192_4_, java.net.Proxy p_180192_5_)
static int
getAvailablePort()
-
-
-
Method Detail
-
downloadTo
public static java.util.concurrent.CompletableFuture<?> downloadTo(java.io.File p_180192_0_, java.lang.String p_180192_1_, java.util.Map<java.lang.String,java.lang.String> p_180192_2_, int p_180192_3_, @Nullable IProgressUpdate p_180192_4_, java.net.Proxy p_180192_5_)
-
getAvailablePort
public static int getAvailablePort()
-
-