OpenSearch/client
Luca Cavanna be4a101ea1
Add high-level client methods that accept RequestOptions (#31069)
With #30490 we have introduced a new way to provide request options
whenever sending a request using the high-level REST client. Before you
could provide headers as the last argument varargs of each API method,
now you can provide `RequestOptions` that in the future will allow to
provide more options which can be specified per request.

This commit deprecates all of the client methods that accept a `Header`
varargs argument in favour of new methods that accept `RequestOptions`
instead. For some API we don't even go through deprecation given that
they were not released since they were added, hence in that case we can
just move them to the new method.
2018-06-06 23:17:45 +02:00
..
benchmark Core: Remove RequestBuilder from Action (#30966) 2018-05-31 16:15:00 +02:00
client-benchmark-noop-api-plugin Core: Remove RequestBuilder from Action (#30966) 2018-05-31 16:15:00 +02:00
rest HLRest: Allow caller to set per request options (#30490) 2018-05-31 13:59:52 -04:00
rest-high-level Add high-level client methods that accept RequestOptions (#31069) 2018-06-06 23:17:45 +02:00
sniffer Refactor Sniffer and make it testable (#29638) 2018-05-31 16:05:09 +02:00
test Replace Request#setHeaders with addHeader (#30588) 2018-05-22 20:32:30 +02:00
transport Add rank-eval module to transport client and HL client dependencies 2017-12-13 18:05:43 +01:00