Class UrlBasedViewResolverRegistration
java.lang.Object
org.springframework.web.reactive.config.UrlBasedViewResolverRegistration
Assist with configuring properties of a
UrlBasedViewResolver
.- Since:
- 5.0
- Author:
- Rossen Stoyanchev
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected UrlBasedViewResolver
Set the prefix that gets prepended to view names when building a URL.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.
-
Constructor Details
-
UrlBasedViewResolverRegistration
-
-
Method Details
-
prefix
Set the prefix that gets prepended to view names when building a URL. -
suffix
Set the suffix that gets appended to view names when building a URL. -
viewClass
Set the view class that should be used to create views. -
viewNames
Set the view names (or name patterns) that can be handled by this view resolver. View names can contain simple wildcards such that 'my*', '*Report' and '*Repo*' will all match the view name 'myReport'. -
getViewResolver
-