Soklet 2.1.2 API

Soklet

Soklet is a small HTTP 1.1 server and route handler for Java, well-suited for building RESTful APIs, broadcasting Server-Sent Events, and serving Model Context Protocol (MCP) endpoints.

Zero dependencies. Dependency Injection friendly.
Optionally powered by JEP 444: Virtual Threads.

Soklet codes like a library, not a framework.

Please refer to the official documentation at https://www.soklet.com.

Packages
Package
Description
Core Soklet contracts and functionality.
Annotations applicable to Resource Methods and their parameters.
Utilities which handle converting objects from one type to another.
Exceptions thrown during HTTP request processing.