Uses of Interface
org.springframework.web.servlet.ViewResolver
Package
Description
Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Contains built-in
MockMvcBuilder
implementations.Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Annotation-based setup for Spring MVC.
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
Support classes for the integration of
FreeMarker
as Spring web view technology.
Support classes for the integration of
Groovy Templates as Spring web view technology.
Support classes for views based on the JSR-223 script engine abstraction.
Support classes for XSLT,
providing a View implementation for XSLT stylesheets.
-
Uses of ViewResolver in org.springframework.test.web.servlet.client
Modifier and TypeMethodDescriptionMockMvcWebTestClient.ControllerSpec.viewResolvers
(ViewResolver... resolvers) Set up view resolution.MockMvcWebTestClient.RouterFunctionSpec.viewResolvers
(ViewResolver... resolvers) Set up view resolution. -
Uses of ViewResolver in org.springframework.test.web.servlet.setup
Modifier and TypeMethodDescriptionRouterFunctionMockMvcBuilder.setViewResolvers
(ViewResolver... resolvers) Set up view resolution with the givenViewResolvers
.StandaloneMockMvcBuilder.setViewResolvers
(ViewResolver... resolvers) Set up view resolution with the givenViewResolvers
. -
Uses of ViewResolver in org.springframework.web.servlet
Modifier and TypeMethodDescriptiondefault void
SmartView.resolveNestedViews
(ViewResolver resolver, Locale locale) -
Uses of ViewResolver in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionWebMvcConfigurationSupport.mvcViewResolver
(ContentNegotiationManager contentNegotiationManager) Register aViewResolverComposite
that contains a chain of view resolvers to use for view resolution.Modifier and TypeMethodDescriptionprotected List<ViewResolver>
ViewResolverRegistry.getViewResolvers()
Modifier and TypeMethodDescriptionvoid
ViewResolverRegistry.viewResolver
(ViewResolver viewResolver) Register aViewResolver
bean instance. -
Uses of ViewResolver in org.springframework.web.servlet.view
Modifier and TypeClassDescriptionclass
Convenient base class forViewResolver
implementations.class
Abstract base class for template view resolvers, in particular for FreeMarker views.class
A simple implementation ofViewResolver
that interprets a view name as a bean name in the current application context, i.e.class
Implementation ofViewResolver
that resolves a view based on the request file name orAccept
header.class
Convenient subclass ofUrlBasedViewResolver
that supportsInternalResourceView
(i.e.class
Deprecated.as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementationsclass
Simple implementation of theViewResolver
interface, allowing for direct resolution of symbolic view names to URLs, without explicit mapping definitions.class
AViewResolver
that delegates to others.class
Deprecated.as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementationsModifier and TypeMethodDescriptionContentNegotiatingViewResolver.getViewResolvers()
ViewResolverComposite.getViewResolvers()
Return the list of view viewResolvers to delegate to.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeClassDescriptionclass
Convenience subclass ofUrlBasedViewResolver
that supportsFreeMarkerView
(i.e. -
Uses of ViewResolver in org.springframework.web.servlet.view.groovy
Modifier and TypeClassDescriptionclass
Convenience subclass ofAbstractTemplateViewResolver
that supportsGroovyMarkupView
(i.e. -
Uses of ViewResolver in org.springframework.web.servlet.view.script
Modifier and TypeClassDescriptionclass
Convenience subclass ofUrlBasedViewResolver
that supportsScriptTemplateView
and custom subclasses of it. -
Uses of ViewResolver in org.springframework.web.servlet.view.xslt
Modifier and TypeClassDescriptionclass
ViewResolver
implementation that resolves instances ofXsltView
by translating the supplied view name into the URL of the XSLT stylesheet.