Package org.springframework.web.servlet
Interface SmartView
- All Superinterfaces:
- View
- All Known Subinterfaces:
- FragmentsRendering
- All Known Implementing Classes:
- RedirectView
Provides additional information about a View such as whether it
 performs redirects.
- Since:
- 3.1
- Author:
- Rossen Stoyanchev
- 
Field SummaryFields inherited from interface org.springframework.web.servlet.ViewPATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE
- 
Method SummaryModifier and TypeMethodDescriptionbooleanWhether the view performs a redirect.default voidresolveNestedViews(ViewResolver resolver, Locale locale) Methods inherited from interface org.springframework.web.servlet.ViewgetContentType, render
- 
Method Details- 
isRedirectViewboolean isRedirectView()Whether the view performs a redirect.
- 
resolveNestedViewsIn most cases, theDispatcherServletusesViewResolvers to resolveViewinstances. However, a special type ofViewmay actually render a collection of fragments, each with its own model and view.This callback provides such a view with the opportunity to resolve any nested views it contains prior to rendering. - Parameters:
- resolver- to resolve views with
- locale- the resolved locale for the request
- Throws:
- Exception- if any view cannot be resolved, or in case of problems creating an actual View instance
- Since:
- 6.2
 
 
-