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, setSynchronizeOnSession
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getCacheControl, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public 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.InitializingBean
Exception
- 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.AbstractController
Exception
Copyright © 2021. All rights reserved.