Class DelegatingFlowViewResolver

java.lang.Object
org.springframework.webflow.mvc.builder.DelegatingFlowViewResolver
All Implemented Interfaces:
FlowViewResolver

public class DelegatingFlowViewResolver extends Object implements FlowViewResolver
Delegates to a configured view resolver chain to resolve the Spring MVC view implementation to render.
Author:
Keith Donald
See Also:
  • ViewResolver
  • Constructor Details

    • DelegatingFlowViewResolver

      public DelegatingFlowViewResolver(List<org.springframework.web.servlet.ViewResolver> viewResolvers)
      Creates a new flow view resolver.
      Parameters:
      viewResolvers - the Spring MVC view resolver chain to delegate to
  • Method Details

    • resolveView

      public org.springframework.web.servlet.View resolveView(String viewId, RequestContext context)
      Description copied from interface: FlowViewResolver
      Resolve the Spring MVC view with the provided id.
      Specified by:
      resolveView in interface FlowViewResolver
      Parameters:
      viewId - the view id, typically treated as a Spring MVC view name
      context - the current flow request
      Returns:
      the resolved Spring MVC view
    • getViewIdByConvention

      public String getViewIdByConvention(String viewStateId)
      Description copied from interface: FlowViewResolver
      Get the default id of the view to render in the provided view state by convention.
      Specified by:
      getViewIdByConvention in interface FlowViewResolver
      Parameters:
      viewStateId - the view state id
      Returns:
      the default view id