Class AdvancedElasticRestClientCreator

    • Constructor Detail

      • AdvancedElasticRestClientCreator

        public AdvancedElasticRestClientCreator()
    • Method Detail

      • configure

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

        @Deprecated(since="4.5.0")
        public AdvancedElasticRestClientCreator withRequestInterceptors​(java.util.List<com.adaptris.core.http.apache.request.RequestInterceptorBuilder> list)
        Deprecated.
      • withRequestInterceptors

        @Deprecated(since="4.5.0")
        public AdvancedElasticRestClientCreator withRequestInterceptors​(com.adaptris.core.http.apache.request.RequestInterceptorBuilder... list)
        Deprecated.
      • withAsyncClientBuilderConfig

        public AdvancedElasticRestClientCreator withAsyncClientBuilderConfig​(interlok.http.apache.async.HttpAsyncClientBuilderConfig cfg)
      • getRequestInterceptors

        @Deprecated
        public java.util.List<com.adaptris.core.http.apache.request.RequestInterceptorBuilder> getRequestInterceptors()
        Deprecated.
        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

        @Deprecated
        public void setRequestInterceptors​(java.util.List<com.adaptris.core.http.apache.request.RequestInterceptorBuilder> requestInterceptors)
        Deprecated.
        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.

      • getAsyncHttpClientConfig

        public interlok.http.apache.async.HttpAsyncClientBuilderConfig getAsyncHttpClientConfig()
        Additional configuration required for the underlying REST client.

        This is used to customise the underlying apache CloseableHttpClient instance used by a RestClient instance.

      • setAsyncHttpClientConfig

        public void setAsyncHttpClientConfig​(interlok.http.apache.async.HttpAsyncClientBuilderConfig asyncHttpClientConfig)
        Additional configuration required for the underlying REST client.

        This is used to customise the underlying apache CloseableHttpClient instance used by a RestClient instance.