protected <Req extends ActionRequest,Resp> Resp |
RestHighLevelClient.performRequest(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<Response,Resp,IOException> responseConverter,
Set<Integer> ignores) |
Deprecated.
|
protected <Req extends Validatable,Resp> Resp |
RestHighLevelClient.performRequest(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<Response,Resp,IOException> responseConverter,
Set<Integer> ignores) |
Defines a helper method for performing a request.
|
protected <Req extends ActionRequest,Resp> Resp |
RestHighLevelClient.performRequestAndParseEntity(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<XContentParser,Resp,IOException> entityParser,
Set<Integer> ignores) |
Deprecated.
|
protected <Req extends Validatable,Resp> Resp |
RestHighLevelClient.performRequestAndParseEntity(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<XContentParser,Resp,IOException> entityParser,
Set<Integer> ignores) |
Defines a helper method for performing a request and then parsing the returned entity using the provided entityParser.
|
protected <Req extends Validatable,Resp> Optional<Resp> |
RestHighLevelClient.performRequestAndParseOptionalEntity(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<XContentParser,Resp,IOException> entityParser) |
Defines a helper method for requests that can 404 and in which case will return an empty Optional
otherwise tries to parse the response body
|
protected <Req extends ActionRequest,Resp> Cancellable |
RestHighLevelClient.performRequestAsync(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<Response,Resp,IOException> responseConverter,
ActionListener<Resp> listener,
Set<Integer> ignores) |
Deprecated.
|
protected <Req extends Validatable,Resp> Cancellable |
RestHighLevelClient.performRequestAsync(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<Response,Resp,IOException> responseConverter,
ActionListener<Resp> listener,
Set<Integer> ignores) |
Defines a helper method for asynchronously performing a request.
|
protected <Req extends ActionRequest,Resp> Cancellable |
RestHighLevelClient.performRequestAsyncAndParseEntity(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<XContentParser,Resp,IOException> entityParser,
ActionListener<Resp> listener,
Set<Integer> ignores) |
Deprecated.
|
protected <Req extends Validatable,Resp> Cancellable |
RestHighLevelClient.performRequestAsyncAndParseEntity(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<XContentParser,Resp,IOException> entityParser,
ActionListener<Resp> listener,
Set<Integer> ignores) |
Defines a helper method for asynchronously performing a request.
|
protected <Req extends Validatable,Resp> Cancellable |
RestHighLevelClient.performRequestAsyncAndParseOptionalEntity(Req request,
CheckedFunction<Req,Request,IOException> requestConverter,
RequestOptions options,
CheckedFunction<XContentParser,Resp,IOException> entityParser,
ActionListener<Optional<Resp>> listener) |
Asynchronous request which returns empty Optionals in the case of 404s or parses entity into an Optional
|