object HttpClient extends Logging
- Alphabetic
- By Inheritance
- HttpClient
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(uri: ElasticsearchClientUri, requestConfigCallback: RequestConfigCallback = NoOpRequestConfigCallback, httpClientConfigCallback: HttpClientConfigCallback = NoOpHttpClientConfigCallback): HttpClient
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).
-
def
apply(hrc: HttpRequestClient): HttpClient
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.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromRestClient(client: RestClient): HttpClient
Creates a new HttpClient from an existing Elasticsearch Java API RestClient.
Creates a new HttpClient from an existing Elasticsearch Java API RestClient.
- client
the Java client to wrap
- returns
newly created Scala client
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )