Class HTTPUtils

java.lang.Object
org.geysermc.mcprotocollib.auth.util.HTTPUtils

public class HTTPUtils extends Object
Utilities for making HTTP requests.
  • 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)