Bounded Input
Request line, header, body, connection, and keep-alive limits are explicit.
KISS Java Libraries
Tiny zero-dependency Java 17+ HTTP/1.1 server library for simple REST-style applications, explicit routing, bounded parsing, and predictable shutdown.
Maven
<dependency>
<groupId>io.github.arthurhoch</groupId>
<artifactId>kiss-server</artifactId>
<version>0.1.0</version>
</dependency>
KissServer keeps HTTP routes and runtime behavior explicit. It is intended for small services that need a direct Java API without servlet containers or web frameworks.
Quick Example
KissServer server = KissServer.create();
server.get("/health", ctx -> ctx.text("OK"));
server.start(8080).await();
Request line, header, body, connection, and keep-alive limits are explicit.
Exact and dynamic routes use small public types with predictable request and response behavior.
The core artifact targets Java 17 and keeps optional Java 21 virtual-thread usage application-provided.