| Package | Description | 
|---|---|
| org.springframework.test.web.servlet.client | 
 Support for testing Spring MVC applications via
  
WebTestClient
 with MockMvc for server request
 handling. | 
| org.springframework.test.web.servlet.setup | 
 Contains built-in  
MockMvcBuilder 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MockMvcWebTestClient.ControllerSpec | 
MockMvcWebTestClient.ControllerSpec.viewResolvers(ViewResolver... resolvers)
Set up view resolution. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StandaloneMockMvcBuilder | 
StandaloneMockMvcBuilder.setViewResolvers(ViewResolver... resolvers)
Set up view resolution with the given  
ViewResolvers. | 
| Modifier and Type | Method and Description | 
|---|---|
ViewResolver | 
WebMvcConfigurationSupport.mvcViewResolver(ContentNegotiationManager contentNegotiationManager)
Register a  
ViewResolverComposite that contains a chain of view resolvers
 to use for view resolution. | 
| Modifier and Type | Method and Description | 
|---|---|
protected List<ViewResolver> | 
ViewResolverRegistry.getViewResolvers()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ViewResolverRegistry.viewResolver(ViewResolver viewResolver)
Register a  
ViewResolver bean instance. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractCachingViewResolver
Convenient base class for  
ViewResolver
 implementations. | 
class  | 
AbstractTemplateViewResolver
Abstract base class for template view resolvers, in particular for FreeMarker views. 
 | 
class  | 
BeanNameViewResolver
A simple implementation of  
ViewResolver
 that interprets a view name as a bean name in the current application context,
 i.e. | 
class  | 
ContentNegotiatingViewResolver
Implementation of  
ViewResolver that resolves a view based on the request file name
 or Accept header. | 
class  | 
InternalResourceViewResolver
Convenient subclass of  
UrlBasedViewResolver that supports
 InternalResourceView (i.e. | 
class  | 
ResourceBundleViewResolver
Deprecated. 
 
as of 5.3, in favor of Spring's common view resolver variants
 and/or custom resolver implementations 
 | 
class  | 
UrlBasedViewResolver
Simple implementation of the  
ViewResolver
 interface, allowing for direct resolution of symbolic view names to URLs,
 without explicit mapping definitions. | 
class  | 
ViewResolverComposite
A  
ViewResolver that delegates to others. | 
class  | 
XmlViewResolver
Deprecated. 
 
as of 5.3, in favor of Spring's common view resolver variants
 and/or custom resolver implementations 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<ViewResolver> | 
ContentNegotiatingViewResolver.getViewResolvers()  | 
List<ViewResolver> | 
ViewResolverComposite.getViewResolvers()
Return the list of view viewResolvers to delegate to. 
 | 
| Modifier and Type | Method and 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. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
FreeMarkerViewResolver
Convenience subclass of  
UrlBasedViewResolver
 that supports FreeMarkerView (i.e. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
GroovyMarkupViewResolver
Convenience subclass of @link AbstractTemplateViewResolver} that supports
  
GroovyMarkupView (i.e. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ScriptTemplateViewResolver
Convenience subclass of  
UrlBasedViewResolver that supports
 ScriptTemplateView and custom subclasses of it. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
TilesViewResolver
Convenience subclass of  
UrlBasedViewResolver that supports
 TilesView (i.e. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
XsltViewResolver
ViewResolver implementation that
 resolves instances of XsltView by translating the supplied view name
 into the URL of the XSLT stylesheet. |