Class DelegatingFlowViewResolver
java.lang.Object
org.springframework.webflow.mvc.builder.DelegatingFlowViewResolver
- All Implemented Interfaces:
FlowViewResolver
Delegates to a configured view resolver chain to resolve the Spring MVC view implementation to render.
- Author:
- Keith Donald
- See Also:
-
ViewResolver
-
Constructor Summary
ConstructorDescriptionDelegatingFlowViewResolver
(List<org.springframework.web.servlet.ViewResolver> viewResolvers) Creates a new flow view resolver. -
Method Summary
Modifier and TypeMethodDescriptiongetViewIdByConvention
(String viewStateId) Get the default id of the view to render in the provided view state by convention.org.springframework.web.servlet.View
resolveView
(String viewId, RequestContext context) Resolve the Spring MVC view with the provided id.
-
Constructor Details
-
DelegatingFlowViewResolver
Creates a new flow view resolver.- Parameters:
viewResolvers
- the Spring MVC view resolver chain to delegate to
-
-
Method Details
-
resolveView
Description copied from interface:FlowViewResolver
Resolve the Spring MVC view with the provided id.- Specified by:
resolveView
in interfaceFlowViewResolver
- Parameters:
viewId
- the view id, typically treated as a Spring MVC view namecontext
- the current flow request- Returns:
- the resolved Spring MVC view
-
getViewIdByConvention
Description copied from interface:FlowViewResolver
Get the default id of the view to render in the provided view state by convention.- Specified by:
getViewIdByConvention
in interfaceFlowViewResolver
- Parameters:
viewStateId
- the view state id- Returns:
- the default view id
-