Package org.springframework.web.reactive.function.server
@NonNullApi
@NonNullFields
package org.springframework.web.reactive.function.server
Provides the types that make up Spring's functional web framework for Reactive environments.
-
ClassDescriptionEntity-specific subtype of
ServerResponsethat exposes entity data.Defines a builder forEntityResponse.Represents a function that filters a handler function.HandlerFunction<T extends ServerResponse>Represents a function that handles a request.Defines the strategies to be used for processingHandlerFunctions.A mutable builder for aHandlerStrategies.Rendering-specific subtype ofServerResponsethat exposes model and template data.Defines a builder forRenderingResponse.Represents a function that evaluates on a givenServerRequest.Implementations ofRequestPredicatethat implement various useful request matching operations, such as matching based on path, HTTP method, etc.Receives notifications from the logical structure of request predicates.RouterFunction<T extends ServerResponse>Represents a function that routes to a handler function.Central entry point to Spring's functional web framework. Exposes routing functionality, such as to create aRouterFunctionusing a discoverable builder-style API, to create aRouterFunctiongiven aRequestPredicateandHandlerFunction, and to do further subrouting on an existing routing function.Represents a discoverable builder for router functions.Receives notifications from the logical structure of router functions.Represents a server-side HTTP request, as handled by aHandlerFunction.Defines a builder for a request.Represents the headers of the HTTP request.Represents a typed server-side HTTP response, as returned by a handler function or filter function.Defines a builder that adds a body to the response.Defines the context used during theServerResponse.writeTo(ServerWebExchange, Context).ServerResponse.HeadersBuilder<B extends ServerResponse.HeadersBuilder<B>>Defines a builder that adds headers to the response.