public class WinHttpClients extends Object
CloseableHttpClient
instances configured to use integrated
Windows authentication by default.Modifier and Type | Method and Description |
---|---|
static CloseableHttpClient |
createDefault()
Creates
CloseableHttpClient instance with default
configuration. |
static CloseableHttpClient |
createSystem()
Creates
CloseableHttpClient instance with default
configuration based on system properties. |
static HttpClientBuilder |
custom()
Creates builder object for construction of custom
CloseableHttpClient instances. |
static boolean |
isWinAuthAvailable() |
public static boolean isWinAuthAvailable()
public static HttpClientBuilder custom()
CloseableHttpClient
instances.public static CloseableHttpClient createDefault()
CloseableHttpClient
instance with default
configuration.public static CloseableHttpClient createSystem()
CloseableHttpClient
instance with default
configuration based on system properties.Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.