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> TmakeRequest(@Nullable ProxyInfo proxy, URI uri, Object input, Class<T> responseType)
-
Method Details
-
makeRequest
public static <T> T makeRequest(@Nullable ProxyInfo proxy, URI uri, Object input, Class<T> responseType) throws IOException - Throws:
IOException
-
createHttpClient
public static net.lenni0451.commons.httpclient.HttpClient createHttpClient(@Nullable ProxyInfo proxy)
-