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
-
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, supports
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders
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, obtainApplicationContext, requiredContextClass, setApplicationContext
-
Constructor Details
-
JsfFlowHandlerAdapter
public JsfFlowHandlerAdapter()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in 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:
handle
in interfaceorg.springframework.web.servlet.HandlerAdapter
- Overrides:
handle
in classFlowHandlerAdapter
- Throws:
Exception
-