Skip to content

Instantly share code, notes, and snippets.

public class ApplicationMain {
public static void main(String[] args) {
Logger logger = Logger.getLogger(ApplicationMain.class);
SparkUtils.createServerWithRequestLog(logger);
get("/hello", (request, response) -> "world");
}
}