Epo Jemba
Freelance, Senior Cloud Oriented Software and Framework Architect, DevOps, using Java, Go (lang), Frontend (HTML5/JS/CSS) and Linux.
import static spark.Spark.*; import spark.*; public class HelloWorld { public static void main(String[] args) { get(new Route("/hello") { @Override public Object handle(Request request, Response response) { return "Hello World!"; } }); } }
public class Cars extends Route {
public Cars() {
super("/cars");
}
@Override
public Object handle(Request request, Response response) {
return "Hello World!";
}
}
By Epo Jemba