类 HttpUtil
java.lang.Object
net.minecraft.util.HttpUtil
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static Path
cachedFilePath
(Path p_310769_, com.google.common.hash.HashCode p_311855_) private static boolean
checkExistingFile
(Path p_309713_, com.google.common.hash.HashFunction p_311423_, com.google.common.hash.HashCode p_312149_) private static com.google.common.hash.HashCode
downloadAndHash
(com.google.common.hash.HashFunction p_312168_, int p_311506_, HttpUtil.DownloadProgressListener p_311732_, InputStream p_312120_, Path p_310124_) static Path
downloadFile
(Path p_312337_, URL p_309490_, Map<String, String> p_311545_, com.google.common.hash.HashFunction p_312368_, com.google.common.hash.HashCode p_309569_, int p_312993_, Proxy p_311636_, HttpUtil.DownloadProgressListener p_310347_) static int
private static com.google.common.hash.HashCode
static boolean
isPortAvailable
(int p_259872_) private static void
updateModificationTime
(Path p_311353_)
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
构造器详细资料
-
HttpUtil
private HttpUtil()
-
-
方法详细资料
-
downloadFile
-
updateModificationTime
-
hashFile
private static com.google.common.hash.HashCode hashFile(Path p_310985_, com.google.common.hash.HashFunction p_312320_) throws IOException - 抛出:
IOException
-
checkExistingFile
private static boolean checkExistingFile(Path p_309713_, com.google.common.hash.HashFunction p_311423_, com.google.common.hash.HashCode p_312149_) throws IOException - 抛出:
IOException
-
cachedFilePath
-
downloadAndHash
private static com.google.common.hash.HashCode downloadAndHash(com.google.common.hash.HashFunction p_312168_, int p_311506_, HttpUtil.DownloadProgressListener p_311732_, InputStream p_312120_, Path p_310124_) throws IOException - 抛出:
IOException
-
getAvailablePort
public static int getAvailablePort() -
isPortAvailable
public static boolean isPortAvailable(int p_259872_)
-