Top Description Interfaces Classes
module spring.webflux

Package org.springframework.web.reactive.result.view

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Support for result handling through view resolution.

Interface Summary

Modifier and TypeInterface and Description
public interface
Rendering

Public API for HTML rendering.

public interface
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.

public interface
View

Contract to render HandlerResult to the HTTP response.

public interface
ViewResolver

Contract to resolve a view name to a View instance.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractUrlBasedView

Abstract base class for URL-based views.

public abstract class
AbstractView

Base class for View implementations.

public class
BindStatus

Simple adapter to expose the bind status of a field or object.

pack-priv class
DefaultRendering

Default implementation of Rendering.

pack-priv class
public class
HttpMessageWriterView

View that writes model attribute(s) with an HttpMessageWriter.

public class
RedirectView

View that redirects to an absolute or context relative URL.

public class
RequestContext

Context holder for request-specific state, like the MessageSource to use, current locale, binding errors, etc. Provides easy access to localized messages and Errors instances.

public class
UrlBasedViewResolver

A ViewResolver that allows direct resolution of symbolic view names to URLs without explicit mapping definitions.

public class
ViewResolutionResultHandler

HandlerResultHandler that encapsulates the view resolution algorithm supporting the following return types:

  • Void, void, or no value -- default view name
  • String -- view name unless @ModelAttribute-annotated
  • View -- View to render with
  • Model -- attributes to add to the model
  • Map -- attributes to add to the model
  • Rendering -- use case driven API for view resolution
  • @ModelAttribute -- attribute for the model
  • Non-simple value -- attribute for the model
public abstract class
ViewResolverSupport

Base class for ViewResolver implementations with shared properties.