Class HttpClientUtils
- java.lang.Object
-
- io.fabric8.kubernetes.client.utils.HttpClientUtils
-
public class HttpClientUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
applyCommonConfiguration(Config config, HttpClient.Builder builder, HttpClient.Factory factory)
static String
basicCredentials(String usernameAndPassword)
static String
basicCredentials(String username, String password)
static Map<String,Interceptor>
createApplicableInterceptors(Config config, HttpClient.Factory factory)
static HttpClient
createHttpClient(Config config)
Deprecated.you should not need to call this method directly.static String[]
decodeBasicCredentials(String basicCredentials)
static HttpClient.Factory
getHttpClientFactory()
-
-
-
Method Detail
-
createApplicableInterceptors
public static Map<String,Interceptor> createApplicableInterceptors(Config config, HttpClient.Factory factory)
-
createHttpClient
@Deprecated public static HttpClient createHttpClient(Config config)
Deprecated.you should not need to call this method directly. Please create your own HttpClient.Factory should you need to customize your clients.
-
getHttpClientFactory
public static HttpClient.Factory getHttpClientFactory()
-
applyCommonConfiguration
public static void applyCommonConfiguration(Config config, HttpClient.Builder builder, HttpClient.Factory factory)
-
-