public class UserProfileController extends VelocityViewController
| Constructor and Description |
|---|
UserProfileController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRedirectUrl() |
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Forces https, if enabled.
|
protected boolean |
prepareModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> model)
Prepares the model by adding the key value pairs.
|
void |
setRedirectUrl(String redirecUrl) |
getContentTemplate, getPage, getSelectedMenu, getView, handleRequestInternal, setContentTemplate, setCssCategories, setJavaScriptCategories, setPage, setSelectedMenu, setTemplateManager, setViewisSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic String getRedirectUrl()
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
handleRequest in interface org.springframework.web.servlet.mvc.ControllerhandleRequest in class org.springframework.web.servlet.mvc.AbstractControllerExceptionprotected boolean prepareModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> model)
throws Exception
prepareModel in class VelocityViewControllerrequest - the requestresponse - the responsemodel - the model to prepareException - Exception.public void setRedirectUrl(String redirecUrl)
redirecUrl - the redirecUrl to setCopyright © 2019 Communote team. All rights reserved.