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
Nested Classes Modifier and Type Class Description static classConfigServerBootstrapper.LoadContextstatic interfaceConfigServerBootstrapper.LoaderInterceptorstatic interfaceConfigServerBootstrapper.LoaderInvocation
-
Constructor Summary
Constructors Constructor Description ConfigServerBootstrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(org.springframework.boot.BootstrapRegistry registry)ConfigServerBootstrapperwithLoaderInterceptor(ConfigServerBootstrapper.LoaderInterceptor loaderInterceptor)ConfigServerBootstrapperwithRestTemplateFactory(Function<org.springframework.boot.BootstrapContext,org.springframework.web.client.RestTemplate> restTemplateFactory)
-
-
-
Method Detail
-
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:
initializein interfaceorg.springframework.boot.BootstrapRegistryInitializer
-
-