Enonic Market Enonic Market
Http Client Lib icon

Http Client Lib

HTTP communication

This library allows you to make HTTP requests to remote servers and receive the response.

Releases

  1. 1.0.4

    • Fixed issue with unclosed response body
    • Compatibility:
      • 6.11.0
  2. 1.0.3

    • Added cookies to response
    • Added an option to avoid following redirects
    • Compatibility:
      • 6.11.0
  3. 1.0.2

    • Upgraded version of OkHttp
    • Compatibility:
      • 6.11.0
  4. 1.0.1

    • Fixed issues with empty body for response of type text
    • Compatibility:
      • 6.11.0
  5. 1.0.0

    • Initial release
    • Compatibility:
      • 6.11.0

Comments

Download Http Client Lib

An XP library is normally included in your application through the Gradle build script like this:

dependencies {
    include 'com/enonic/lib:lib-http-client:1.0.4'
}
repositories {
    maven {
         url 'http://repo.enonic.com/public/com/enonic/lib/lib-http-client/'
    }
}

Download the source code for Http Client Lib

Documentation for Http Client Lib