Class JdkHttpClientFactory
- java.lang.Object
-
- io.fabric8.kubernetes.client.jdkhttp.JdkHttpClientFactory
-
- All Implemented Interfaces:
io.fabric8.kubernetes.client.http.HttpClient.Factory
public class JdkHttpClientFactory extends Object implements io.fabric8.kubernetes.client.http.HttpClient.Factory
-
-
Constructor Summary
Constructors Constructor Description JdkHttpClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadditionalConfig(HttpClient.Builder builder)Additional configuration to be applied to the builder after theConfighas been processed.protected voidcloseHttpClient(JdkHttpClientImpl jdkHttpClientImpl)Cleanup hook called byHttpClient.close()protected HttpClient.BuildercreateNewHttpClientBuilder()Create a new builder.io.fabric8.kubernetes.client.jdkhttp.JdkHttpClientBuilderImplnewBuilder()
-
-
-
Method Detail
-
newBuilder
public io.fabric8.kubernetes.client.jdkhttp.JdkHttpClientBuilderImpl newBuilder()
- Specified by:
newBuilderin interfaceio.fabric8.kubernetes.client.http.HttpClient.Factory
-
additionalConfig
protected void additionalConfig(HttpClient.Builder builder)
Additional configuration to be applied to the builder after theConfighas been processed.- Parameters:
builder-
-
createNewHttpClientBuilder
protected HttpClient.Builder createNewHttpClientBuilder()
Create a new builder. This can be overridden to modify the builder prior to theConfigbeing processed.- Returns:
- the builder
-
closeHttpClient
protected void closeHttpClient(JdkHttpClientImpl jdkHttpClientImpl)
Cleanup hook called byHttpClient.close()- Parameters:
jdkHttpClientImpl-
-
-