Latest news: Titanite 1.3.0 Released

Titanite

A small web framework for Java 8, inspired by others like Sinatra and Finatra, running on top of Netty

highlights

import static org.nosceon.titanite.HttpServer.httpServer;
import static org.nosceon.titanite.Method.GET;
import static org.nosceon.titanite.Response.ok;

public class HelloWorld {

    public static void main(String[] args) {

        httpServer()
            .register(GET, "/hello/:name", req -> {
                String name = req.pathParams().getString("name");
                return ok().text("hello " + name).toFuture();
            })
            .start();

    }

}
Vote on Hacker News