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>1.2.0</version>
</dependency>

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

compile 'io.javalin:javalin:1.2.0'

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

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

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?