| 12345678910111213141516171819202122232425262728293031323334353637 | :mainid: java-rest-high[id="{mainid}"]= Java High Level REST Client[partintro]--added[6.0.0-beta1]The Java High Level REST Client works on top of the Java Low Level REST client.Its main goal is to expose API specific methods, that accept request objects asan argument and return response objects, so that request marshalling andresponse un-marshalling is handled by the client itself.Each API can be called synchronously or asynchronously. The synchronousmethods return a response object, while the asynchronous methods, whose namesend with the `async` suffix, require a listener argument that is notified(on the thread pool managed by the low level client) once a response or anerror is received.The Java High Level REST Client depends on the Elasticsearch core project.It accepts the same request arguments as the `TransportClient` and returnsthe same response objects.--:doc-tests: {docdir}/../../client/rest-high-level/src/test/java/org/elasticsearch/client/documentation:hlrc-tests: {docdir}/../../client/rest-high-level/src/test/java/org/elasticsearch/clientinclude::getting-started.asciidoc[]include::supported-apis.asciidoc[]include::java-builders.asciidoc[]include::migration.asciidoc[]include::../license.asciidoc[]:doc-tests!::mainid!:
 |