Class DefaultHttpAsyncClientBuilderFactory


  • @Requires(classes=org.elasticsearch.client.RestHighLevelClient.class)
    @Factory
    public class DefaultHttpAsyncClientBuilderFactory
    extends java.lang.Object
    The default factory used to create HttpAsyncClientBuilder for HTTP client configurations.
    Since:
    1.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder()
      The http client configuration (e.g.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultHttpAsyncClientBuilderFactory

        public DefaultHttpAsyncClientBuilderFactory()
    • 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 the HttpAsyncClientBuilder allows to set).
        Returns:
        The HttpAsyncClientBuilder bean with default configurations.