Uses of Interface
org.springframework.web.servlet.ViewResolver
Packages that use ViewResolver
Package
Description
Support for testing Spring MVC applications via
WebTestClient
with MockMvc for server request
handling.Contains built-in
MockMvcBuilder implementations.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
(as included in Java 6+), e.g.
Support classes for XSLT,
providing a View implementation for XSLT stylesheets.
-
Uses of ViewResolver in org.springframework.test.web.servlet.client
Methods in org.springframework.test.web.servlet.client with parameters of type ViewResolverModifier and TypeMethodDescriptionMockMvcWebTestClient.ControllerSpec.viewResolvers(ViewResolver... resolvers) Set up view resolution. -
Uses of ViewResolver in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup with parameters of type ViewResolverModifier and TypeMethodDescriptionStandaloneMockMvcBuilder.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 ViewResolverModifier and TypeMethodDescriptionWebMvcConfigurationSupport.mvcViewResolver(ContentNegotiationManager contentNegotiationManager) Register aViewResolverCompositethat 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 ViewResolverModifier and TypeMethodDescriptionprotected List<ViewResolver>ViewResolverRegistry.getViewResolvers()Methods in org.springframework.web.servlet.config.annotation with parameters of type ViewResolverModifier and TypeMethodDescriptionvoidViewResolverRegistry.viewResolver(ViewResolver viewResolver) Register aViewResolverbean instance. -
Uses of ViewResolver in org.springframework.web.servlet.view
Classes in org.springframework.web.servlet.view that implement ViewResolverModifier and TypeClassDescriptionclassConvenient base class forViewResolverimplementations.classAbstract base class for template view resolvers, in particular for FreeMarker views.classA simple implementation ofViewResolverthat interprets a view name as a bean name in the current application context, i.e.classImplementation ofViewResolverthat resolves a view based on the request file name orAcceptheader.classConvenient subclass ofUrlBasedViewResolverthat supportsInternalResourceView(i.e.classDeprecated.as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementationsclassSimple implementation of theViewResolverinterface, allowing for direct resolution of symbolic view names to URLs, without explicit mapping definitions.classAViewResolverthat delegates to others.classDeprecated.as of 5.3, in favor of Spring's common view resolver variants and/or custom resolver implementationsMethods in org.springframework.web.servlet.view that return types with arguments of type ViewResolverModifier and TypeMethodDescriptionContentNegotiatingViewResolver.getViewResolvers()ViewResolverComposite.getViewResolvers()Return the list of view viewResolvers to delegate to.Method parameters in org.springframework.web.servlet.view with type arguments of type ViewResolverModifier and TypeMethodDescriptionvoidContentNegotiatingViewResolver.setViewResolvers(List<ViewResolver> viewResolvers) Sets the view resolvers to be wrapped by this view resolver.voidViewResolverComposite.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 ViewResolverModifier and TypeClassDescriptionclassConvenience subclass ofUrlBasedViewResolverthat supportsFreeMarkerView(i.e. -
Uses of ViewResolver in org.springframework.web.servlet.view.groovy
Classes in org.springframework.web.servlet.view.groovy that implement ViewResolverModifier and TypeClassDescriptionclassConvenience subclass ofAbstractTemplateViewResolverthat supportsGroovyMarkupView(i.e. -
Uses of ViewResolver in org.springframework.web.servlet.view.script
Classes in org.springframework.web.servlet.view.script that implement ViewResolverModifier and TypeClassDescriptionclassConvenience subclass ofUrlBasedViewResolverthat supportsScriptTemplateViewand custom subclasses of it. -
Uses of ViewResolver in org.springframework.web.servlet.view.xslt
Classes in org.springframework.web.servlet.view.xslt that implement ViewResolverModifier and TypeClassDescriptionclassViewResolverimplementation that resolves instances ofXsltViewby translating the supplied view name into the URL of the XSLT stylesheet.