@Controller
public class Error403Controller
extends org.springframework.web.servlet.mvc.AbstractController
| Constructor and Description |
|---|
Error403Controller() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAjaxExtension()
Gets the ajax extension.
|
String |
getAjaxViewName()
Gets the ajax view name.
|
String |
getViewName()
Gets the view name.
|
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setAjaxExtension(String ajaxExtension)
Sets the ajax extension.
|
void |
setAjaxViewName(String ajaxViewName)
Sets the ajax view name.
|
void |
setViewName(String viewName)
Sets the view name.
|
isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeadersgetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic String getViewName()
@Value(value="errors/403") public void setViewName(String viewName)
viewName - the new view namepublic String getAjaxViewName()
@Value(value="errors/403_ajax") public void setAjaxViewName(String ajaxViewName)
ajaxViewName - the new ajax view namepublic String getAjaxExtension()
@Value(value=".ajax") public void setAjaxExtension(String ajaxExtension)
ajaxExtension - the new ajax extension@RequestMapping(path="/403.htm")
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 org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
handleRequestInternal in class org.springframework.web.servlet.mvc.AbstractControllerExceptionCopyright © 2009–2020 psi-probe. All rights reserved.