OpenSearch/docs/java-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
..
high-level Add support for field capabilities to the high-level REST client. (#29664) 2018-04-26 09:50:37 -07:00
low-level REST Client: Add Request object flavored methods (#29623) 2018-05-01 14:31:23 -04:00
index.asciidoc [DOCS] restructure java clients docs pages (#25517) 2017-07-04 10:58:57 +02:00
license.asciidoc [Docs] Update Copyright notices to 2018 (#29404) 2018-04-06 16:21:20 +02:00
overview.asciidoc [DOCS] restructure java clients docs pages (#25517) 2017-07-04 10:58:57 +02:00