Package org.springframework.web.method.annotation
Support classes for annotation-based handler method processing.
Class Summary Class Description AbstractCookieValueMethodArgumentResolver A base abstract class to resolve method arguments annotated with@CookieValue
.AbstractNamedValueMethodArgumentResolver Abstract base class for resolving method arguments from a named value.AbstractNamedValueMethodArgumentResolver.NamedValueInfo Represents the information about a named value, including name, whether it's required and a default value.AbstractWebArgumentResolverAdapter An abstract base class adapting aWebArgumentResolver
to theHandlerMethodArgumentResolver
contract.ErrorsMethodArgumentResolver ResolvesErrors
method arguments.ExceptionHandlerMethodResolver 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
.ExpressionValueMethodArgumentResolver Resolves method arguments annotated with@Value
.InitBinderDataBinderFactory Adds initialization to a WebDataBinder via@InitBinder
methods.MapMethodProcessor ModelAttributeMethodProcessor Resolve@ModelAttribute
annotated method arguments and handle return values from@ModelAttribute
annotated methods.ModelFactory Assist with initialization of theModel
before controller method invocation and with updates to it after the invocation.ModelMethodProcessor RequestHeaderMapMethodArgumentResolver ResolvesMap
method arguments annotated with@RequestHeader
.RequestHeaderMethodArgumentResolver Resolves method arguments annotated with@RequestHeader
except forMap
arguments.RequestParamMapMethodArgumentResolver ResolvesMap
method arguments annotated with an @RequestParam
where the annotation does not specify a request parameter name.RequestParamMethodArgumentResolver Resolves method arguments annotated with @RequestParam
, arguments of typeMultipartFile
in conjunction with Spring'sMultipartResolver
abstraction, and arguments of typejavax.servlet.http.Part
in conjunction with Servlet 3.0 multipart requests.SessionAttributesHandler Manages controller-specific session attributes declared via@SessionAttributes
.SessionStatusMethodArgumentResolver Resolves aSessionStatus
argument by obtaining it from theModelAndViewContainer
.Exception Summary Exception Description MethodArgumentConversionNotSupportedException A ConversionNotSupportedException raised while resolving a method argument.MethodArgumentTypeMismatchException A TypeMismatchException raised while resolving a controller method argument.