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
ConstructorsConstructorDescriptionDelegatingFlowViewResolver(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.ViewresolveView(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:FlowViewResolverResolve the Spring MVC view with the provided id.- Specified by:
resolveViewin 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:FlowViewResolverGet the default id of the view to render in the provided view state by convention.- Specified by:
getViewIdByConventionin interfaceFlowViewResolver- Parameters:
viewStateId- the view state id- Returns:
- the default view id
-