程序包 cn.taketoday.web.view
@NonNullApi
@NonNullFields
package cn.taketoday.web.view
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
Application developers don't usually need to implement views, as the framework provides standard views for JSPs, FreeMarker, XSLT, etc. However, the ability to implement custom views easily by subclassing the AbstractView class in this package can be very helpful if an application has unusual view requirements.
-
类说明Convenient base class for
ViewResolverimplementations.Filter that determines if view should be cached.A base class forRedirectModelManagerimplementations.Adapter base class for template-based view technologies such as FreeMarker, with the ability to use request and session attributes in their model and the option to expose helper objects for Framework's FreeMarker macro library.Abstract base class for template view resolvers, in particular for FreeMarker views.Abstract base class for URL-based views.Abstract base class forViewimplementations.A simple implementation ofViewResolverthat interprets a view name as a bean name in the current application context, i.e. typically in the XML file of the executingDispatcherServletor in a corresponding configuration class.Subclass ofModelMapthat automatically removes aBindingResultobject if the corresponding target attribute gets replaced through regularMapoperations.Implementation ofViewResolverthat resolves a view based on the request file name orAcceptheader.RequestToViewNameTranslatorthat simply transforms the URI of the incoming request into a view name.Holder for both Model and View in the web MVC framework.A specialization of theModelinterface that controllers can use to select attributes for a redirect scenario.RedirectModel saving strategyView that redirects to an absolute, context relative, or current request relative URL.StoreRedirectModelinWebSessionProvides additional information about a View such as whether it performs redirects.Simple implementation of theViewResolverinterface, allowing for direct resolution of symbolic view names to URLs, without explicit mapping definitions.View for a web interaction.ViewRef contains a view-name and localeInterface to be implemented by objects that can resolve views by name.AViewResolverthat delegates to others.