All Projects

ngen-http: Stateful Java HTTP Client

Java HTTP client library designed around a shared, thread-safe invoker with session-cookie handling and reusable request/response utilities.

Java HTTP Client Concurrency Utility Library

Stateful HTTP Client Architecture

ngen-http is an older Java library I built as a stateful HTTP client and utility layer. I designed the core HttpInvoker as a reusable instance for tasks and threads, with session-cookie handling and response cleanup guidance.

The useful part, looking back, is the library design work: a shared invoker, request/response helpers, session state, and thread-safety considerations in one small Java client.

Engineering Focus

  • Stateful HTTP usage: Preserves session-cookie behavior where stateless clients require extra wiring.
  • Shared invoker model: Designed around reusing one invoker instance across tasks and threads.
  • Resource cleanup: Calls out response cleanup expectations for stream response types.