@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,
ObjectProvider<com.google.gson.Gson> gson,
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, ObjectProvider<com.google.gson.Gson> gson, ObjectProvider<List<HttpClientConfigBuilderCustomizer>> builderCustomizers)
@Bean(destroyMethod="shutdownClient") @ConditionalOnMissingBean public io.searchbox.client.JestClient jestClient()
protected io.searchbox.client.config.HttpClientConfig createHttpClientConfig()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.