Package org.springframework.web.server
@NonNullApi
@NonNullFields
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.-
ClassDescriptionException for errors that fit response status 405 (method not allowed).
ServerWebInputException
subclass that indicates a missing request value such as a request header, cookie value, query parameter, etc.Exception for errors that fit response status 406 (not acceptable).Exception for errors that fit response status 413 (payload too large) for use in Spring Web applications.Subclass ofErrorResponseException
that accepts a "reason", and by default maps that to the"detail"
of theProblemDetail
.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.Contract for an HTTP request-response interaction.Builder for mutating an existingServerWebExchange
.A convenient base class for classes that need to wrap anotherServerWebExchange
.Exception for errors that fit response status 400 (bad request) for use in Spring Web applications.ServerWebInputException
subclass that indicates an unsatisfied parameter condition, as typically expressed using an@RequestMapping
annotation at the@Controller
type level.Exception for errors that fit response status 415 (unsupported media type).Contract for handling exceptions during web server exchange processing.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.Contract to allow aWebFilter
to delegate to the next in the chain.Contract to handle a web request.Main contract for using a server-side session that provides access to session attributes across HTTP requests.