@Configuration @ConditionalOnClass(value=io.searchbox.client.JestClient.class) @EnableConfigurationProperties(value=JestProperties.class) @AutoConfigureAfter(value=GsonAutoConfiguration.class) public class JestAutoConfiguration extends Object
Auto-configuration
for Jest.Constructor and Description |
---|
JestAutoConfiguration(JestProperties properties,
org.springframework.beans.factory.ObjectProvider<com.google.gson.Gson> gson,
org.springframework.beans.factory.ObjectProvider<HttpClientConfigBuilderCustomizer> builderCustomizers) |
Modifier and Type | Method and Description |
---|---|
protected io.searchbox.client.config.HttpClientConfig |
createHttpClientConfig() |
io.searchbox.client.JestClient |
jestClient() |
public JestAutoConfiguration(JestProperties properties, org.springframework.beans.factory.ObjectProvider<com.google.gson.Gson> gson, org.springframework.beans.factory.ObjectProvider<HttpClientConfigBuilderCustomizer> builderCustomizers)
@Bean(destroyMethod="shutdownClient") @ConditionalOnMissingBean public io.searchbox.client.JestClient jestClient()
protected io.searchbox.client.config.HttpClientConfig createHttpClientConfig()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.