Uses of Class
org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration
Package
Description
Annotation-based setup for Spring MVC.
-
Uses of UrlBasedViewResolverRegistration in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionUrlBasedViewResolverRegistration.attributes
(Map<String, ?> attributes) Set static attributes to be added to the model of every request for all views resolved by this view resolver.UrlBasedViewResolverRegistration.cache
(boolean cache) Enable or disable caching.UrlBasedViewResolverRegistration.cacheLimit
(int cacheLimit) Specify the maximum number of entries for the view cache.ViewResolverRegistry.freeMarker()
Register a FreeMarker view resolver with an empty default view name prefix and a default suffix of ".ftl".ViewResolverRegistry.groovy()
Register a Groovy markup view resolver with an empty default view name prefix and a default suffix of ".tpl".ViewResolverRegistry.jsp()
Register JSP view resolver using a default view name prefix of "/WEB-INF/" and a default suffix of ".jsp".Register JSP view resolver with the specified prefix and suffix.Set the prefix that gets prepended to view names when building a URL.ViewResolverRegistry.scriptTemplate()
Register a script template view resolver with an empty default view name prefix and suffix.Set the suffix that gets appended to view names when building a URL.Set the view class that should be used to create views.Set the view names (or name patterns) that can be handled by this view resolver.