@FunctionalInterface
public interface RouteHandler
RouteGroup
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
handle(RequestContext req,
javax.servlet.http.HttpServletResponse resp)
Called when a the route this handler is attched to is matched in an incoming HTTP request.
|
java.lang.Object handle(RequestContext req, javax.servlet.http.HttpServletResponse resp) throws java.lang.Exception
req
- resp
- java.lang.Exception