Package org.springframework.web.method.annotation
@NonNullApi
@NonNullFields
package org.springframework.web.method.annotation
Support classes for annotation-based handler method processing.
-
ClassDescriptionA base abstract class to resolve method arguments annotated with
@CookieValue
.Abstract base class for resolving method arguments from a named value.Represents the information about a named value, including name, whether it's required and a default value.An abstract base class adapting aWebArgumentResolver
to theHandlerMethodArgumentResolver
contract.ResolvesErrors
method arguments.Discovers @ExceptionHandler methods in a given class, including all of its superclasses, and helps to resolve a givenException
to the exception types supported by a givenMethod
.Resolves method arguments annotated with@Value
.ResponseStatusException
that is alsoMethodValidationResult
.Contract to handle validation results with callbacks by controller method parameter type, withHandlerMethodValidationException.Visitor.other(org.springframework.validation.method.ParameterValidationResult)
serving as the fallthrough.MethodValidator
that uses Bean Validation to validate@RequestMapping
method arguments.Adds initialization to a WebDataBinder via@InitBinder
methods.A ConversionNotSupportedException raised while resolving a method argument.A TypeMismatchException raised while resolving a controller method argument.Resolve@ModelAttribute
annotated method arguments and handle return values from@ModelAttribute
annotated methods.Assist with initialization of theModel
before controller method invocation and with updates to it after the invocation.ResolvesMap
method arguments annotated with@RequestHeader
.Resolves method arguments annotated with@RequestHeader
except forMap
arguments.ResolvesMap
method arguments annotated with an @RequestParam
where the annotation does not specify a request parameter name.Resolves method arguments annotated with @RequestParam
, arguments of typeMultipartFile
in conjunction with Spring'sMultipartResolver
abstraction, and arguments of typejakarta.servlet.http.Part
in conjunction with Servlet multipart requests.Manages controller-specific session attributes declared via@SessionAttributes
.Resolves aSessionStatus
argument by obtaining it from theModelAndViewContainer
.