Top Description Interfaces Classes
module spring.web

Package org.springframework.web.server

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

Core interfaces and classes for Spring's generic, reactive web support. Builds on top of the org.springframework.http.client.reactive reactive HTTP adapter layer, providing additional constructs such as WebHandler, WebFilter, WebSession among others.

Interface Summary

Modifier and TypeInterface and Description
public interface
ServerWebExchange

Contract for an HTTP request-response interaction.

public interface
WebExceptionHandler

Contract for handling exceptions during web server exchange processing.

public interface
WebFilter

Contract for interception-style, chained processing of Web requests that may be used to implement cross-cutting, application-agnostic requirements such as security, timeouts, and others.

public interface
WebFilterChain

Contract to allow a WebFilter to delegate to the next in the chain.

public interface
WebHandler

Contract to handle a web request.

public interface
WebSession

Main contract for using a server-side session that provides access to session attributes across HTTP requests.

Class Summary

Modifier and TypeClass and Description
pack-priv class
public class
MethodNotAllowedException

Exception for errors that fit response status 405 (method not allowed).

public class
MissingRequestValueException

ServerWebInputException subclass that indicates a missing request value such as a request header, cookie value, query parameter, etc.

public class
NotAcceptableStatusException

Exception for errors that fit response status 406 (not acceptable).

public class
ResponseStatusException

Subclass of ErrorResponseException that accepts a "reason", and by default maps that to the "detail" of the ProblemDetail.

public class
ServerErrorException

Exception for an HttpStatus#INTERNAL_SERVER_ERROR that exposes extra information about a controller method that failed, or a controller method argument that could not be resolved.

public class
ServerWebExchangeDecorator

A convenient base class for classes that need to wrap another ServerWebExchange.

public class
ServerWebInputException

Exception for errors that fit response status 400 (bad request) for use in Spring Web applications.

public class
UnsatisfiedRequestParameterException

ServerWebInputException subclass that indicates an unsatisfied parameter condition, as typically expressed using an @RequestMapping annotation at the @Controller type level.

public class
UnsupportedMediaTypeStatusException

Exception for errors that fit response status 415 (unsupported media type).