Skip to content

Instantly share code, notes, and snippets.

@ygaller
Created July 24, 2017 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ygaller/df3e0fbad2a3cf3cf23639cc6b31fab6 to your computer and use it in GitHub Desktop.
Save ygaller/df3e0fbad2a3cf3cf23639cc6b31fab6 to your computer and use it in GitHub Desktop.
public class ApplicationMain {
public static void main(String[] args) {
Logger logger = Logger.getLogger(ApplicationMain.class);
SparkUtils.createServerWithRequestLog(logger);
get("/hello", (request, response) -> "world");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment