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 String
buildQuery
(Map<String, Object> p_144817_) static CompletableFuture<?>
downloadTo
(File p_13948_, String p_13949_, Map<String, String> p_13950_, int p_13951_, ProgressListener p_13952_, Proxy p_13953_) static int
private static String
performPost
(URL p_144807_, String p_144808_, boolean p_144809_, Proxy p_144810_) static String
-
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
-
buildQuery
-
performPost
-
performPost
-
downloadTo
public static CompletableFuture<?> downloadTo(File p_13948_, String p_13949_, Map<String, String> p_13950_, int p_13951_, @Nullable ProgressListener p_13952_, Proxy p_13953_) -
getAvailablePort
public static int getAvailablePort()
-