HttpClient Quick Start

  1. Download 'Binary' package of the latest official release from the project download page.

    There should be 7 jars in total (components marked with (*) include additional features and are optional)

    • commons-logging-x.x.x.jar
    • commons-codec-x.x.x.jar
    • httpcore-x.x.x.jar
    • httpclient-x.x.x.jar
    • httpmime-x.x.x.jar (*)
    • httpclient-cache-x.x.x.jar (*)
    • fluent-hc-x.x.x.jar (*)
  2. Take a look at the HttpClient tutorial shipped with the release package or available online to learn the HttpClient API.
  3. Another good way of getting started with HttpClient is by seeing it in action. Take a look at the samples shipped with the release package or available online.
  4. Please note that HttpClient is not a browser. Importantly it lacks UI, cache, HTML renderer and a JavaScript engine. To learn more about the scope of HttpClient please refer to HttpClient Primer