The Simple HTTP Java Client is a lightweight Java library designed to simplify the execution of HTTP requests. It leverages Java's built-in HttpURLConnection, requires no external dependencies, and supports multiple HTTP methods including GET, POST, PUT, and DELETE.
See Project Documentation and the Javadoc for more information on how to use this library in your code.
This is a simple Maven project. Build with:
mvn verify
The artifact is deployed to Sonatype's Maven Central.
The actual repository URL is https://s01.oss.sonatype.org/, with server Id ossrh
and requires credentials to deploy
artifacts manually.
But it is strongly recommended to only use GitHub Actions "Release to Maven Central" to perform a release:
- Manually trigger the "Release" workflow
- Specify the version being released and the next version number (SNAPSHOT)
- Release the corresponding staging repository on Sonatype's Nexus server
- Merge the PR that has been created to prepare the next version
License is Apache-2. Each source file must include the Apache-2 header (build will fail otherwise). To update source files with the proper header, simply execute the below command:
mvn license:update-file-header