Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add high-level client methods that accept RequestOptions #31069

Merged

Commits on Jun 4, 2018

  1. Add high-level client methods that accept RequestOptions

    With elastic#30490 we have introduced a new way to provide request options
    whenever sending a request using the high-level REST client. Before you
    could provide headers as the last argument varargs of each API method,
    now you can provide `RequestOptions` that in the future will allow to
    provide more options which can be specified per request.
    
    This commit deprecates all of the client methods that accept a `Header`
    varargs argument in favour of new methods that accept `RequestOptions`
    instead. For some API we don't even go through deprecation given that
    they were not released since they were added, hence in that case we can
    just move them to the new method.
    javanna committed Jun 4, 2018
    Configuration menu
    Copy the full SHA
    26bd57c View commit details
    Browse the repository at this point in the history
  2. iter

    javanna committed Jun 4, 2018
    Configuration menu
    Copy the full SHA
    caf3bfc View commit details
    Browse the repository at this point in the history
  3. address comment

    javanna committed Jun 4, 2018
    Configuration menu
    Copy the full SHA
    2347cdf View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2018

  1. Configuration menu
    Copy the full SHA
    519e45b View commit details
    Browse the repository at this point in the history
  2. add @param tags to javadocs

    javanna committed Jun 6, 2018
    Configuration menu
    Copy the full SHA
    53be62b View commit details
    Browse the repository at this point in the history
  3. add punctuation marks

    javanna committed Jun 6, 2018
    Configuration menu
    Copy the full SHA
    cb6331b View commit details
    Browse the repository at this point in the history
  4. fix compile errors

    javanna committed Jun 6, 2018
    Configuration menu
    Copy the full SHA
    cabeea9 View commit details
    Browse the repository at this point in the history
  5. update docs

    javanna committed Jun 6, 2018
    Configuration menu
    Copy the full SHA
    aee9dd3 View commit details
    Browse the repository at this point in the history