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 voidapplyCommonConfiguration(Config config, HttpClient.Builder builder, HttpClient.Factory factory)static StringbasicCredentials(String usernameAndPassword)static StringbasicCredentials(String username, String password)static Map<String,Interceptor>createApplicableInterceptors(Config config, HttpClient.Factory factory)static HttpClientcreateHttpClient(Config config)Deprecated.you should not need to call this method directly.static String[]decodeBasicCredentials(String basicCredentials)static HttpClient.FactorygetHttpClientFactory()
-
-
-
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)
-
-