Package psiprobe.controllers.deploy
Class BaseUndeployContextController
- java.lang.Object
-
- org.springframework.context.support.ApplicationObjectSupport
-
- org.springframework.web.context.support.WebApplicationObjectSupport
-
- org.springframework.web.servlet.support.WebContentGenerator
-
- org.springframework.web.servlet.mvc.AbstractController
-
- psiprobe.controllers.AbstractTomcatContainerController
-
- psiprobe.controllers.AbstractContextHandlerController
-
- psiprobe.controllers.deploy.BaseUndeployContextController
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
,org.springframework.web.servlet.mvc.Controller
- Direct Known Subclasses:
UndeployContextController
,UndeploySummaryContextController
public class BaseUndeployContextController extends AbstractContextHandlerController
Undeploys a web application.
-
-
Field Summary
Fields Modifier and Type Field Description private String
failureViewName
The failure view name.private static org.slf4j.Logger
logger
The Constant logger.
-
Constructor Summary
Constructors Constructor Description BaseUndeployContextController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
executeAction(String contextName)
Execute action.String
getFailureViewName()
Gets the failure view name.protected org.springframework.web.servlet.ModelAndView
handleContext(String contextName, org.apache.catalina.Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Handle context.void
setFailureViewName(String failureViewName)
Sets the failure view name.-
Methods inherited from class psiprobe.controllers.AbstractContextHandlerController
handleRequestInternal, isContextOptional
-
Methods inherited from class psiprobe.controllers.AbstractTomcatContainerController
getContainerWrapper, getViewName, setContainerWrapper, setViewName
-
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
-
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheControl, 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, setVaryByRequestHeaders
-
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
-
-
-
-
Field Detail
-
logger
private static final org.slf4j.Logger logger
The Constant logger.
-
failureViewName
private String failureViewName
The failure view name.
-
-
Method Detail
-
getFailureViewName
public String getFailureViewName()
Gets the failure view name.- Returns:
- the failure view name
-
setFailureViewName
public void setFailureViewName(String failureViewName)
Sets the failure view name.- Parameters:
failureViewName
- the new failure view name
-
handleContext
protected org.springframework.web.servlet.ModelAndView handleContext(String contextName, org.apache.catalina.Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Description copied from class:AbstractContextHandlerController
Handle context.- Specified by:
handleContext
in classAbstractContextHandlerController
- Parameters:
contextName
- the context namecontext
- the contextrequest
- the requestresponse
- the response- Returns:
- the model and view
- Throws:
Exception
- the exception
-
-