org.riotfamily.common.web.controller
Class AttributeViewController
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
org.springframework.web.servlet.mvc.ParameterizableViewController
org.riotfamily.common.web.controller.AttributeViewController
- All Implemented Interfaces:
- ApplicationContextAware, ServletContextAware, Controller
public class AttributeViewController
- extends ParameterizableViewController
ParameterizableViewController
that uses the request attributes as
model. Use this controller for simple views that need to access request
attributes but you don't want your ViewResolver to generally expose
attributes.
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeViewController
public AttributeViewController()
handleRequestInternal
protected ModelAndView handleRequestInternal(HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Overrides:
handleRequestInternal
in class ParameterizableViewController
- Throws:
Exception