Top Description Interfaces Classes
module spring.webmvc

Package org.springframework.web.servlet.function

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

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

Interface Summary

Modifier and TypeInterface and Description
public interface
AsyncServerResponse

Asynchronous subtype of ServerResponse that exposes the future response.

public interface
EntityResponse<
the entity type
T
>

Entity-specific subtype of ServerResponse that exposes entity data.

public interface
HandlerFilterFunction<
the type of the handler function to filter
T extends ServerResponse
,
the type of the response of the function
R extends ServerResponse
>

Represents a function that filters a handler function.

public interface
HandlerFunction<
the type of the response of the function
T extends ServerResponse
>

Represents a function that handles a request.

public interface
RenderingResponse

Rendering-specific subtype of ServerResponse that exposes model and template data.

public interface
RequestPredicate

Represents a function that evaluates on a given ServerRequest.

public interface
RouterFunction<
the type of the handler function to route to
T extends ServerResponse
>

Represents a function that routes to a handler function.

public interface
ServerRequest

Represents a server-side HTTP request, as handled by a HandlerFunction.

public interface
ServerResponse

Represents a typed server-side HTTP response, as returned by a handler function or filter function.

Class Summary

Modifier and TypeClass and Description
pack-priv abstract class
AbstractServerResponse

Abstract base class for ServerResponse implementations.

pack-priv class
ChangePathPatternParserVisitor

Implementation of RouterFunctions.Visitor that changes the PathPatternParser on path-related request predicates (i.e. RequestPredicates.PathPatternPredicate.

pack-priv class
pack-priv class
DefaultEntityResponseBuilder<
the entity type
T
>

Default EntityResponse.Builder implementation.

pack-priv class
pack-priv class
DefaultServerRequest

ServerRequest implementation based on a HttpServletRequest.

pack-priv class
pack-priv class
pack-priv abstract class
ErrorHandlingServerResponse

Base class for ServerResponse implementations with error handling.

pack-priv class
pack-priv class
public abstract class
RequestPredicates

Implementations of RequestPredicate that implement various useful request matching operations, such as matching based on path, HTTP method, etc.

pack-priv class
ResourceHandlerFunction

Resource-based implementation of HandlerFunction.

pack-priv class
public abstract class
RouterFunctions

Central entry point to Spring's functional web framework.

pack-priv class
SseServerResponse

Implementation of ServerResponse for sending Server-Sent Events.

pack-priv class
ToStringVisitor

Implementation of RouterFunctions.Visitor that creates a formatted string representation of router functions.