org.riotfamily.common.web.view
Class RedirectAfterPostView

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.view.AbstractView
              extended by org.springframework.web.servlet.view.AbstractUrlBasedView
                  extended by org.springframework.web.servlet.view.RedirectView
                      extended by org.riotfamily.common.web.view.RedirectAfterPostView
All Implemented Interfaces:
BeanNameAware, InitializingBean, ApplicationContextAware, ServletContextAware, View

public class RedirectAfterPostView
extends RedirectView

View that sends a redirect to the originating request URI.

Since:
6.5
Author:
Felix Gnass [fgnass at neteye dot de]
See Also:
ServletUtils.getOriginatingRequestUri(HttpServletRequest)

Field Summary
 
Fields inherited from class org.springframework.web.servlet.view.AbstractView
DEFAULT_CONTENT_TYPE
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
RedirectAfterPostView()
           
 
Method Summary
 void render(Map model, HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class org.springframework.web.servlet.view.RedirectView
appendQueryProperties, isEligibleProperty, isEligibleValue, queryProperties, renderMergedOutputModel, sendRedirect, setContextRelative, setEncodingScheme, setExposeModelAttributes, setHttp10Compatible, urlEncode
 
Methods inherited from class org.springframework.web.servlet.view.AbstractUrlBasedView
afterPropertiesSet, getUrl, isUrlRequired, setUrl, toString
 
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, prepareResponse, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute, writeToResponse
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RedirectAfterPostView

public RedirectAfterPostView()
Method Detail

render

public void render(Map model,
                   HttpServletRequest request,
                   HttpServletResponse response)
            throws Exception
Specified by:
render in interface View
Overrides:
render in class AbstractView
Throws:
Exception