OpenSearch/client/rest
Nik Everett b225f5e5c6
HLRest: Allow caller to set per request options (#30490)
This modifies the high level rest client to allow calling code to
customize per request options for the bulk API. You do the actual
customization by passing a `RequestOptions` object to the API call
which is set on the `Request` that is generated by the high level
client. It also makes the `RequestOptions` a thing in the low level
rest client. For now that just means you use it to customize the
headers and the `httpAsyncResponseConsumerFactory` and we'll add
node selectors and per request timeouts in a follow up.

I only implemented this on the bulk API because it is the first one
in the list alphabetically and I wanted to keep the change small
enough to review. I'll convert the remaining APIs in a followup.
2018-05-31 13:59:52 -04:00
..
licenses Update REST client deps license and notice files (#25573) 2017-07-06 16:52:17 +02:00
src HLRest: Allow caller to set per request options (#30490) 2018-05-31 13:59:52 -04:00
build.gradle Remove animal sniffer from low-level REST client (#29646) 2018-04-25 22:41:30 -04:00