Interface HttpClient.Factory

  • Enclosing interface:
    HttpClient

    public static interface HttpClient.Factory
    • Method Detail

      • createDefault

        static HttpClient.Factory createDefault()
        Use the webdriver.http.factory system property to determine which implementation of HttpClient should be used.
      • createClient

        default HttpClient createClient​(java.net.URL url)
        Creates a HTTP client that will send requests to the given URL.
        Parameters:
        url - URL The base URL for requests.
      • cleanupIdleClients

        default void cleanupIdleClients()
        Closes idle clients.