Class Rest5ClientTransport
java.lang.Object
co.elastic.clients.transport.ElasticsearchTransportBase
co.elastic.clients.transport.rest5_client.Rest5ClientTransport
- All Implemented Interfaces:
ElasticsearchTransport
,Transport
,Closeable
,AutoCloseable
-
Field Summary
Fields inherited from class co.elastic.clients.transport.ElasticsearchTransportBase
httpClient, instrumentation, JSON_CONTENT_TYPE, mapper, transportOptions
-
Constructor Summary
ConstructorsConstructorDescriptionRest5ClientTransport
(Rest5Client restClient, JsonpMapper jsonpMapper) Rest5ClientTransport
(Rest5Client restClient, JsonpMapper jsonpMapper, Rest5ClientOptions options) Rest5ClientTransport
(Rest5Client restClient, JsonpMapper jsonpMapper, Rest5ClientOptions options, Instrumentation instrumentation) -
Method Summary
Modifier and TypeMethodDescriptionprotected ElasticsearchTransportBase
cloneWith
(TransportOptions options, JsonpMapper mapper, Instrumentation instrumentation) INTERNAL, used only for tests.withOptions
(TransportOptions options) Clone this transport with new options.Methods inherited from class co.elastic.clients.transport.ElasticsearchTransportBase
close, httpClient, jsonpMapper, options, performRequest, performRequestAsync
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.transport.Transport
withOptions
-
Constructor Details
-
Rest5ClientTransport
-
Rest5ClientTransport
-
Rest5ClientTransport
public Rest5ClientTransport(Rest5Client restClient, JsonpMapper jsonpMapper, Rest5ClientOptions options) -
Rest5ClientTransport
public Rest5ClientTransport(Rest5Client restClient, JsonpMapper jsonpMapper, Rest5ClientOptions options, Instrumentation instrumentation)
-
-
Method Details
-
restClient
-
withOptions
Description copied from interface:Transport
Clone this transport with new options. -
cloneWith
protected ElasticsearchTransportBase cloneWith(TransportOptions options, JsonpMapper mapper, Instrumentation instrumentation) INTERNAL, used only for tests.- Overrides:
cloneWith
in classElasticsearchTransportBase
-