KISS Java Libraries

KissRequests

Tiny zero-dependency Java 17+ HTTP client library built on native java.net.http.HttpClient, with prepared calls, curl rendering, retries, and rich error reports.

Latest stable: 0.1.0 Java 17+ Apache-2.0

Maven

<dependency>
  <groupId>io.github.arthurhoch</groupId>
  <artifactId>kiss-requests</artifactId>
  <version>0.1.0</version>
</dependency>

Small Surface

KissRequests keeps request construction, execution, debugging, and error handling explicit. It avoids REST framework abstractions while still covering common HTTP workflows.

Quick Example

Http http = Http.create();
HttpResult result = http
    .request(HttpMethod.GET, "https://api.example.com/users")
    .execute();

KISS Principles

Native JDK

The production library builds on Java HttpClient and does not ship external runtime dependencies.

Debuggable Calls

Prepared calls can be rendered as curl, including base64-safe variants for binary bodies.

Useful Failures

Exceptions include method, URL, attempts, timing, status, headers, body, curl, and cause details.

Documentation

Related Projects