public class FlowResourceFlowViewResolver extends java.lang.Object implements FlowViewResolver
JstlView
,
InternalResourceView
Constructor and Description |
---|
FlowResourceFlowViewResolver() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultViewSuffix()
Returns the default view suffix when selecting views by convention.
|
java.lang.String |
getViewIdByConvention(java.lang.String viewStateId)
Get the default id of the view to render in the provided view state by convention.
|
org.springframework.web.servlet.View |
resolveView(java.lang.String viewId,
RequestContext context)
Resolve the Spring MVC view with the provided id.
|
void |
setDefaultViewSuffix(java.lang.String defaultViewSuffix)
Sets the default suffix for view templates when selecting views by convention.
|
public java.lang.String getDefaultViewSuffix()
public void setDefaultViewSuffix(java.lang.String defaultViewSuffix)
FlowResourceFlowViewResolver
is configured.defaultViewSuffix
- the default view suffixpublic org.springframework.web.servlet.View resolveView(java.lang.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 java.lang.String getViewIdByConvention(java.lang.String viewStateId)
FlowViewResolver
getViewIdByConvention
in interface FlowViewResolver
viewStateId
- the view state id