@Requires(classes=org.elasticsearch.client.RestHighLevelClient.class)
@Factory
public class DefaultHttpAsyncClientBuilderFactory
extends java.lang.Object
HttpAsyncClientBuilder for HTTP client configurations.| Constructor and Description |
|---|
DefaultHttpAsyncClientBuilderFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.impl.nio.client.HttpAsyncClientBuilder |
httpAsyncClientBuilder()
The http client configuration (e.g.
|
public DefaultHttpAsyncClientBuilderFactory()
@Bean @Singleton protected org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder()
HttpAsyncClientBuilder allows to set).HttpAsyncClientBuilder bean with default configurations.