public class AcknowledgeNotificationController
extends org.springframework.web.servlet.mvc.AbstractController
implements org.springframework.beans.factory.InitializingBean
AcknowledgeNotificationController class.
Constructor and Description |
---|
AcknowledgeNotificationController() |
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 notifications specified in the POST and then redirect the client
to an appropriate URL for display.
|
void |
setRedirectView(String redirectView)
setRedirectView
|
void |
setWebNotificationRepository(WebNotificationRepository webNotificationRepository)
setWebNotificationRepository
|
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 setWebNotificationRepository(WebNotificationRepository webNotificationRepository)
setWebNotificationRepository
webNotificationRepository
- a WebNotificationRepository
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.