Interface HttpClient.HttpClientFactory

    • Method Detail

      • create

        HttpClient create​(URL url,
                          String requestMethod)
        Creates a new instance for the given URL and a GET request
        Parameters:
        url - the URL
        requestMethod - the HTTP request method to perform when calling
        Returns:
        a new instance