public class FlowResourceFlowViewResolver extends Object implements FlowViewResolver
JstlView
,
InternalResourceView
Constructor and Description |
---|
FlowResourceFlowViewResolver() |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultViewSuffix()
Returns the default view suffix when selecting views by convention.
|
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.
|
void |
setDefaultViewSuffix(String defaultViewSuffix)
Sets the default suffix for view templates when selecting views by convention.
|
public String getDefaultViewSuffix()
public void setDefaultViewSuffix(String defaultViewSuffix)
FlowResourceFlowViewResolver
is configured.defaultViewSuffix
- the default view suffixpublic 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