Class AdvancedElasticRestClientCreator

    • Constructor Detail

      • AdvancedElasticRestClientCreator

        public AdvancedElasticRestClientCreator()
    • Method Detail

      • configure

        public org.elasticsearch.client.RestClientBuilder configure​(org.elasticsearch.client.RestClientBuilder builder)
      • withRequestInterceptors

        public AdvancedElasticRestClientCreator withRequestInterceptors​(java.util.List<com.adaptris.core.http.apache.request.RequestInterceptorBuilder> list)
      • withRequestInterceptors

        public AdvancedElasticRestClientCreator withRequestInterceptors​(com.adaptris.core.http.apache.request.RequestInterceptorBuilder... list)
      • getRequestInterceptors

        @NonNull
        public @NonNull java.util.List<com.adaptris.core.http.apache.request.RequestInterceptorBuilder> getRequestInterceptors()
        A list of request interceptors that will be used to configure the rest client.

        This is the list of interceptors used to customize the underlying apache CloseableHttpClient instance used by a RestClient instance.

      • setRequestInterceptors

        public void setRequestInterceptors​(@NonNull
                                           @NonNull java.util.List<com.adaptris.core.http.apache.request.RequestInterceptorBuilder> requestInterceptors)
        A list of request interceptors that will be used to configure the rest client.

        This is the list of interceptors used to customize the underlying apache CloseableHttpClient instance used by a RestClient instance.