index.asciidoc 973 B

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