aboutsummaryrefslogtreecommitdiff
path: root/template/java/base-spark.java
blob: 48429ee8a4da82325570ce0e7f7bf0a4129ca2cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import static spark.Spark.*;

import spark.*;

public class {{_expr_:substitute('{{_name_}}', '\w\+', '\u\0', '')}} {
	public static void main(String[] args) {
		get(new Route("/") {
			@Override
			public Object handle(Request request, Response response) {
				return "{{_cursor_}}";
			}
		});
	}
}
{{_filter_:spark}}