Class 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 Detail

      • JdkHttpClientFactory

        public JdkHttpClientFactory()
    • Method Detail

      • newBuilder

        public io.fabric8.kubernetes.client.jdkhttp.JdkHttpClientBuilderImpl newBuilder()
        Specified by:
        newBuilder in interface io.fabric8.kubernetes.client.http.HttpClient.Factory
      • additionalConfig

        protected void additionalConfig​(HttpClient.Builder builder)
        Additional configuration to be applied to the builder after the Config has been processed.
        Parameters:
        builder -
      • createNewHttpClientBuilder

        protected HttpClient.Builder createNewHttpClientBuilder()
        Create a new builder. This can be overridden to modify the builder prior to the Config being processed.
        Returns:
        the builder
      • closeHttpClient

        protected void closeHttpClient​(JdkHttpClientImpl jdkHttpClientImpl)
        Cleanup hook called by HttpClient.close()
        Parameters:
        jdkHttpClientImpl -