接口 ViewResolver
public interface ViewResolver
Contract to resolve a view name to aView
instance. The view name may correspond to an HTML template or be generated dynamically.The process of view resolution is driven through a ViewResolver-based
HandlerResultHandler
implementation calledViewResolutionResultHandler
.- 从以下版本开始:
- 5.0
- 作者:
- Rossen Stoyanchev
- 另请参阅:
ViewResolutionResultHandler
方法详细资料
resolveViewName
reactor.core.publisher.Mono<View> resolveViewName(String viewName, Locale locale)
Resolve the view name to a View instance.- 参数:
viewName
- the name of the view to resolvelocale
- the locale for the request- 返回:
- the resolved view or an empty stream