Class RestClientBuilder

java.lang.Object
org.elasticsearch.client.RestClientBuilder

public final class RestClientBuilder
extends java.lang.Object
Helps creating a new RestClient. Allows to set the most common http client configuration options when internally creating the underlying HttpAsyncClient. Also allows to provide an externally created HttpAsyncClient in case additional customization is needed.