Fork me on GitHub
Lightweight RESTful library for Java
import io.jrest.*;

public class HelloWorld {
    public static void main(String[] args) {
    	/** Start server */
        JRest app = JRest.create().start();

        /** Add endpoint */
        app.get("/", (request) -> {
            return new ResponseEntity(HttpStatus.OK, "Index! Welcome to JREST!");
        });
    }
}