程序包 org.springframework.web.reactive.result.view
Support for result handling through view resolution.
接口概要 接口 说明 Rendering Public API for HTML rendering.Rendering.Builder<B extends Rendering.Builder<B>> Defines a builder forRendering
.Rendering.RedirectBuilder ExtendsRendering.Builder
with extra options for redirect scenarios.RequestDataValueProcessor A contract for inspecting and potentially modifying request data values such as URL query parameters or form field values before they are rendered by a view or before a redirect.View Contract to renderHandlerResult
to the HTTP response.ViewResolver Contract to resolve a view name to aView
instance.类概要 类 说明 AbstractUrlBasedView Abstract base class for URL-based views.AbstractView Base class forView
implementations.BindStatus Simple adapter to expose the bind status of a field or object.HttpMessageWriterView View
that writes model attribute(s) with anHttpMessageWriter
.RedirectView View that redirects to an absolute or context relative URL.RequestContext Context holder for request-specific state, like theMessageSource
to use, current locale, binding errors, etc.UrlBasedViewResolver AViewResolver
that allows direct resolution of symbolic view names to URLs without explicit mapping definitions.ViewResolutionResultHandler HandlerResultHandler
that encapsulates the view resolution algorithm supporting the following return types:Void
or no value -- default view nameString
-- view name unless@ModelAttribute
-annotatedView
-- View to render withModel
-- attributes to add to the modelMap
-- attributes to add to the modelRendering
-- use case driven API for view resolution@ModelAttribute
-- attribute for the model Non-simple value -- attribute for the modelViewResolverSupport Base class forViewResolver
implementations with shared properties.