de.mindmatters.faces.spring.context.servlet.controller
Class AbstractFacesController
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
de.mindmatters.faces.spring.context.servlet.controller.AbstractFacesController
- All Implemented Interfaces:
- ApplicationContextAware, ServletContextAware, Controller
- Direct Known Subclasses:
- SimpleActionController
public abstract class AbstractFacesController
- extends AbstractController
AbstractController that exposes the current
FacesContext
to the template method
handleRequestInternal(FacesContext, HttpServletRequest, HttpServletResponse)
.
- Author:
- Andreas Kuhrwahl
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseExpiresHeader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFacesController
public AbstractFacesController()
handleRequestInternal
protected abstract ModelAndView handleRequestInternal(FacesContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Template method. Subclasses must implement this. The contract is the same
as for
handleRequest
.
- Parameters:
context
- FacesContext
for the current requestrequest
- current HTTP requestresponse
- current HTTP response
- Returns:
- a ModelAndView to render, or
null
if handled
directly
- Throws:
java.lang.Exception
- in case of errors- See Also:
AbstractController.handleRequest(HttpServletRequest,
HttpServletResponse)
handleRequestInternal
protected final ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Template method. Subclasses must implement this.
The contract is the same as for
handleRequest
.
- Specified by:
handleRequestInternal
in class AbstractController
- Throws:
java.lang.Exception
- See Also:
AbstractController.handleRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
Copyright © 2006 mindmatters GmbH & Co. KG