Package io.micronaut.elasticsearch
Class DefaultHttpAsyncClientBuilderFactory
- java.lang.Object
-
- io.micronaut.elasticsearch.DefaultHttpAsyncClientBuilderFactory
-
@Requires(classes=org.elasticsearch.client.RestHighLevelClient.class) @Factory public class DefaultHttpAsyncClientBuilderFactory extends java.lang.ObjectThe default factory used to createHttpAsyncClientBuilderfor HTTP client configurations.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpAsyncClientBuilderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.impl.nio.client.HttpAsyncClientBuilderhttpAsyncClientBuilder()The http client configuration (e.g.
-
-
-
Method Detail
-
httpAsyncClientBuilder
@Bean @Singleton protected org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder()
The http client configuration (e.g. encrypted communication over ssl, or anything that theHttpAsyncClientBuilderallows to set).- Returns:
- The
HttpAsyncClientBuilderbean with default configurations.
-
-