Class RestClientOptions
java.lang.Object
co.elastic.clients.transport.rest_client.RestClientOptions
- All Implemented Interfaces:
TransportOptions
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionheaders()
Called if there are warnings to determine if those warnings should fail the request.org.elasticsearch.client.RequestOptions
Get the wrapped Rest Client request optionsMethods 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.TransportOptions
with
-
Constructor Details
-
RestClientOptions
public RestClientOptions(org.elasticsearch.client.RequestOptions options)
-
-
Method Details
-
restClientRequestOptions
public org.elasticsearch.client.RequestOptions restClientRequestOptions()Get the wrapped Rest Client request options -
headers
- Specified by:
headers
in interfaceTransportOptions
-
queryParameters
- Specified by:
queryParameters
in interfaceTransportOptions
-
onWarnings
Called if there are warnings to determine if those warnings should fail the request.- Specified by:
onWarnings
in interfaceTransportOptions
-
toBuilder
- Specified by:
toBuilder
in interfaceTransportOptions
-