Class RestClientOptions

    • Constructor Detail

      • RestClientOptions

        public RestClientOptions​(org.opensearch.client.RequestOptions options)
    • Method Detail

      • restClientRequestOptions

        public org.opensearch.client.RequestOptions restClientRequestOptions()
        Get the wrapped Rest Client request options
      • headers

        public java.util.Collection<java.util.Map.Entry<java.lang.String,​java.lang.String>> headers()
        Specified by:
        headers in interface TransportOptions
      • queryParameters

        public java.util.Map<java.lang.String,​java.lang.String> queryParameters()
        Specified by:
        queryParameters in interface TransportOptions
      • onWarnings

        public java.util.function.Function<java.util.List<java.lang.String>,​java.lang.Boolean> onWarnings()
        Called if there are warnings to determine if those warnings should fail the request.
        Specified by:
        onWarnings in interface TransportOptions