Fork me on GitHub

A Lightweight REST API library

Javalin is a true micro Java REST API library and has no required external dependencies other than the embedded web-server. It has an optional dependency for Jackson, in order to provide out-of-the-box object mapping support (response.json(object)). To use this feature you need to have Jackson included as a dependency.

Download Javalin

<dependency>
    <groupId>io.javalin</groupId>
    <artifactId>javalin</artifactId>
    <version>0.4.1</version>
</dependency>

Not familiar with Maven? Click here for more detailed instructions.

compile 'io.javalin:javalin:0.4.1'

Not familiar with Gradle? Click here for more detailed instructions.

libraryDependencies += "io.javalin" % "javalin" % "0.4.1"
@Grab(group='io.javalin', module='javalin', version='0.4.1') 
[io.javalin/javalin "0.4.1"]
'io.javalin:javalin:jar:0.4.1'
<dependency org="io.javalin" name="javalin" rev="0.4.1" />

Download source manually

Clone the repo from GitHub.
If you really want to, you can also download Javalin as a ZIP (from GitHub)

Like Javalin?