Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@
* Requests can be either synchronous or asynchronous. The asynchronous variants all end with {@code Async}.
* <p>
* Requests can be traced by enabling trace logging for "tracer". The trace logger outputs requests and responses in curl format.
*
* @deprecated the {@code RestClient} is deprecated is going to be removed in future releases, please consider using official
* OpenSearch Java Client or {@code RestHighLevelClient}
*/
@Deprecated
public class RestClient implements Closeable {

private static final Log logger = LogFactory.getLog(RestClient.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@
* Helps creating a new {@link RestClient}. Allows to set the most common http client configuration options when internally
* creating the underlying {@link HttpAsyncClient}. Also allows to provide an externally created
* {@link HttpAsyncClient} in case additional customization is needed.
*
* @deprecated the {@code RestClient} is deprecated is going to be removed in future releases, please consider using official
* OpenSearch Java Client or {@code RestHighLevelClient}
*/
@Deprecated
public final class RestClientBuilder {
/**
* The default connection timeout in milliseconds.
Expand Down
Loading