Package | Description |
---|---|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
Modifier and Type | Method and Description |
---|---|
UrlBasedViewResolverRegistration |
UrlBasedViewResolverRegistration.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 |
UrlBasedViewResolverRegistration.cache(boolean cache)
Enable or disable caching.
|
UrlBasedViewResolverRegistration |
UrlBasedViewResolverRegistration.cacheLimit(int cacheLimit)
Specify the maximum number of entries for the view cache.
|
UrlBasedViewResolverRegistration |
ViewResolverRegistry.freeMarker()
Register a FreeMarker view resolver with an empty default view name
prefix and a default suffix of ".ftl".
|
UrlBasedViewResolverRegistration |
ViewResolverRegistry.groovy()
Register a Groovy markup view resolver with an empty default view name
prefix and a default suffix of ".tpl".
|
UrlBasedViewResolverRegistration |
ViewResolverRegistry.jsp()
Register JSP view resolver using a default view name prefix of "/WEB-INF/"
and a default suffix of ".jsp".
|
UrlBasedViewResolverRegistration |
ViewResolverRegistry.jsp(String prefix,
String suffix)
Register JSP view resolver with the specified prefix and suffix.
|
UrlBasedViewResolverRegistration |
UrlBasedViewResolverRegistration.prefix(String prefix)
Set the prefix that gets prepended to view names when building a URL.
|
UrlBasedViewResolverRegistration |
ViewResolverRegistry.scriptTemplate()
Register a script template view resolver with an empty default view name prefix and suffix.
|
UrlBasedViewResolverRegistration |
UrlBasedViewResolverRegistration.suffix(String suffix)
Set the suffix that gets appended to view names when building a URL.
|
UrlBasedViewResolverRegistration |
ViewResolverRegistry.tiles()
Register Tiles 3.x view resolver.
|
UrlBasedViewResolverRegistration |
UrlBasedViewResolverRegistration.viewClass(Class<?> viewClass)
Set the view class that should be used to create views.
|
UrlBasedViewResolverRegistration |
UrlBasedViewResolverRegistration.viewNames(String... viewNames)
Set the view names (or name patterns) that can be handled by this view
resolver.
|