Interface FlowViewResolver
- All Known Implementing Classes:
DelegatingFlowViewResolver
,FlowResourceFlowViewResolver
public interface FlowViewResolver
A Web Flow flavor of the familiar Spring MVC View Resolver interface. Allows resolving a Spring MVC
view
from the state of an executing flow.- Author:
- Keith Donald
- See Also:
-
ViewResolver
-
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.
-
Method Details
-
resolveView
Resolve the Spring MVC view with the provided id.- Parameters:
viewId
- the view id, typically treated as a Spring MVC view namecontext
- the current flow request- Returns:
- the resolved Spring MVC view
-
getViewIdByConvention
Get the default id of the view to render in the provided view state by convention.- Parameters:
viewStateId
- the view state id- Returns:
- the default view id
-