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, setView
isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public 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.Controller
handleRequest
in class org.springframework.web.servlet.mvc.AbstractController
Exception
protected boolean prepareModel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String,Object> model) throws Exception
prepareModel
in class VelocityViewController
request
- 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.