@NonNullApi @NonNullFields

# Package org.springframework.web.servlet.function

Provides the types that make up Spring's functional web framework for Servlet environments.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  AsyncServerResponse | Asynchronous subtype of `ServerResponse` that exposes the future response.
  EntityResponse<T> | Entity-specific subtype of `ServerResponse` that exposes entity data.
  EntityResponse.Builder<T> | Defines a builder for `EntityResponse`.
  HandlerFilterFunction<T extends ServerResponse,R extends ServerResponse> | Represents a function that filters a handler function.
  HandlerFunction<T extends ServerResponse> | Represents a function that handles a request.
  RenderingResponse | Rendering-specific subtype of `ServerResponse` that exposes model and template data.
  RenderingResponse.Builder | Defines a builder for `RenderingResponse`.
  RequestPredicate | Represents a function that evaluates on a given `ServerRequest`.
  RequestPredicates.Visitor | Receives notifications from the logical structure of request predicates.
  RouterFunction<T extends ServerResponse> | Represents a function that routes to a handler function.
  RouterFunctions.Builder | Represents a discoverable builder for router functions.
  RouterFunctions.Visitor | Receives notifications from the logical structure of router functions.
  ServerRequest | Represents a server-side HTTP request, as handled by a `HandlerFunction`.
  ServerRequest.Builder | Defines a builder for a request.
  ServerRequest.Headers | Represents the headers of the HTTP request.
  ServerResponse | Represents a typed server-side HTTP response, as returned by a handler function or filter function.
  ServerResponse.BodyBuilder | Defines a builder that adds a body to the response.
  ServerResponse.Context | Defines the context used during the `ServerResponse.writeTo(HttpServletRequest, HttpServletResponse, Context)`.
  ServerResponse.HeadersBuilder<B extends ServerResponse.HeadersBuilder<B>> | Defines a builder that adds headers to the response.
  ServerResponse.SseBuilder | Defines a builder for a body that sends server-sent events.

- Class Summary
  Class | Description
  --- | ---
  RequestPredicates | Implementations of `RequestPredicate` that implement various useful request matching operations, such as matching based on path, HTTP method, etc.
  RouterFunctions | Central entry point to Spring's functional web framework. Exposes routing functionality, such as to create a `RouterFunction` using a discoverable builder-style API, to create a `RouterFunction` given a `RequestPredicate` and `HandlerFunction`, and to do further subrouting on an existing routing function.

## Package org.springframework.web.servlet.function Description

Provides the types that make up Spring's functional web framework for Servlet environments.