Class HTTPUtils
java.lang.Object
org.geysermc.mcprotocollib.auth.util.HTTPUtils
Utilities for making HTTP requests.
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.lenni0451.commons.httpclient.HttpClientcreateHttpClient(@Nullable ProxyInfo proxy) static <T> @Nullable TmakeRequest(@Nullable ProxyInfo proxy, URI uri, @Nullable Object input, @Nullable Class<T> responseType)
-
Method Details
-
makeRequest
public static <T> @Nullable T makeRequest(@Nullable ProxyInfo proxy, URI uri, @Nullable Object input, @Nullable Class<T> responseType) throws IOException - Throws:
IOException
-
createHttpClient
public static net.lenni0451.commons.httpclient.HttpClient createHttpClient(@Nullable ProxyInfo proxy)
-