Package org.springframework.web.server
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 Interface Description ServerWebExchange Contract for an HTTP request-response interaction.ServerWebExchange.Builder Builder for mutating an existingServerWebExchange
.WebExceptionHandler Contract for handling exceptions during web server exchange processing.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.WebFilterChain Contract to allow aWebFilter
to delegate to the next in the chain.WebHandler Contract to handle a web request.WebSession Main contract for using a server-side session that provides access to session attributes across HTTP requests.Class Summary Class Description ServerWebExchangeDecorator A convenient base class for classes that need to wrap anotherServerWebExchange
.Exception Summary Exception Description MediaTypeNotSupportedStatusException Deprecated. in favor ofUnsupportedMediaTypeStatusException
, with this class never thrown by Spring code and to be removed in 5.3MethodNotAllowedException Exception for errors that fit response status 405 (method not allowed).NotAcceptableStatusException Exception for errors that fit response status 406 (not acceptable).ResponseStatusException Base class for exceptions associated with specific HTTP response status codes.ServerErrorException Exception for anHttpStatus.INTERNAL_SERVER_ERROR
that exposes extra information about a controller method that failed, or a controller method argument that could not be resolved.ServerWebInputException Exception for errors that fit response status 400 (bad request) for use in Spring Web applications.UnsupportedMediaTypeStatusException Exception for errors that fit response status 415 (unsupported media type).