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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
static interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(org.springframework.boot.BootstrapRegistry registry) withLoaderInterceptor
(ConfigServerBootstrapper.LoaderInterceptor loaderInterceptor) withRestTemplateFactory
(Function<org.springframework.boot.BootstrapContext, org.springframework.web.client.RestTemplate> restTemplateFactory)
-
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 interfaceorg.springframework.boot.BootstrapRegistryInitializer
-