Class RestClientOptions
java.lang.Object
co.elastic.clients.transport.rest_client.RestClientOptions
- All Implemented Interfaces:
TransportOptions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionheaders()Called if there are warnings to determine if those warnings should fail the request.org.elasticsearch.client.RequestOptionsGet the wrapped Rest Client request optionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
headersin interfaceTransportOptions
-
queryParameters
- Specified by:
queryParametersin interfaceTransportOptions
-
onWarnings
Called if there are warnings to determine if those warnings should fail the request.- Specified by:
onWarningsin interfaceTransportOptions
-
toBuilder
- Specified by:
toBuilderin interfaceTransportOptions
-