---
title: Dependencies
description: The low-level Java REST client internally uses the Apache Http Async Client to send http requests. It depends on the following artifacts, namely the async...
url: https://www.elastic.co/elastic/docs-builder/docs/2422/reference/elasticsearch/clients/java/transport/rest-client/usage/dependencies
---

# Dependencies
<note>
  This is the legacy RestClient. Please migrate to [Rest5Client](https://www.elastic.co/elastic/docs-builder/docs/2422/reference/elasticsearch/clients/java/transport/rest5-client), a drop-in replacement with an up-to-date http library.
</note>

The low-level Java REST client internally uses the [Apache Http Async Client](https://hc.apache.org/httpcomponents-asyncclient-4.1.x/) to send http requests. It depends on the following artifacts, namely the async http client and its own transitive dependencies:
- org.apache.httpcomponents:httpasyncclient
- org.apache.httpcomponents:httpcore-nio
- org.apache.httpcomponents:httpclient
- org.apache.httpcomponents:httpcore
- commons-codec:commons-codec
- commons-logging:commons-logging