Class JdkHttpClientFactory

    • Constructor Detail

      • JdkHttpClientFactory

        public JdkHttpClientFactory()
    • Method Detail

      • newBuilder

        public io.fabric8.kubernetes.client.jdkhttp.JdkHttpClientBuilderImpl newBuilder()
        Specified by:
        newBuilder in interface 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
      • useExpectContinue

        protected boolean useExpectContinue()
        Due to go/kubernetes bug https://github.com/golang/go/issues/57824 expect continue is not supported for jdk. Override this method if you are using a kubernetes version with the fix and require this support (currently only used for submitting openshift builds)
        Returns: