Class JsfFlowHandlerAdapter
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.webflow.mvc.servlet.FlowHandlerAdapter
org.springframework.faces.webflow.JsfFlowHandlerAdapter
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.web.context.ServletContextAware,org.springframework.web.servlet.HandlerAdapter
An extension of
FlowHandlerAdapter that replaces the default AjaxHandler instance with a
JsfAjaxHandler.- Since:
- 2.2.0
- Author:
- Rossen Stoyanchev
-
Field Summary
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
HEADER_CACHE_CONTROL, METHOD_GET, METHOD_HEAD, METHOD_POST -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.webflow.mvc.servlet.FlowHandlerAdapter
createServletExternalContext, defaultCreateFlowExecutionInputMap, defaultGetFlowId, defaultHandleException, defaultHandleExecutionOutcome, getAjaxHandler, getFlowExecutor, getFlowUrlHandler, getHosts, getLastModified, getRedirectHttp10Compatible, getSaveOutputToFlashScopeOnRedirect, isRemoteHost, sendRedirect, setAjaxHandler, setFlowExecutor, setFlowUrlHandler, setHosts, setRedirectHttp10Compatible, setSaveOutputToFlashScopeOnRedirect, setStatusCode, supportsMethods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheControl, applyCacheSeconds, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isRequireSession, prepareResponse, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setVaryByRequestHeadersMethods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextMethods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContext
-
Constructor Details
-
JsfFlowHandlerAdapter
public JsfFlowHandlerAdapter()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classFlowHandlerAdapter- Throws:
Exception
-
handle
public org.springframework.web.servlet.ModelAndView handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object handler) throws Exception - Specified by:
handlein interfaceorg.springframework.web.servlet.HandlerAdapter- Overrides:
handlein classFlowHandlerAdapter- Throws:
Exception
-