Java Clean Architecture Masterclass

Java Clean Architecture Masterclass28-29 May

Join

Distribution notice - from 1 October 2026, new releases of http4k will be published to Maven Central quarterly. Publication to maven.http4k.org continues on the normal 1-2 week cadence. Both channels are supported. Background and current status can be found here.


http4k logo

build download GitHub license OpenSSF Best Practices intellij-badge awesome kotlin Kotlin Slack back us! sponsor us!

http4k is a lightweight but fully-featured HTTP toolkit written in pure Kotlin that enables the serving and consuming of HTTP services in a functional and consistent way. http4k applications are just Kotlin functions. For example, here's a simple echo server:

val app: HttpHandler = { request: Request -> Response(OK).body(request.body) }
val server = app.asServer(SunHttp(8000)).start()

You can read about the rationale and ethos of http4k here

The http4k platform consists of the following main ecosystems, all released under a single version:

Sounds cool! Where can I find out more?

You can find out all about the project on the http4k site.

Installation

dependencies {
    // install the platform...
    implementation(platform("org.http4k:http4k-bom:<LATEST_VERSION>"))

    // ...then choose any moduless but at least the core
    implementation("org.http4k:http4k-core")
}

Release channels

http4k is published to Maven Central and to maven.http4k.org. From 1 October 2026, Sonatype publishing limits will mean releases reach Maven Central approximately quarterly, while maven.http4k.org continues on the normal 1-2 week cadence. Both channels are supported, and the Community Edition remains free, Apache-2.0 and on Maven Central.

For details, see http4k.org/distribution.

Acknowledgments

scarf

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.