Package | Description |
---|---|
spark |
Modifier and Type | Method and Description |
---|---|
ModelAndView |
TemplateViewRoute.handle(Request request,
Response response)
Invoked when a request is made on this route's corresponding path e.g.
|
static ModelAndView |
Spark.modelAndView(Object model,
String viewName)
Constructs a ModelAndView with the provided model and view name
|
ModelAndView |
TemplateEngine.modelAndView(Object model,
String viewName)
Creates a new ModelAndView object with given arguments.
|
ModelAndView |
TemplateViewRouteImpl.modelAndView(Object model,
String viewName)
Creates a new ModelAndView object with given arguments.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
TemplateEngine.render(ModelAndView modelAndView)
Method called to render the output that is sent to client.
|
abstract Object |
TemplateViewRouteImpl.render(ModelAndView modelAndView)
Method called to render the output that is sent to client.
|
Copyright © 2018. All rights reserved.