OpenSearch/client/rest
Nik Everett 0be443c5bb
REST Client: Add Request object flavored methods (#29623)
Adds two new methods to `RestClient` that take a `Request` object. These
methods will allows us to add more per-request customizable options
without creating more and more and more overloads of the `performRequest`
and `performRequestAsync` methods. These new methods look like:

```
Response performRequest(Request request)
```

and

```
void performRequestAsync(Request request, ResponseListener responseListener)
```

This change doesn't add any actual features but enables adding things like
per request timeouts and per request node selectors. This change *does*
rework the `HighLevelRestClient` and its tests to use these new `Request`
objects and it does update the docs.
2018-05-01 14:31:23 -04:00
..
licenses Update REST client deps license and notice files (#25573) 2017-07-06 16:52:17 +02:00
src REST Client: Add Request object flavored methods (#29623) 2018-05-01 14:31:23 -04:00
build.gradle Remove animal sniffer from low-level REST client (#29646) 2018-04-25 22:41:30 -04:00