Skip to content

Commit 6be8b17

Browse files
committed
runner for html locker
1 parent a52d9ea commit 6be8b17

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

java/org/jrack/tests/HelloWorldRack.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import org.jrack.JRack;
66
import org.jrack.RackResponse;
77
import org.jrack.RackResponseUtils;
8+
import org.jrack.utils.JettyUtils;
89

910
public class HelloWorldRack implements JRack
1011
{
@@ -14,4 +15,8 @@ public RackResponse call(Map<String, Object> input)
1415
calls++;
1516
return RackResponseUtils.standardHtml("HelloWorld");
1617
}
18+
public static void main(String[] args)
19+
{
20+
JettyUtils.startAndLaunch(1001, new HelloWorldRack());
21+
}
1722
}

0 commit comments

Comments
 (0)