Class RestClientOptions
java.lang.Object
org.opensearch.client.transport.rest_client.RestClientOptions
- All Implemented Interfaces:
TransportOptions
Deprecated.
The
RestClientTransport is deprecated and is scheduled for removal in later versions. Please
use ApacheHttpClient5Transport instead.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.opensearch.client.transport.TransportOptions
TransportOptions.BuilderImpl, TransportOptions.DefaultImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RestClientOptions.Builderbuilder()Deprecated.headers()Deprecated.Deprecated.Called if there are warnings to determine if those warnings should fail the request.Deprecated.org.opensearch.client.RequestOptionsDeprecated.Get the wrapped Rest Client request optionsDeprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.transport.TransportOptions
with
-
Constructor Details
-
RestClientOptions
public RestClientOptions(org.opensearch.client.RequestOptions options) Deprecated.
-
-
Method Details
-
builder
Deprecated. -
restClientRequestOptions
public org.opensearch.client.RequestOptions restClientRequestOptions()Deprecated.Get the wrapped Rest Client request options -
headers
Deprecated.- Specified by:
headersin interfaceTransportOptions
-
queryParameters
Deprecated.- Specified by:
queryParametersin interfaceTransportOptions
-
onWarnings
Deprecated.Called if there are warnings to determine if those warnings should fail the request.- Specified by:
onWarningsin interfaceTransportOptions
-
toBuilder
Deprecated.- Specified by:
toBuilderin interfaceTransportOptions
-