Uses of Interface
org.springframework.web.ErrorResponse
Packages that use ErrorResponse
Package
Description
Common, generic interfaces that define minimal boundary points
between Spring's web infrastructure and other framework modules.
Provides web-specific data binding functionality.
Support classes for web data binding.
Support for asynchronous request processing.
Support classes for annotation-based handler method processing.
Multipart resolution framework for handling file uploads.
Support classes for the multipart resolution framework.
Provides the types that make up Spring's functional web framework for Reactive environments.
Support classes for serving static resources.
Core interfaces and classes for Spring's generic, reactive web support.
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Provides the types that make up Spring's functional web framework for Servlet environments.
Support package for MVC controllers.
Support classes for serving static resources.
-
Uses of ErrorResponse in org.springframework.web
Classes in org.springframework.web that implement ErrorResponseModifier and TypeClassDescriptionclassRuntimeExceptionthat implementsErrorResponseto expose an HTTP status, response headers, and a body formatted as an RFC 7807ProblemDetail.classAbstract base for exceptions related to media types.classException thrown when the request handler cannot generate a response that is acceptable by the client.classException thrown when a client POSTs, PUTs, or PATCHes content of a type not supported by request handler.classException thrown when a request handler does not support a specific request method.Methods in org.springframework.web that return ErrorResponseModifier and TypeMethodDescriptionErrorResponse.Builder.build()Build theErrorResponseinstance.default ErrorResponseErrorResponse.Builder.build(MessageSource messageSource, Locale locale) Build theErrorResponseinstance and also resolve the "detail" and "title" through the givenMessageSource.static ErrorResponseErrorResponse.create(Throwable ex, HttpStatusCode statusCode, String detail) Static factory method to build an instance viabuilder(Throwable, HttpStatusCode, String). -
Uses of ErrorResponse in org.springframework.web.bind
Classes in org.springframework.web.bind that implement ErrorResponseModifier and TypeClassDescriptionclassException to be thrown when validation on an argument annotated with@Validfails.classServletRequestBindingExceptionsubclass that indicates that a matrix variable expected in the method parameters of an@RequestMappingmethod is not present among the matrix variables extracted from the URL.classServletRequestBindingExceptionsubclass that indicates that a path variable expected in the method parameters of an@RequestMappingmethod is not present among the URI variables extracted from the URL.classServletRequestBindingExceptionsubclass that indicates that a request cookie expected in the method parameters of an@RequestMappingmethod is not present.classServletRequestBindingExceptionsubclass that indicates that a request header expected in the method parameters of an@RequestMappingmethod is not present.classBase class forServletRequestBindingExceptionexceptions that could not bind because the request value is required but is either missing or otherwise resolves tonullafter conversion.classServletRequestBindingExceptionsubclass that indicates a missing parameter.classFatal binding exception, thrown when we want to treat binding exceptions as unrecoverable.classServletRequestBindingExceptionsubclass that indicates an unsatisfied parameter condition, as typically expressed using an@RequestMappingannotation at the@Controllertype level. -
Uses of ErrorResponse in org.springframework.web.bind.support
Classes in org.springframework.web.bind.support that implement ErrorResponseModifier and TypeClassDescriptionclassServerWebInputExceptionsubclass that indicates a data binding or validation failure. -
Uses of ErrorResponse in org.springframework.web.context.request.async
Classes in org.springframework.web.context.request.async that implement ErrorResponseModifier and TypeClassDescriptionclassException to be thrown when an async request times out. -
Uses of ErrorResponse in org.springframework.web.method.annotation
Classes in org.springframework.web.method.annotation that implement ErrorResponseModifier and TypeClassDescriptionclassResponseStatusExceptionthat is alsoMethodValidationResult. -
Uses of ErrorResponse in org.springframework.web.multipart
Classes in org.springframework.web.multipart that implement ErrorResponseModifier and TypeClassDescriptionclassMultipartException subclass thrown when an upload exceeds the maximum upload size allowed. -
Uses of ErrorResponse in org.springframework.web.multipart.support
Classes in org.springframework.web.multipart.support that implement ErrorResponseModifier and TypeClassDescriptionclassSignals the part of a "multipart/form-data" request, identified by name could not be found. -
Uses of ErrorResponse in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server with parameters of type ErrorResponseModifier and TypeMethodDescriptionstatic reactor.core.publisher.Mono<ServerResponse>ServerResponse.from(ErrorResponse response) Create aServerResponsefrom the givenErrorResponse. -
Uses of ErrorResponse in org.springframework.web.reactive.resource
Classes in org.springframework.web.reactive.resource that implement ErrorResponseModifier and TypeClassDescriptionclassRaised whenResourceWebHandleris mapped to the request but can not find a matching resource. -
Uses of ErrorResponse in org.springframework.web.server
Classes in org.springframework.web.server that implement ErrorResponseModifier and TypeClassDescriptionclassException for errors that fit response status 405 (method not allowed).classServerWebInputExceptionsubclass that indicates a missing request value such as a request header, cookie value, query parameter, etc.classException for errors that fit response status 406 (not acceptable).classSubclass ofErrorResponseExceptionthat accepts a "reason", and by default maps that to the"detail"of theProblemDetail.classException for anHttpStatus.INTERNAL_SERVER_ERRORthat exposes extra information about a controller method that failed, or a controller method argument that could not be resolved.classException for errors that fit response status 400 (bad request) for use in Spring Web applications.classServerWebInputExceptionsubclass that indicates an unsatisfied parameter condition, as typically expressed using an@RequestMappingannotation at the@Controllertype level.classException for errors that fit response status 415 (unsupported media type). -
Uses of ErrorResponse in org.springframework.web.servlet
Classes in org.springframework.web.servlet that implement ErrorResponseModifier and TypeClassDescriptionclassBy default, when the DispatcherServlet can't find a handler for a request it sends a 404 response. -
Uses of ErrorResponse in org.springframework.web.servlet.function
Methods in org.springframework.web.servlet.function with parameters of type ErrorResponseModifier and TypeMethodDescriptionstatic ServerResponseServerResponse.from(ErrorResponse response) Create aServerResponsefrom the givenErrorResponse. -
Uses of ErrorResponse in org.springframework.web.servlet.mvc.support
Methods in org.springframework.web.servlet.mvc.support with parameters of type ErrorResponseModifier and TypeMethodDescriptionprotected ModelAndViewDefaultHandlerExceptionResolver.handleErrorResponse(ErrorResponse errorResponse, HttpServletRequest request, HttpServletResponse response, Object handler) Handle anErrorResponseexception. -
Uses of ErrorResponse in org.springframework.web.servlet.resource
Classes in org.springframework.web.servlet.resource that implement ErrorResponseModifier and TypeClassDescriptionclassRaised whenResourceHttpRequestHandlercan not find a resource.