@Configuration @ConditionalOnClass(value=io.searchbox.client.JestClient.class) @EnableConfigurationProperties(value=JestProperties.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<List<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<List<HttpClientConfigBuilderCustomizer>> builderCustomizers)
@Bean(destroyMethod="shutdownClient") @ConditionalOnMissingBean public io.searchbox.client.JestClient jestClient()
protected io.searchbox.client.config.HttpClientConfig createHttpClientConfig()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.