Move all samples to the root dir
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
9
sparkjava/sparkjava/src/main/java/App.java
Executable file
9
sparkjava/sparkjava/src/main/java/App.java
Executable file
@@ -0,0 +1,9 @@
|
||||
import static spark.Spark.*;
|
||||
|
||||
public class App {
|
||||
public static void main(String[] args) {
|
||||
port(8080);
|
||||
|
||||
get("/", (req, res) -> "Hello world");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user