The TypeSafe wire model, as plain records: Answer, Question, Content, EvaluateRequest/EvaluateResponse, Usage, RequestId, Model, ModelDetails. No dependencies. With a codec-* module it serializes TypeSafe payloads without any client code, e.g. for a Kafka producer/consumer.

Artifacts using typesafe-java-core version 0.5.0 (6)
Sort by:Popular▼

Two TypeSafeClient test doubles for unit-testing code that calls it without hitting the real API: RecordingTypeSafeClient (queue responses, record requests) and FailingTypeSafeClient (a decorator that fails every Nth call). Depends only on ...
Last Release on Oct 1, 2026
HttpTransport SPI implementation backed by java.net.http. Depends only on typesafe-java-core; discovered via ServiceLoader.
Last Release on Oct 1, 2026
HttpTransport SPI implementation backed by OkHttp. Depends only on typesafe-java-core (plus OkHttp itself); discovered via ServiceLoader.
Last Release on Oct 1, 2026
JsonCodec SPI implementation backed by Jackson 2.x. Depends only on typesafe-java-core; discovered via ServiceLoader.
Last Release on Oct 1, 2026
JsonCodec SPI implementation backed by Jackson 3.x. Depends only on typesafe-java-core; discovered via ServiceLoader.
Last Release on Oct 1, 2026
MappingTypeSafeClient, a TypeSafeClient decorator that maps a record's @Noul/@Choice/@Score-annotated components into an EvaluateRequest and the response back into an instance of that same record, via reflection, so a caller gets a typed ...
Last Release on Oct 1, 2026
  • Prev
  • 1
  • Next