net.minecraft.util

public class HttpUtil

auf
net.minecraft.util.HttpUtil
net.minecraft.class_3521
net.minecraft.util.NetworkUtils
net.minecraft.src.C_182_
net.minecraft.util.HttpUtilities

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_15665
LOGGER
f_13937_

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public static Path
a(Path arg0, URL arg1, Map<String, String> arg2, com.google.common.hash.HashFunction arg3, com.google.common.hash.HashCode arg4, int arg5, Proxy arg6, auf$a arg7)
downloadFile(Path arg0, URL arg1, Map<String, String> arg2, com.google.common.hash.HashFunction arg3, com.google.common.hash.HashCode arg4, int arg5, Proxy arg6, HttpUtil$DownloadProgressListener arg7)
method_55496(Path arg0, URL arg1, Map<String, String> arg2, com.google.common.hash.HashFunction arg3, com.google.common.hash.HashCode arg4, int arg5, Proxy arg6, class_3521$class_9034 arg7)
download(Path path, URL url, Map<String, String> headers, com.google.common.hash.HashFunction hashFunction, com.google.common.hash.HashCode hashCode, int maxBytes, Proxy proxy, NetworkUtils$DownloadListener listener)
m_305661_(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_, C_182_$C_302113_ p_310347_)
private static void
a(Path arg0)
updateModificationTime(Path arg0)
method_55603(Path arg0)
updateModificationTime(Path path)
m_305114_(Path p_311353_)
private static com.google.common.hash.HashCode
a(Path arg0, com.google.common.hash.HashFunction arg1)
hashFile(Path arg0, com.google.common.hash.HashFunction arg1)
method_55494(Path arg0, com.google.common.hash.HashFunction arg1)
hash(Path path, com.google.common.hash.HashFunction hashFunction)
m_307527_(Path p_310985_, com.google.common.hash.HashFunction p_312320_)
private static boolean
a(Path arg0, com.google.common.hash.HashFunction arg1, com.google.common.hash.HashCode arg2)
checkExistingFile(Path arg0, com.google.common.hash.HashFunction arg1, com.google.common.hash.HashCode arg2)
method_55495(Path arg0, com.google.common.hash.HashFunction arg1, com.google.common.hash.HashCode arg2)
validateHash(Path path, com.google.common.hash.HashFunction hashFunction, com.google.common.hash.HashCode hashCode)
m_306783_(Path p_309713_, com.google.common.hash.HashFunction p_311423_, com.google.common.hash.HashCode p_312149_)
private static Path
a(Path arg0, com.google.common.hash.HashCode arg1)
cachedFilePath(Path arg0, com.google.common.hash.HashCode arg1)
method_55493(Path arg0, com.google.common.hash.HashCode arg1)
resolve(Path path, com.google.common.hash.HashCode hashCode)
m_306073_(Path p_310769_, com.google.common.hash.HashCode p_311855_)
private static com.google.common.hash.HashCode
a(com.google.common.hash.HashFunction arg0, int arg1, auf$a arg2, InputStream arg3, Path arg4)
downloadAndHash(com.google.common.hash.HashFunction arg0, int arg1, HttpUtil$DownloadProgressListener arg2, InputStream arg3, Path arg4)
method_55492(com.google.common.hash.HashFunction arg0, int arg1, class_3521$class_9034 arg2, InputStream arg3, Path arg4)
write(com.google.common.hash.HashFunction hashFunction, int maxBytes, NetworkUtils$DownloadListener listener, InputStream stream, Path path)
m_306496_(com.google.common.hash.HashFunction p_312168_, int p_311506_, C_182_$C_302113_ p_311732_, InputStream p_312120_, Path p_310124_)
public static int
a()
getAvailablePort()
method_15302()
findLocalPort()
m_13939_()
public static boolean
a(int arg0)
isPortAvailable(int arg0)
method_46872(int arg0)
isPortAvailable(int port)
m_257796_(int p_259872_)