Class HttpUtil

java.lang.Object
net.minecraft.util.HttpUtil

public class HttpUtil extends Object
  • 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()
    • isPortAvailable

      public static boolean isPortAvailable(int p_259872_)