index.asciidoc 993 B

12345678910111213141516171819202122232425262728293031
  1. [[java-rest-high]]
  2. = Java High Level REST Client
  3. [partintro]
  4. --
  5. added[6.0.0-beta1]
  6. The Java High Level REST Client works on top of the Java Low Level REST client.
  7. Its main goal is to expose API specific methods, that accept request objects as
  8. an argument and return response objects, so that request marshalling and
  9. response un-marshalling is handled by the client itself.
  10. Each API can be called synchronously or asynchronously. The synchronous
  11. methods return a response object, while the asynchronous methods, whose names
  12. end with the `async` suffix, require a listener argument that is notified
  13. (on the thread pool managed by the low level client) once a response or an
  14. error is received.
  15. The Java High Level REST Client depends on the Elasticsearch core project.
  16. It accepts the same request arguments as the `TransportClient` and returns
  17. the same response objects.
  18. --
  19. include::usage.asciidoc[]
  20. include::apis.asciidoc[]
  21. include::apis/index.asciidoc[]
  22. include::../license.asciidoc[]