public class ServletMvcViewFactory extends AbstractMvcViewFactory
Constructor and Description |
---|
ServletMvcViewFactory(Expression viewId,
FlowViewResolver viewResolver,
ExpressionParser expressionParser,
ConversionService conversionService,
BinderConfiguration binderConfiguration,
org.springframework.validation.MessageCodesResolver messageCodesResolver)
Creates a new servlet-based MVC view factory.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractMvcView |
createMvcView(org.springframework.web.servlet.View view,
RequestContext context)
Abstract factory method subclasses should implement to return the concrete MVC view implementation.
|
getView, setEventIdParameterName, setFieldMarkerPrefix, setValidator
public ServletMvcViewFactory(Expression viewId, FlowViewResolver viewResolver, ExpressionParser expressionParser, ConversionService conversionService, BinderConfiguration binderConfiguration, org.springframework.validation.MessageCodesResolver messageCodesResolver)
viewId
- the id of the view as an expressionviewResolver
- the resolver to resolve the View implementationexpressionParser
- the expression parserconversionService
- the conversion servicebinderConfiguration
- the model binding configurationprotected AbstractMvcView createMvcView(org.springframework.web.servlet.View view, RequestContext context)
AbstractMvcViewFactory
createMvcView
in class AbstractMvcViewFactory
view
- the actual resolved view implementationcontext
- the current request context