Package net.minecraft.util
Class HttpUtil
java.lang.Object
net.minecraft.util.HttpUtil
- 
Nested Class Summary
Nested Classes - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
LOGGER
private static final org.slf4j.Logger LOGGER 
 - 
 - 
Constructor Details
- 
HttpUtil
private HttpUtil() 
 - 
 - 
Method Details
- 
downloadFile
 - 
updateModificationTime
 - 
hashFile
private static com.google.common.hash.HashCode hashFile(Path p_314478_, com.google.common.hash.HashFunction p_314630_) throws IOException - Throws:
 IOException
 - 
checkExistingFile
private 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
 - 
downloadAndHash
private 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
 - 
getAvailablePort
public static int getAvailablePort() - 
isPortAvailable
public static boolean isPortAvailable(int p_259872_)  
 -