Uses of Interface
org.springframework.web.servlet.ViewResolver
Packages that use ViewResolver Package Description org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilder
implementations.org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.org.springframework.web.servlet.view Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.org.springframework.web.servlet.view.freemarker Support classes for the integration of FreeMarker as Spring web view technology.org.springframework.web.servlet.view.groovy Support classes for the integration of Groovy Templates as Spring web view technology.org.springframework.web.servlet.view.script Support classes for views based on the JSR-223 script engine abstraction (as included in Java 6+), e.g.org.springframework.web.servlet.view.tiles3 Support classes for the integration of Tiles 3 (the standalone version of Tiles) as Spring web view technology.org.springframework.web.servlet.view.xslt Support classes for XSLT, providing a View implementation for XSLT stylesheets.Uses of ViewResolver in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup with parameters of type ViewResolver Modifier and Type Method Description StandaloneMockMvcBuilder
StandaloneMockMvcBuilder. setViewResolvers(ViewResolver... resolvers)
Set up view resolution with the givenViewResolvers
.Uses of ViewResolver in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return ViewResolver Modifier and Type Method Description ViewResolver
WebMvcConfigurationSupport. mvcViewResolver(ContentNegotiationManager contentNegotiationManager)
Register aViewResolverComposite
that contains a chain of view resolvers to use for view resolution.Methods in org.springframework.web.servlet.config.annotation that return types with arguments of type ViewResolver Modifier and Type Method Description protected List<ViewResolver>
ViewResolverRegistry. getViewResolvers()
Methods in org.springframework.web.servlet.config.annotation with parameters of type ViewResolver Modifier and Type Method Description void
ViewResolverRegistry. viewResolver(ViewResolver viewResolver)
Register aViewResolver
bean instance.Uses of ViewResolver in org.springframework.web.servlet.view
Classes in org.springframework.web.servlet.view that implement ViewResolver Modifier and Type Class Description class
AbstractCachingViewResolver
Convenient base class forViewResolver
implementations.class
AbstractTemplateViewResolver
Abstract base class for template view resolvers, in particular for FreeMarker views.class
BeanNameViewResolver
A simple implementation ofViewResolver
that interprets a view name as a bean name in the current application context, i.e.class
ContentNegotiatingViewResolver
Implementation ofViewResolver
that resolves a view based on the request file name orAccept
header.class
InternalResourceViewResolver
Convenient subclass ofUrlBasedViewResolver
that supportsInternalResourceView
(i.e.class
ResourceBundleViewResolver
AViewResolver
implementation that uses bean definitions in aResourceBundle
, specified by the bundle basename.class
UrlBasedViewResolver
Simple implementation of theViewResolver
interface, allowing for direct resolution of symbolic view names to URLs, without explicit mapping definitions.class
ViewResolverComposite
AViewResolver
that delegates to others.class
XmlViewResolver
AViewResolver
implementation that uses bean definitions in a dedicated XML file for view definitions, specified by resource location.Methods in org.springframework.web.servlet.view that return types with arguments of type ViewResolver Modifier and Type Method Description List<ViewResolver>
ContentNegotiatingViewResolver. getViewResolvers()
List<ViewResolver>
ViewResolverComposite. getViewResolvers()
Return the list of view viewResolvers to delegate to.Method parameters in org.springframework.web.servlet.view with type arguments of type ViewResolver Modifier and Type Method Description void
ContentNegotiatingViewResolver. setViewResolvers(List<ViewResolver> viewResolvers)
Sets the view resolvers to be wrapped by this view resolver.void
ViewResolverComposite. setViewResolvers(List<ViewResolver> viewResolvers)
Set the list of view viewResolvers to delegate to.Uses of ViewResolver in org.springframework.web.servlet.view.freemarker
Classes in org.springframework.web.servlet.view.freemarker that implement ViewResolver Modifier and Type Class Description class
FreeMarkerViewResolver
Convenience subclass ofUrlBasedViewResolver
that supportsFreeMarkerView
(i.e.Uses of ViewResolver in org.springframework.web.servlet.view.groovy
Classes in org.springframework.web.servlet.view.groovy that implement ViewResolver Modifier and Type Class Description class
GroovyMarkupViewResolver
Convenience subclass of @link AbstractTemplateViewResolver} that supportsGroovyMarkupView
(i.e.Uses of ViewResolver in org.springframework.web.servlet.view.script
Classes in org.springframework.web.servlet.view.script that implement ViewResolver Modifier and Type Class Description class
ScriptTemplateViewResolver
Convenience subclass ofUrlBasedViewResolver
that supportsScriptTemplateView
and custom subclasses of it.Uses of ViewResolver in org.springframework.web.servlet.view.tiles3
Classes in org.springframework.web.servlet.view.tiles3 that implement ViewResolver Modifier and Type Class Description class
TilesViewResolver
Convenience subclass ofUrlBasedViewResolver
that supportsTilesView
(i.e.Uses of ViewResolver in org.springframework.web.servlet.view.xslt
Classes in org.springframework.web.servlet.view.xslt that implement ViewResolver Modifier and Type Class Description class
XsltViewResolver
ViewResolver
implementation that resolves instances ofXsltView
by translating the supplied view name into the URL of the XSLT stylesheet.