public class AcknowledgeAlarmController
extends org.springframework.web.servlet.mvc.AbstractController
implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
AcknowledgeAlarmController() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
protected org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Acknowledge the alarms specified in the POST and then redirect the client
to an appropriate URL for display.
|
void |
setAlarmRepository(AlarmRepository webAlarmRepository)
setWebAlarmRepository
|
void |
setRedirectView(String redirectView)
setRedirectView
|
handleRequest, isSynchronizeOnSession, 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 void setRedirectView(String redirectView)
setRedirectView
redirectView - a String object.public void setAlarmRepository(AlarmRepository webAlarmRepository)
setWebAlarmRepository
webAlarmRepository - a AlarmRepository object.public void afterPropertiesSet()
throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - if any.protected 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 © 2020. All rights reserved.