public final class ViewUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addViewToModelMap(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap modelMap)
Defines which view must be presented and adds it to the ModelMap
|
static String |
getView(javax.servlet.http.HttpServletRequest request)
Defines which view must be presented
|
public static void addViewToModelMap(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap modelMap)
request - current HttpServletRequestmodelMap - ModelMap on which the view name is addedpublic static String getView(javax.servlet.http.HttpServletRequest request)
request - current HttpServletRequestCopyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.