Class RestClientTransport
java.lang.Object
co.elastic.clients.transport.ElasticsearchTransportBase
co.elastic.clients.transport.rest_client.RestClientTransport
- All Implemented Interfaces:
ElasticsearchTransport
,Transport
,Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class co.elastic.clients.transport.ElasticsearchTransportBase
JSON_CONTENT_TYPE, transportOptions
-
Constructor Summary
ConstructorDescriptionRestClientTransport
(org.elasticsearch.client.RestClient restClient, JsonpMapper jsonpMapper) RestClientTransport
(org.elasticsearch.client.RestClient restClient, JsonpMapper jsonpMapper, RestClientOptions options) RestClientTransport
(org.elasticsearch.client.RestClient restClient, JsonpMapper jsonpMapper, RestClientOptions options, Instrumentation instrumentation) -
Method Summary
Methods inherited from class co.elastic.clients.transport.ElasticsearchTransportBase
close, jsonpMapper, options, performRequest, performRequestAsync
-
Constructor Details
-
RestClientTransport
-
RestClientTransport
public RestClientTransport(org.elasticsearch.client.RestClient restClient, JsonpMapper jsonpMapper, RestClientOptions options) -
RestClientTransport
public RestClientTransport(org.elasticsearch.client.RestClient restClient, JsonpMapper jsonpMapper, RestClientOptions options, Instrumentation instrumentation)
-
-
Method Details
-
restClient
public org.elasticsearch.client.RestClient restClient()
-