Package org.springframework.web
@NullMarked
package org.springframework.web
Common, generic interfaces that define minimal boundary points
between Spring's web infrastructure and other framework modules.
-
ClassDescriptionRepresentation of a complete RFC 9457 error response including status, headers, and an RFC 9457 formatted
ProblemDetail
body.Builder for anErrorResponse
.Callback to perform an action before an RFC-9457ProblemDetail
response is rendered.RuntimeException
that implementsErrorResponse
to expose an HTTP status, response headers, and a body formatted as an RFC 9457ProblemDetail
.Abstract base for exceptions related to media types.Exception thrown when the request handler cannot generate a response that is acceptable by the client.Exception thrown when a client POSTs, PUTs, or PATCHes content of a type not supported by request handler.Plain handler interface for components that process HTTP requests, analogous to a Servlet.Exception thrown when a request handler does not support a specific request method.Exception thrown when an HTTP request handler requires a pre-existing session.A Spring-providedServletContainerInitializer
designed to support code-based configuration of the servlet container using Spring'sWebApplicationInitializer
SPI as opposed to (or possibly in combination with) the traditionalweb.xml
-based approach.Interface to be implemented in Servlet environments in order to configure theServletContext
programmatically -- as opposed to (or possibly in conjunction with) the traditionalweb.xml
-based approach.