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(co.elastic.clients.transport.rest5_client.low_level.Rest5Client restClient, JsonpMapper jsonpMapper) Rest5ClientTransport(co.elastic.clients.transport.rest5_client.low_level.Rest5Client restClient, JsonpMapper jsonpMapper, Rest5ClientOptions options) Rest5ClientTransport(co.elastic.clients.transport.rest5_client.low_level.Rest5Client restClient, JsonpMapper jsonpMapper, Rest5ClientOptions options, Instrumentation instrumentation) -
Method Summary
Modifier and TypeMethodDescriptionprotected ElasticsearchTransportBasecloneWith(TransportOptions options, JsonpMapper mapper, Instrumentation instrumentation) INTERNAL, used only for tests.co.elastic.clients.transport.rest5_client.low_level.Rest5ClientwithOptions(TransportOptions options) Clone this transport with new options.Methods inherited from class co.elastic.clients.transport.ElasticsearchTransportBase
close, httpClient, jsonpMapper, options, performRequest, performRequestAsyncMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.transport.Transport
withOptions
-
Constructor Details
-
Rest5ClientTransport
-
Rest5ClientTransport
public Rest5ClientTransport(co.elastic.clients.transport.rest5_client.low_level.Rest5Client restClient, JsonpMapper jsonpMapper) -
Rest5ClientTransport
public Rest5ClientTransport(co.elastic.clients.transport.rest5_client.low_level.Rest5Client restClient, JsonpMapper jsonpMapper, Rest5ClientOptions options) -
Rest5ClientTransport
public Rest5ClientTransport(co.elastic.clients.transport.rest5_client.low_level.Rest5Client restClient, JsonpMapper jsonpMapper, Rest5ClientOptions options, Instrumentation instrumentation)
-
-
Method Details
-
restClient
public co.elastic.clients.transport.rest5_client.low_level.Rest5Client restClient() -
withOptions
Description copied from interface:TransportClone this transport with new options. -
cloneWith
protected ElasticsearchTransportBase cloneWith(TransportOptions options, JsonpMapper mapper, Instrumentation instrumentation) INTERNAL, used only for tests.- Overrides:
cloneWithin classElasticsearchTransportBase
-