Package com.adaptris.core.elastic.rest
Class AdvancedElasticRestClientCreator
- java.lang.Object
-
- com.adaptris.core.elastic.rest.ElasticRestClientCreator
-
- com.adaptris.core.elastic.rest.AdvancedElasticRestClientCreator
-
- All Implemented Interfaces:
ElasticClientCreator
public class AdvancedElasticRestClientCreator extends ElasticRestClientCreator
-
-
Constructor Summary
Constructors Constructor Description AdvancedElasticRestClientCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.client.RestClientBuilder
configure(org.elasticsearch.client.RestClientBuilder builder)
@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.void
setRequestInterceptors(@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.AdvancedElasticRestClientCreator
withRequestInterceptors(com.adaptris.core.http.apache.request.RequestInterceptorBuilder... list)
AdvancedElasticRestClientCreator
withRequestInterceptors(java.util.List<com.adaptris.core.http.apache.request.RequestInterceptorBuilder> list)
-
Methods inherited from class com.adaptris.core.elastic.rest.ElasticRestClientCreator
createTransportClient
-
-
-
-
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 aRestClient
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 aRestClient
instance.
-
-