Maven artifact: sh.reloop:reloop-java (version aligned with Node/Python/Go at 2.0.0).
License: Apache License 2.0 with additional use restrictions from Reloop Labs.
API reference: reloop.sh/docs
Port new endpoints from the Node.js SDK — Node wins on paths, bodies, and validation messages.
git clone git@github.com:reloop-labs/reloop-java.git
cd reloop-java
mvn testRequires JDK 17+. Runtime deps: Jackson only (plus JDK HttpClient).
src/main/java/sh/reloop/
ReloopClient.java
Version.java
exceptions/ # ReloopValidationException, ReloopApiException, WebhookSignatureException
validation/ # Validators
models/ # Mail, ApiKey, Domain, Contact, Webhook, Inbox POJOs
services/ # Mail, ApiKey, Domain, Contacts*, Webhook*, Inbox*
src/test/java/sh/reloop/
test/TestHttpServer.java
*Test.java # HttpServer route + surface-lock tests
pom.xml # version 2.0.0
| Topic | Rule |
|---|---|
| Errors | ReloopValidationException (no HTTP) / ReloopApiException (HTTP/network) |
| Wire JSON | Match Node (@JsonProperty for snake_case vs camelCase) |
| Validation | Fail before HTTP; tests assert 0 requests |
| Tests | JDK HttpServer: method, path, x-api-key, body; surface-lock method sets |
| Endpoints | Do not invent — copy from Node paths.ts |
| Version | Same semver as Node/Python/Go |
-
mvn testpasses - New ops have happy path + API error + validation (0 HTTP) + surface test
-
pom.xml/Version.VERSIONupdated only when releasing
- Set
pom.xml<version>andVersion.VERSIONto the same value (match other SDKs) - Tag and publish via existing GitHub Actions / Central publishing plugins