@FunctionalInterface public interface TemplateViewRoute
Modifier and Type | Method and Description |
---|---|
ModelAndView |
handle(Request request,
Response response)
Invoked when a request is made on this route's corresponding path e.g.
|
ModelAndView handle(Request request, Response response) throws Exception
request
- The request object providing information about the HTTP requestresponse
- The response object providing functionality for modifying the responseException
Copyright © 2016. All rights reserved.