Creates a new HttpClient using the elasticsearch Java API rest client as the underlying request client.
Creates a new HttpClient using the elasticsearch Java API rest client as the underlying request client. Optional callbacks can be passed in to configure the client.
Alternatively, create a RestClient manually and call apply(RestClient).
Creates a new HttpClient by wrapping the given the HttpRequestClient.
Creates a new HttpClient by wrapping the given the HttpRequestClient.
Any underlying library can be made to work with elastic4s.HttpClient by creating an instance of the HttpRequestClient typeclass.
Creates a new HttpClient from an existing Elasticsearch Java API RestClient.
Creates a new HttpClient from an existing Elasticsearch Java API RestClient.
the Java client to wrap
newly created Scala client