public static interface Route.Handler
public class MyApp extends Jooby { { get("/", (req, rsp) -> rsp.send("Hello")); } }
Modifier and Type | Method and Description |
---|---|
void |
handle(Request req,
Response rsp)
Callback method for a HTTP request.
|
Copyright © 2015. All rights reserved.