Package net.minecraft.util
Class HttpUtil
java.lang.Object
net.minecraft.util.HttpUtil
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static PathcachedFilePath(Path p_314479_, com.google.common.hash.HashCode p_314627_) private static booleancheckExistingFile(Path p_314420_, com.google.common.hash.HashFunction p_314503_, com.google.common.hash.HashCode p_314584_) private static com.google.common.hash.HashCodedownloadAndHash(com.google.common.hash.HashFunction p_314429_, int p_314497_, HttpUtil.DownloadProgressListener p_314419_, InputStream p_314557_, Path p_314618_) static PathdownloadFile(Path p_314509_, URL p_314583_, Map<String, String> p_314414_, com.google.common.hash.HashFunction p_314462_, com.google.common.hash.HashCode p_314495_, int p_314514_, Proxy p_314631_, HttpUtil.DownloadProgressListener p_314610_) static intprivate static com.google.common.hash.HashCodestatic booleanisPortAvailable(int p_259872_) private static voidupdateModificationTime(Path p_314996_) 
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
 
- 
- 
Constructor Details- 
HttpUtilprivate HttpUtil()
 
- 
- 
Method Details- 
downloadFile
- 
updateModificationTime
- 
hashFileprivate static com.google.common.hash.HashCode hashFile(Path p_314478_, com.google.common.hash.HashFunction p_314630_) throws IOException - Throws:
- IOException
 
- 
checkExistingFileprivate static boolean checkExistingFile(Path p_314420_, com.google.common.hash.HashFunction p_314503_, com.google.common.hash.HashCode p_314584_) throws IOException - Throws:
- IOException
 
- 
cachedFilePath
- 
downloadAndHashprivate static com.google.common.hash.HashCode downloadAndHash(com.google.common.hash.HashFunction p_314429_, int p_314497_, HttpUtil.DownloadProgressListener p_314419_, InputStream p_314557_, Path p_314618_) throws IOException - Throws:
- IOException
 
- 
getAvailablePortpublic static int getAvailablePort()
- 
isPortAvailablepublic static boolean isPortAvailable(int p_259872_) 
 
-