Class ConfigServerBootstrapper

java.lang.Object
org.springframework.cloud.config.client.ConfigServerBootstrapper
All Implemented Interfaces:
org.springframework.boot.BootstrapRegistryInitializer

public class ConfigServerBootstrapper extends Object implements org.springframework.boot.BootstrapRegistryInitializer
  • Constructor Details

    • ConfigServerBootstrapper

      public ConfigServerBootstrapper()
  • Method Details

    • withRestTemplateFactory

      public ConfigServerBootstrapper withRestTemplateFactory(Function<org.springframework.boot.BootstrapContext,org.springframework.web.client.RestTemplate> restTemplateFactory)
    • withLoaderInterceptor

      public ConfigServerBootstrapper withLoaderInterceptor(ConfigServerBootstrapper.LoaderInterceptor loaderInterceptor)
    • initialize

      public void initialize(org.springframework.boot.BootstrapRegistry registry)
      Specified by:
      initialize in interface org.springframework.boot.BootstrapRegistryInitializer