public class DelegatingFlowViewResolver extends Object implements FlowViewResolver
ViewResolver
Constructor and Description |
---|
DelegatingFlowViewResolver(List viewResolvers)
Creates a new flow view resolver.
|
Modifier and Type | Method and Description |
---|---|
String |
getViewIdByConvention(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.
|
public DelegatingFlowViewResolver(List viewResolvers)
viewResolvers
- the Spring MVC view resolver chain to delegate topublic org.springframework.web.servlet.View resolveView(String viewId, RequestContext context)
FlowViewResolver
resolveView
in interface FlowViewResolver
viewId
- the view id, typically treated as a Spring MVC view namecontext
- the current flow requestpublic String getViewIdByConvention(String viewStateId)
FlowViewResolver
getViewIdByConvention
in interface FlowViewResolver
viewStateId
- the view state id